1 2012-11-04 00:01:09 maaku has joined
2 2012-11-04 00:08:17 vampireb has quit (Quit: Lost terminal)
3 2012-11-04 00:15:44 maaku has quit (Quit: maaku)
4 2012-11-04 00:19:14 conman has joined
5 2012-11-04 00:24:44 Apexseals has quit (Read error: Connection reset by peer)
6 2012-11-04 00:25:29 Apexseals has joined
7 2012-11-04 00:38:15 AlexWaters has quit (Remote host closed the connection)
8 2012-11-04 00:41:18 datagutt has quit (Quit: Computer has gone to sleep.)
9 2012-11-04 00:41:40 test_ has joined
10 2012-11-04 00:41:45 test_ has quit (Client Quit)
11 2012-11-04 00:44:15 AlexWaters has joined
12 2012-11-04 00:44:31 tucenaber has joined
13 2012-11-04 01:04:37 Gladamas has joined
14 2012-11-04 01:16:47 tucenaber has quit (Read error: Operation timed out)
15 2012-11-04 01:17:16 tucenaber has joined
16 2012-11-04 01:19:56 jercos has quit (Ping timeout: 260 seconds)
17 2012-11-04 01:20:18 denisx has quit (Quit: denisx)
18 2012-11-04 01:27:25 jercos has joined
19 2012-11-04 01:31:44 theorbtwo has quit (Remote host closed the connection)
20 2012-11-04 01:32:06 theorbtwo has joined
21 2012-11-04 01:37:37 one_zero has joined
22 2012-11-04 01:49:32 dparrish has quit (Ping timeout: 240 seconds)
23 2012-11-04 01:50:36 dparrish has joined
24 2012-11-04 01:50:36 dparrish has quit (Changing host)
25 2012-11-04 01:50:36 dparrish has joined
26 2012-11-04 01:58:13 denisx has joined
27 2012-11-04 02:11:16 Hasimir has quit (Quit: Vidi, Vici, Veni.)
28 2012-11-04 02:11:17 Guest50199 has quit (Changing host)
29 2012-11-04 02:11:17 Guest50199 has joined
30 2012-11-04 02:11:19 Guest50199 is now known as jgarzik
31 2012-11-04 02:11:44 <jgarzik> IRC, IRC, why dost thou suck?
32 2012-11-04 02:11:54 <jgarzik> and why do we continue to use it?
33 2012-11-04 02:12:41 <forsetifox> It's better than Google+ hangouts? =P
34 2012-11-04 02:14:54 <kjj_> what don't you like about IRC?
35 2012-11-04 02:19:40 <Luke-Jr> jgarzik: none of the good clients support XMPP MUC yet
36 2012-11-04 02:20:27 <gmaxwell> Highly limited message size. Non-existant confidentiality. Unstable spanning tree connection model. Poorly integrated credentials/authentication/access control.
37 2012-11-04 02:20:56 unknown45682 has joined
38 2012-11-04 02:21:09 <gmaxwell> The only good thing to say about IRC is that the protocol doesnt use XML. :P (well and the software is mature, easily written, and its not flooded with total idiots by some dumb luck of history and just being user unfriendly enough)
39 2012-11-04 02:26:33 <Luke-Jr> gmaxwell: Atlas.
40 2012-11-04 02:28:36 cosmo has quit (Remote host closed the connection)
41 2012-11-04 02:30:02 paraipan has quit (Remote host closed the connection)
42 2012-11-04 02:36:11 RainbowDashh has quit (Ping timeout: 252 seconds)
43 2012-11-04 02:39:28 RainbowDashh has joined
44 2012-11-04 02:52:23 Zarutian has quit (Quit: Zarutian)
45 2012-11-04 02:55:07 RainbowDashh has quit (Ping timeout: 276 seconds)
46 2012-11-04 02:57:07 RainbowDashh has joined
47 2012-11-04 02:57:09 RainbowDashh has quit (Changing host)
48 2012-11-04 02:57:09 RainbowDashh has joined
49 2012-11-04 03:01:36 RainbowDashh has quit (Ping timeout: 252 seconds)
50 2012-11-04 03:09:26 d4de_ is now known as d4de
51 2012-11-04 03:10:08 <conman> meh recreating the steps to build a block header on the wiki does not explain when to swap bytes or endianness
52 2012-11-04 03:10:26 aq83 has joined
53 2012-11-04 03:10:52 andrew12 has joined
54 2012-11-04 03:12:20 <conman> makes it impossible to just follow the directions as a meaningful document
55 2012-11-04 03:12:57 <jgarzik> IRC has momentum gained from easy to code protocol and motivated admins. The modern IRC servers are quite DDoS hardened.
56 2012-11-04 03:13:12 Apexseals has quit (Ping timeout: 255 seconds)
57 2012-11-04 03:13:18 <jgarzik> conman: uint32_t are little endian. uint256 is memcmp() identical to SHA output.
58 2012-11-04 03:13:30 <conman> ?
59 2012-11-04 03:13:55 <conman> so in the block header generation, version is LE for example?
60 2012-11-04 03:13:56 <jgarzik> conman: you were talking about building a block header, and endianness
61 2012-11-04 03:13:58 <Diablo-D3> conman: bitcoin is broken, it uses little endian
62 2012-11-04 03:14:00 <conman> yes
63 2012-11-04 03:14:22 Apexseals has joined
64 2012-11-04 03:14:37 <conman> and prevblockhash ?
65 2012-11-04 03:14:37 <jgarzik> conman: all 32-bit fields are little endian integers: nVersion, nBits, nNonce, nTime
66 2012-11-04 03:14:50 <jgarzik> conman: memcmp() identical to SHA output
67 2012-11-04 03:14:54 <conman> ah that helps
68 2012-11-04 03:15:03 <Diablo-D3> jgarzik: yeah except
69 2012-11-04 03:15:23 <Diablo-D3> jgarzik: its supposed to be a 256 big number
70 2012-11-04 03:15:28 <conman> jgarzik, but the sample here shows the output of previousblockhash when included in the block header is reversed?
71 2012-11-04 03:15:36 <conman> https://en.bitcoin.it/wiki/Getblocktemplate#For_developers
72 2012-11-04 03:16:35 <conman> previousblockhash starts with 00000s
73 2012-11-04 03:16:42 andrew12 is now known as indecisive
74 2012-11-04 03:16:44 <jgarzik> conman: if you must convert the binary data of a uint256 (like prevBlockHash) to a hexidecimal string, then you need something like... https://github.com/jgarzik/picocoin/blob/master/lib/buint.c#L48
75 2012-11-04 03:16:46 <conman> and when included later on to generate a block header, i'ts swapped
76 2012-11-04 03:17:06 <conman> I know how to convert, I just see no mention of *what* needs to be converted
77 2012-11-04 03:17:29 <conman> in the part how to build block header, only the version and curtime seem to be endian encoded back to LE
78 2012-11-04 03:17:36 <etotheipi_> conman... even if you think you got it right, you'll end up getting it wrong and trying every combination anyway
79 2012-11-04 03:17:41 <etotheipi_> might was well get started :)
80 2012-11-04 03:17:54 <conman> etotheipi_, I already have, that's why I'm now sick of rolling things around
81 2012-11-04 03:17:58 <jgarzik> conman: the native binary format is the native binary format. nothing needs to be converted. if converting binary to hex string, you swap 32-bit across 256-bit integer _and_ swap bytes within each 32-bit
82 2012-11-04 03:18:06 <etotheipi_> lol, well I've been there, too
83 2012-11-04 03:18:14 <jgarzik> conman: as the link demonstrates
84 2012-11-04 03:18:18 <conman> jgarzik, but
85 2012-11-04 03:18:31 <conman> the block heaader example below shows a now byteswapped prevblockhash
86 2012-11-04 03:18:52 <conman> "previousblockhash": "000000004d424dec1c660a68456b8271d09628a80cc62583e5904f5894a2483c"
87 2012-11-04 03:19:16 <conman> but there's no mention of that in
88 2012-11-04 03:19:21 <conman> binascii.a2b_hex(template['previousblockhash']) +
89 2012-11-04 03:19:42 <conman> or does a2b_hex do that??
90 2012-11-04 03:20:00 <jgarzik> conman: " if converting binary to hex string, you swap 32-bit across 256-bit integer _and_ swap bytes within each 32-bit"
91 2012-11-04 03:20:05 <jgarzik> conman: you are looking at a hex string
92 2012-11-04 03:20:07 <jgarzik> thus...
93 2012-11-04 03:20:09 Apexseals has quit (Ping timeout: 245 seconds)
94 2012-11-04 03:20:11 <conman> thus?
95 2012-11-04 03:20:25 <conman> I see
96 2012-11-04 03:20:32 <jgarzik> conman: thus perform the swaps described :)
97 2012-11-04 03:20:37 <conman> ok what about the transactions?
98 2012-11-04 03:20:41 <jgarzik> conman: hex string != native format
99 2012-11-04 03:20:46 <jgarzik> conman: hex string == swapped
100 2012-11-04 03:20:49 <conman> ok
101 2012-11-04 03:20:53 Apexseals has joined
102 2012-11-04 03:20:56 <conman> and t he transactions are transmitted as hex
103 2012-11-04 03:21:25 <jgarzik> conman: yes, a different hex too ;p
104 2012-11-04 03:21:35 <jgarzik> conman: just straight byte-for-byte hex decode, no swapping
105 2012-11-04 03:21:35 <conman> so what do I do with those? swap them or can I just feed them as binary versions of the hex?
106 2012-11-04 03:21:44 <conman> gah see this is what I mean lol
107 2012-11-04 03:21:46 Apexseals has quit (Client Quit)
108 2012-11-04 03:21:51 <conman> different rules...
109 2012-11-04 03:22:02 Apexseals has joined
110 2012-11-04 03:22:14 <jgarzik> conman: raw data is decoded without swapping, a la https://github.com/jgarzik/picocoin/blob/master/lib/hexcode.c#L36
111 2012-11-04 03:22:26 <jgarzik> conman: the transaction raw data falls into that category
112 2012-11-04 03:22:31 <conman> ok
113 2012-11-04 03:22:39 <conman> time to start flipping shit again
114 2012-11-04 03:22:45 <conman> oh and while you're here
115 2012-11-04 03:22:48 <jgarzik> conman: "uint256" is a unique bitcoin concept, with unique binary and hexidecimal string encodings
116 2012-11-04 03:22:56 <jgarzik> conman: prevblockhash is uint256
117 2012-11-04 03:22:58 <Diablo-D3> unique? broken
118 2012-11-04 03:23:03 <Diablo-D3> text hex is _backwards_
119 2012-11-04 03:23:12 <Diablo-D3> its broken and wrong and a bug
120 2012-11-04 03:23:16 <jgarzik> Diablo-D3: blah blah blah
121 2012-11-04 03:23:29 <Diablo-D3> and you cant argue otherwise, because it is text readable for humans and we sure as hell dont write that way
122 2012-11-04 03:23:38 <Diablo-D3> its a 12 thousand year old spec, comply.
123 2012-11-04 03:23:52 <jgarzik> I can. And have. No interest in repeating old text.
124 2012-11-04 03:24:13 <conman> jgarzik, when creating a block submission it says I can omit the transactions if I don't *modify* them, but do I need to still add the number of transactions into the block data?
125 2012-11-04 03:24:27 <conman> blkdata = blkheader + varintEncode(len(txnlist)) + coinbase
126 2012-11-04 03:24:46 <conman> should len(txnlist) read 0 ?
127 2012-11-04 03:28:52 freakazoid has joined
128 2012-11-04 03:31:01 <jgarzik> conman: Are we talking about GBT's submitblock? https://en.bitcoin.it/wiki/BIP_0023 seems to indicate that actions like that are "implied if 'transactions' omitted from result" Which also seems to imply that the transaction list should be sent separately from the block header.
129 2012-11-04 03:31:31 <conman> that is what I'm talking about
130 2012-11-04 03:31:52 <conman> it implies that if you take the transactions as is from the server without modifying the list, you need not resubmit them
131 2012-11-04 03:32:10 tucenaber has quit (Ping timeout: 276 seconds)
132 2012-11-04 03:32:10 <conman> however it doesn't say what you should do to the transaction count in the blockdata
133 2012-11-04 03:33:07 <jgarzik> conman: do you mind if I curse, a bit?
134 2012-11-04 03:33:36 RainbowDashh has joined
135 2012-11-04 03:34:09 <conman> please do
136 2012-11-04 03:34:21 <conman> but get in line, cause I've been doing so for a while...
137 2012-11-04 03:35:16 <conman> so I'm going to assume that coinbasetxn is raw data as well and needs no bytefucking
138 2012-11-04 03:35:19 <jgarzik> conman: Fucking BIP 23 is a fucking dizzying array of fucking shite about mutations and proposals and it sure as shit is not clear to me from https://en.bitcoin.it/wiki/BIP_0023 what the fuck the simple game plan is for miners
139 2012-11-04 03:35:31 <conman> thank you!
140 2012-11-04 03:35:34 <forsetifox> Heh.
141 2012-11-04 03:35:46 <conman> that's what I've been saying for a month on the forums
142 2012-11-04 03:36:44 <jgarzik> conman: It's a bunch of shit from the brain of luke-jr that makes sense to luke-jr, works great in luke-jr's code, with little outside review because it's so dizzying and confusing
143 2012-11-04 03:37:05 <conman> well you no doubt know how I feel about that
144 2012-11-04 03:37:22 <gmaxwell> It's 1/4th the size it was originally!
145 2012-11-04 03:37:23 denisx has quit (Quit: denisx)
146 2012-11-04 03:37:28 <jgarzik> conman: shite was stripped from BIP 22 (GBT basics) for the bitcoind implementation by myself, because the original version made me puke with the complexity
147 2012-11-04 03:38:11 <conman> haha I tried to come here to not get angry about the protocol and complain like I feel like doing, and ask for help, but instead someone else complains for me lol
148 2012-11-04 03:38:15 <gmaxwell> oh 23. 23 the dumping bin.
149 2012-11-04 03:38:21 <jgarzik> precisely
150 2012-11-04 03:38:26 <jgarzik> 23 became the dumping bin
151 2012-11-04 03:38:32 <gmaxwell> But you shouldnt be angry, the missing component from 23 is review. Which you're providing.
152 2012-11-04 03:38:42 <conman> "it's shit, throw it out"
153 2012-11-04 03:38:44 <conman> enough
154 2012-11-04 03:39:34 <gmaxwell> _some_ rare people can write a really excellent spec whole cloth without even review... sometimes. But most humans need some other eyes. The stuff that was pulled from 22 was largely pulled becuase at the time no one wanted to even review it.
155 2012-11-04 03:39:51 <jgarzik> BIP 22 hammers out what solo miners and p2pool needs
156 2012-11-04 03:40:19 <jgarzik> BIP 23 should hammer out what conman and friends need
157 2012-11-04 03:40:52 <jgarzik> paraphrasing a military saying, "no spec survives first contact with the userbase"
158 2012-11-04 03:40:53 RainbowDashh has quit (Ping timeout: 268 seconds)
159 2012-11-04 03:41:17 <conman> sigh maybe I should just make my stance by not supporting it at all now that I've got stratum support in
160 2012-11-04 03:41:45 <gmaxwell> conman: or just go cooperate with luke some to get the non-clarity hammered out.
161 2012-11-04 03:41:54 <conman> gmaxwell, you ask the impossible
162 2012-11-04 03:42:02 <jgarzik> It is a fair point that luke-jr (and gmaxwell) makes, about privacy and control.
163 2012-11-04 03:42:05 <conman> he is the sole individual on the internet I refuse to talk to
164 2012-11-04 03:42:31 <gmaxwell> It won't kill you. You've already dont the hard part of identifying about of it. I didn't say argue with him about his goals, just point out where the document is jibberish. He'll fix it.
165 2012-11-04 03:43:00 <gmaxwell> conman: If you can cope with Kano you can cope with luke. :P
166 2012-11-04 03:43:17 <gmaxwell> s/dont/done/
167 2012-11-04 03:43:27 <conman> seriously they're nothing like each other
168 2012-11-04 03:43:47 <conman> one gets worked up over tiny things, the other is a narcissistic megalomaniac
169 2012-11-04 03:44:07 <Luke-Jr> "the total number of transactions encoded in Bitcoin variable length number format" was in BIP 23 until "Format of Data for Merkle-Only Shares", but I'll add it to the other part less than a page up tooâ¦
170 2012-11-04 03:44:11 fiesh_ has joined
171 2012-11-04 03:44:13 fiesh has quit (Read error: Operation timed out)
172 2012-11-04 03:44:51 indecisive is now known as andrew12
173 2012-11-04 03:45:14 RainbowDashh has joined
174 2012-11-04 03:45:15 RainbowDashh has quit (Changing host)
175 2012-11-04 03:45:15 RainbowDashh has joined
176 2012-11-04 03:46:17 <jgarzik> BIP 23 should (a) provide a way to mine without transiting the TX's in the block, and (b) illustrate this with examples somewhere :)
177 2012-11-04 03:46:35 <jgarzik> maybe luke-jr's http://gitorious.org/bitcoin/libblkmaker has examples?
178 2012-11-04 03:47:15 <conman> trying to avoid jesus taint
179 2012-11-04 03:48:08 <conman> I'll just fuck around with some more byte swapping for now and then try random shit till it works
180 2012-11-04 03:48:53 <conman> thanks jgarzik
181 2012-11-04 03:53:38 RainbowDashh has quit (Ping timeout: 255 seconds)
182 2012-11-04 03:53:56 moop has joined
183 2012-11-04 03:54:21 Zarutian has joined
184 2012-11-04 03:55:22 RainbowDashh has joined
185 2012-11-04 03:56:17 m00p has quit (Ping timeout: 260 seconds)
186 2012-11-04 04:01:58 <conman> funny thing is slush decided to encode everything in stratum as BE in hex :P
187 2012-11-04 04:07:43 <Diablo-D3> good for him
188 2012-11-04 04:08:04 <conman> fuck of a lot easier to read
189 2012-11-04 04:08:59 <conman> though I'm wondering how gbt headers can start with 02000000 and stratum with 0000002 and still work...
190 2012-11-04 04:13:19 <jgarzik> BE is easier to read, and wonderfully non-native for 99% of the userbase ;p
191 2012-11-04 04:13:51 Z0rZ0rZ0r has joined
192 2012-11-04 04:14:16 * Luke-Jr wonders how conman implemented stratum without knowing stratum headers start with 01000000 O.
193 2012-11-04 04:14:18 <Luke-Jr> O.o
194 2012-11-04 04:15:32 diki has quit (Ping timeout: 240 seconds)
195 2012-11-04 04:15:48 <conman> cause be32toh() is so hard to use...
196 2012-11-04 04:16:11 <conman> d:
197 2012-11-04 04:16:21 Z0rZ0rZ0r1 has quit (Ping timeout: 260 seconds)
198 2012-11-04 04:17:22 <Diablo-D3> well, theres also another thing
199 2012-11-04 04:17:32 <Diablo-D3> 99% of the time you dont HAVE to flip endian
200 2012-11-04 04:17:43 <Diablo-D3> and generally if you do, you're doing something wrong
201 2012-11-04 04:17:47 <jgarzik> because our ints are LE, agreed
202 2012-11-04 04:18:17 <Diablo-D3> no, even if you operate in NE all the time
203 2012-11-04 04:18:27 <Diablo-D3> the problem here is merely text.
204 2012-11-04 04:19:14 <jgarzik> and nVersion and nTime and nBits etc, etc. That is not merely text. Bitcoin is fixed endian-LE.
205 2012-11-04 04:19:42 Cory has quit (Ping timeout: 252 seconds)
206 2012-11-04 04:20:01 <Luke-Jr> jgarzik: well, nBits isn't any simple endian, it's more of a custom floating-point type
207 2012-11-04 04:21:08 ForceMajeure has joined
208 2012-11-04 04:22:02 <Diablo-D3> jgarzik: maybe.
209 2012-11-04 04:22:02 <jgarzik> The "nBits" field in the CBlock header is most definitely 32-bit little endian, no matter what it may expand to.
210 2012-11-04 04:22:15 <Diablo-D3> what is the nBits field?
211 2012-11-04 04:22:28 <jgarzik> Diablo-D3: fired
212 2012-11-04 04:23:40 Cory has joined
213 2012-11-04 04:24:38 <Diablo-D3> thats the diff field, right?
214 2012-11-04 04:25:05 <Diablo-D3> theres no reason endian should ever be a problem with that since its just a uint32_t
215 2012-11-04 04:25:12 <Diablo-D3> assuming bitcoin's code is correct
216 2012-11-04 04:25:52 <Luke-Jr> jgarzik: just because bitcoind interprets it as little endian then processes that doesn't change the fact that's just an implementation choice and not inherent in the encoding
217 2012-11-04 04:26:43 <Diablo-D3> jgarzik: how does bitcoin output ints?
218 2012-11-04 04:26:52 <Diablo-D3> does it just output them, or does it properly sequence them as a byte array?
219 2012-11-04 04:27:09 <gmaxwell> sort of inherent for anything that gets hashed!
220 2012-11-04 04:27:33 <Diablo-D3> gmaxwell: that doesnt answer the question
221 2012-11-04 04:29:50 <Diablo-D3> because if I have a NE byte stream, I can do x = (stream[3] << 0) | (stream[2] << 8) | (stream[1] << 16) | (stream[0] << 24); on EITHER endian cpu and it will be correct
222 2012-11-04 04:30:47 <gmaxwell> ...
223 2012-11-04 04:33:53 <jgarzik> Luke-Jr: Incorrect. It is fixed in stone at this point.
224 2012-11-04 04:34:01 RainbowDashh has quit (Ping timeout: 265 seconds)
225 2012-11-04 04:34:13 <Luke-Jr> jgarzik: it's a custom floating-point number.
226 2012-11-04 04:34:30 <Diablo-D3> gmaxwell: what?
227 2012-11-04 04:34:42 <Diablo-D3> seriously, Ive never looked at how the protocol code looks
228 2012-11-04 04:34:54 <Diablo-D3> I want to believe it was coded correctly, but I kind of doubt it was =/
229 2012-11-04 04:37:39 <jgarzik> Bitcoin was coded as native endian, with 100% of the userbase using little endian. Due to hashing, it was therefore fixed at little endian.
230 2012-11-04 04:38:08 <jgarzik> Satoshi stated that was intentional, and never intended to support big endian machines at all. (of course, he was anti-alt-client too...)
231 2012-11-04 04:38:33 RainbowDashh has joined
232 2012-11-04 04:38:35 RainbowDashh has quit (Changing host)
233 2012-11-04 04:38:35 RainbowDashh has joined
234 2012-11-04 04:38:35 TheSeven has quit (Disconnected by services)
235 2012-11-04 04:38:45 [7] has joined
236 2012-11-04 04:38:51 <Diablo-D3> jgarzik: so basically bitcoin is crap
237 2012-11-04 04:39:02 <Diablo-D3> why the fuck are people even writing their own network protocol shit
238 2012-11-04 04:39:05 <Diablo-D3> theres libs for this
239 2012-11-04 04:39:58 Zarutian has quit (Quit: Zarutian)
240 2012-11-04 04:40:39 <jgarzik> uh huh
241 2012-11-04 04:40:53 <conman> heh
242 2012-11-04 04:43:09 RainbowDashh has quit (Ping timeout: 255 seconds)
243 2012-11-04 04:43:40 <jgarzik> man Sergio is all about the DoS roadmap, https://bitcointalk.org/index.php?topic=122013.msg1315781#msg1315781
244 2012-11-04 04:44:42 <gmaxwell> Glad someone is bothering to make such a list.
245 2012-11-04 04:45:20 <gmaxwell> Though it's not a complete one.
246 2012-11-04 04:46:03 <conman> question about variable length integer then
247 2012-11-04 04:46:11 RainbowDashh has joined
248 2012-11-04 04:46:12 <conman> if it's 0xff + uint32_t etc
249 2012-11-04 04:46:17 <conman> is uint32_t LE ?
250 2012-11-04 04:48:31 <conman> I guess so based on the docs
251 2012-11-04 04:48:37 <conman> nm
252 2012-11-04 04:54:04 <copumpkin> it's your native endianness
253 2012-11-04 04:54:19 MC1984 has quit (Ping timeout: 252 seconds)
254 2012-11-04 04:54:19 <Diablo-D3> HA HA, FOOLS, I USE PPC
255 2012-11-04 04:54:19 <copumpkin> you need to call something to adjust it before serializing it
256 2012-11-04 04:54:26 <copumpkin> if you want to be safe
257 2012-11-04 04:54:28 <Diablo-D3> EPIC ENDIANNESS, AMIRITE?!
258 2012-11-04 04:54:54 <copumpkin> totally
259 2012-11-04 04:56:31 * Diablo-D3 puts router on top of powerbook, then tablet on top of router
260 2012-11-04 04:56:41 <Diablo-D3> ACHIEVEMENT UNLOCKED: HOLY TRINITY
261 2012-11-04 04:58:27 gribble has quit (Remote host closed the connection)
262 2012-11-04 04:58:49 gribble has joined
263 2012-11-04 04:59:09 AlexWaters has quit (Ping timeout: 265 seconds)
264 2012-11-04 05:01:04 RainbowDashh has quit (Ping timeout: 268 seconds)
265 2012-11-04 05:03:57 RainbowDashh has joined
266 2012-11-04 05:09:00 <jgarzik> conman: https://github.com/jgarzik/picocoin/blob/master/lib/serialize.c#L137
267 2012-11-04 05:09:34 <jgarzik> conman: the u16 and u32 inputs are little endian, yes
268 2012-11-04 05:10:14 maaku has joined
269 2012-11-04 05:11:21 <conman> thanks
270 2012-11-04 05:14:07 maaku has quit (Client Quit)
271 2012-11-04 05:14:13 <jgarzik> conman: https://github.com/jgarzik/picocoin/blob/master/lib/core.c uses that lib/serialize.c module, to encode and decode the standard bitcoin data structures into natively-usable data structures.
272 2012-11-04 05:15:16 brwyatt is now known as brwyatt|Away
273 2012-11-04 05:19:09 AlexWaters has joined
274 2012-11-04 05:41:54 <jgarzik> 11/04/12 05:27:18 ERROR: CTxMemPool::accept() : inputs already spent
275 2012-11-04 05:42:00 <jgarzik> wow! it actually caught one.
276 2012-11-04 05:45:37 <weex> was it a large txn?
277 2012-11-04 05:45:59 <weex> can it have been accidental?
278 2012-11-04 05:54:14 <gmaxwell> there are nodes that continually broadcast double spends... just because they did goofy crap with multiple wallet copies and created ones and now have them stuck.
279 2012-11-04 06:12:19 guitsaru has joined
280 2012-11-04 06:14:23 maaku has joined
281 2012-11-04 06:37:29 JZavala has joined
282 2012-11-04 06:47:14 guitsaru has quit (Remote host closed the connection)
283 2012-11-04 06:51:16 maaku has quit (Quit: maaku)
284 2012-11-04 07:05:26 arij has quit (Ping timeout: 244 seconds)
285 2012-11-04 07:13:01 tonikt has joined
286 2012-11-04 07:22:04 MiningBuddy has quit (Read error: No route to host)
287 2012-11-04 07:22:04 emryss has quit (Read error: Connection reset by peer)
288 2012-11-04 07:22:07 MiningBuddy has joined
289 2012-11-04 07:22:07 MiningBuddy has quit (Changing host)
290 2012-11-04 07:22:07 MiningBuddy has joined
291 2012-11-04 07:22:29 emryss has joined
292 2012-11-04 07:38:52 BlackPrapor has joined
293 2012-11-04 07:48:38 moop has quit (Read error: Connection reset by peer)
294 2012-11-04 07:49:13 moop has joined
295 2012-11-04 07:54:00 ovidiusoft has quit (Ping timeout: 255 seconds)
296 2012-11-04 07:56:38 BlackPrapor has quit (Read error: Connection reset by peer)
297 2012-11-04 07:56:54 BlackPrapor has joined
298 2012-11-04 08:05:35 tonikt has quit (Read error: Connection reset by peer)
299 2012-11-04 08:07:48 Apexseals has quit (Remote host closed the connection)
300 2012-11-04 08:08:56 Apexseals has joined
301 2012-11-04 08:44:47 dvide has joined
302 2012-11-04 09:05:48 kreal has joined
303 2012-11-04 09:12:18 leotreasure has joined
304 2012-11-04 09:12:33 RazielZ has joined
305 2012-11-04 09:29:25 Gladamas has quit (Read error: Connection reset by peer)
306 2012-11-04 09:32:55 _flow_ has joined
307 2012-11-04 09:39:00 linkedinyou has joined
308 2012-11-04 09:47:02 ThomasV_ has joined
309 2012-11-04 09:51:15 BlackPrapor has quit (Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/)
310 2012-11-04 10:01:23 PhantomSpark has joined
311 2012-11-04 10:04:37 BlackPrapor has joined
312 2012-11-04 10:07:54 PhantomSpark has quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
313 2012-11-04 10:17:56 CodesInChaos has joined
314 2012-11-04 10:19:46 z310 has left ()
315 2012-11-04 10:32:44 ThomasV_ has quit (Ping timeout: 252 seconds)
316 2012-11-04 10:35:47 Apexseals has quit (Ping timeout: 248 seconds)
317 2012-11-04 10:36:27 Apexseals has joined
318 2012-11-04 10:43:25 ThomasV_ has joined
319 2012-11-04 10:46:38 Varan has joined
320 2012-11-04 10:46:56 <Varan> Has anyone tried to run a bitcoin client on a linksys router?
321 2012-11-04 10:47:53 <Varan> I have a router left over and i thought it might be a good way too generate key/create offline transactions
322 2012-11-04 11:00:42 PhantomSpark has joined
323 2012-11-04 11:03:49 CodesInChaos has quit (Ping timeout: 256 seconds)
324 2012-11-04 11:04:22 yellowhat has quit (Quit: yellowhat)
325 2012-11-04 11:18:39 moop__ has joined
326 2012-11-04 11:21:37 moop has quit (Ping timeout: 252 seconds)
327 2012-11-04 11:23:29 Varan has quit (Quit: Leaving)
328 2012-11-04 11:27:56 MiningBuddy has quit (Remote host closed the connection)
329 2012-11-04 11:33:40 PhantomSpark has quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
330 2012-11-04 11:35:23 tucenaber has joined
331 2012-11-04 11:43:24 kreal has quit ()
332 2012-11-04 11:47:12 yellowhat has joined
333 2012-11-04 11:50:43 PhantomSpark has joined
334 2012-11-04 11:52:44 paraipan has joined
335 2012-11-04 11:53:34 pnicholson has quit (Read error: Connection reset by peer)
336 2012-11-04 11:53:49 pnicholson has joined
337 2012-11-04 12:03:07 diki has joined
338 2012-11-04 12:24:58 datagutt has joined
339 2012-11-04 12:47:54 RazielZ has quit (Quit: Leaving)
340 2012-11-04 12:52:03 tonikt has joined
341 2012-11-04 12:57:33 RazielZ has joined
342 2012-11-04 12:57:56 ovidiusoft has joined
343 2012-11-04 13:01:00 BlackPrapor has quit (Ping timeout: 246 seconds)
344 2012-11-04 13:04:49 ibno has joined
345 2012-11-04 13:10:41 ThomasV_ has quit (Ping timeout: 276 seconds)
346 2012-11-04 13:12:34 Descry has joined
347 2012-11-04 13:12:48 Descry has quit (Client Quit)
348 2012-11-04 13:14:10 kreal has joined
349 2012-11-04 13:24:46 bitcoinz has quit (Remote host closed the connection)
350 2012-11-04 13:26:37 conman has quit (Ping timeout: 256 seconds)
351 2012-11-04 13:27:26 bitcoinz has joined
352 2012-11-04 13:31:33 veeminer has joined
353 2012-11-04 13:33:12 meLon has joined
354 2012-11-04 13:33:12 meLon has quit (Changing host)
355 2012-11-04 13:33:12 meLon has joined
356 2012-11-04 13:39:26 conman has joined
357 2012-11-04 13:39:52 dvide has quit (Ping timeout: 252 seconds)
358 2012-11-04 13:39:53 slush has joined
359 2012-11-04 13:41:37 one_zero has quit ()
360 2012-11-04 13:42:52 daybyter has joined
361 2012-11-04 13:47:13 conman has quit (Ping timeout: 240 seconds)
362 2012-11-04 13:50:19 CodesInChaos has joined
363 2012-11-04 13:54:50 Zarutian has joined
364 2012-11-04 13:57:19 slush has quit (Ping timeout: 252 seconds)
365 2012-11-04 13:58:59 setkeh has quit (Quit: Love Linux ?? and Sharing Experience ?? Come Join us on Freenode at #linuxdistrocommunity)
366 2012-11-04 13:59:10 setkeh has joined
367 2012-11-04 14:02:53 kreal has quit ()
368 2012-11-04 14:04:23 conman has joined
369 2012-11-04 14:05:01 MC1984 has joined
370 2012-11-04 14:08:30 setkeh` has joined
371 2012-11-04 14:09:58 setkeh has quit (Ping timeout: 260 seconds)
372 2012-11-04 14:11:34 CodeInChaos has joined
373 2012-11-04 14:11:55 agricocb has quit (Quit: Leaving.)
374 2012-11-04 14:14:28 ThomasV_ has joined
375 2012-11-04 14:14:28 CodesInChaos has quit (Ping timeout: 264 seconds)
376 2012-11-04 14:16:18 setkeh` has quit (Quit: Love Linux ?? and Sharing Experience ?? Come Join us on Freenode at #linuxdistrocommunity)
377 2012-11-04 14:16:27 setkeh has joined
378 2012-11-04 14:24:52 BlackPrapor has joined
379 2012-11-04 14:32:36 vazakl- has joined
380 2012-11-04 14:34:03 vazakl has quit (Ping timeout: 256 seconds)
381 2012-11-04 14:36:54 Garr255 has quit (Read error: Connection reset by peer)
382 2012-11-04 14:37:20 Garr255 has joined
383 2012-11-04 14:37:20 Garr255 has quit (Changing host)
384 2012-11-04 14:37:21 Garr255 has joined
385 2012-11-04 14:48:20 PiZZaMaN2K has joined
386 2012-11-04 14:49:50 Lolcust has joined
387 2012-11-04 14:50:58 agricocb has joined
388 2012-11-04 15:06:23 optimator_ has joined
389 2012-11-04 15:07:56 root2_ has joined
390 2012-11-04 15:08:19 optimator has quit (Ping timeout: 248 seconds)
391 2012-11-04 15:09:00 Diapolo has joined
392 2012-11-04 15:12:02 root2 has quit (Ping timeout: 260 seconds)
393 2012-11-04 15:12:35 agricocb has quit (Ping timeout: 256 seconds)
394 2012-11-04 15:13:35 Bart31 has joined
395 2012-11-04 15:14:27 agricocb has joined
396 2012-11-04 15:15:05 JZavala has quit (Remote host closed the connection)
397 2012-11-04 15:15:29 JZavala has joined
398 2012-11-04 15:15:54 daybyter has quit (Quit: Konversation terminated!)
399 2012-11-04 15:18:09 Bart31 has left ()
400 2012-11-04 15:18:20 optimator has joined
401 2012-11-04 15:18:21 optimator has quit (Changing host)
402 2012-11-04 15:18:21 optimator has joined
403 2012-11-04 15:18:33 Apexseals has quit (Ping timeout: 260 seconds)
404 2012-11-04 15:19:18 Apexseals has joined
405 2012-11-04 15:19:58 optimator_ has quit (Ping timeout: 255 seconds)
406 2012-11-04 15:24:28 rdponticelli has quit (Quit: No Ping reply in 180 seconds.)
407 2012-11-04 15:26:31 rdponticelli has joined
408 2012-11-04 15:31:58 Ahimoth has quit (Ping timeout: 260 seconds)
409 2012-11-04 15:32:17 Ahimoth has joined
410 2012-11-04 15:33:46 dvide has joined
411 2012-11-04 15:36:31 Z0rZ0rZ0r has quit (Quit: Wheeeee)
412 2012-11-04 15:40:53 <abrkn> wha
413 2012-11-04 15:41:45 <abrkn> what's a reasonable way to poll the bitcoin rpc to know when money has been received? i was told yesterday that listtransactions may not return transactions sorted
414 2012-11-04 15:44:32 PKS has joined
415 2012-11-04 15:44:57 PKS is now known as Guest20241
416 2012-11-04 15:46:05 Guest20241 has quit (Client Quit)
417 2012-11-04 15:55:51 CodeInChaos is now known as CodesInChaos
418 2012-11-04 15:56:00 freakazoid has quit (Ping timeout: 265 seconds)
419 2012-11-04 15:57:03 freakazoid has joined
420 2012-11-04 15:58:53 Diapolo has left ()
421 2012-11-04 16:03:05 dvide has quit (Ping timeout: 240 seconds)
422 2012-11-04 16:04:33 freakazoid has quit (Ping timeout: 240 seconds)
423 2012-11-04 16:09:00 MiningBuddy has joined
424 2012-11-04 16:09:00 MiningBuddy has quit (Changing host)
425 2012-11-04 16:09:00 MiningBuddy has joined
426 2012-11-04 16:11:26 iliterate has joined
427 2012-11-04 16:17:32 da2ce7 has joined
428 2012-11-04 16:19:42 da2ce7_d has quit (Ping timeout: 260 seconds)
429 2012-11-04 16:23:45 JZavala has quit (Remote host closed the connection)
430 2012-11-04 16:24:26 JZavala has joined
431 2012-11-04 16:54:17 BitcoinBaltar has quit (Ping timeout: 276 seconds)
432 2012-11-04 16:56:05 BitcoinBaltar has joined
433 2012-11-04 16:57:39 maaku has joined
434 2012-11-04 17:02:57 skeledrew has joined
435 2012-11-04 17:05:36 emryss has quit (Ping timeout: 265 seconds)
436 2012-11-04 17:09:25 emryss has joined
437 2012-11-04 17:10:15 arij has joined
438 2012-11-04 17:10:40 arij is now known as Guest86142
439 2012-11-04 17:15:34 tucenaber has quit (Ping timeout: 256 seconds)
440 2012-11-04 17:16:42 brwyatt is now known as Away!~brwyatt@brwyatt.net|brwyatt
441 2012-11-04 17:19:08 linkedinyou has quit (Read error: Connection reset by peer)
442 2012-11-04 17:26:07 Guest86142 has quit (Changing host)
443 2012-11-04 17:26:07 Guest86142 has joined
444 2012-11-04 17:26:26 Guest86142 is now known as arij
445 2012-11-04 17:29:39 <Luke-Jr> abrkn: 0.7.1+ should keep listtransactions in order
446 2012-11-04 17:29:45 <Luke-Jr> not necessarily sorted
447 2012-11-04 17:42:37 emryss has quit (Ping timeout: 255 seconds)
448 2012-11-04 17:46:05 emryss has joined
449 2012-11-04 17:47:35 BitcoinBaltar has quit (Ping timeout: 276 seconds)
450 2012-11-04 17:50:23 BitcoinBaltar has joined
451 2012-11-04 18:03:03 kreal has joined
452 2012-11-04 18:07:57 cypher2045 has quit (Ping timeout: 265 seconds)
453 2012-11-04 18:09:33 Silverion has joined
454 2012-11-04 18:10:05 emryss has quit (Remote host closed the connection)
455 2012-11-04 18:18:47 root2 has joined
456 2012-11-04 18:20:32 freakazoid has joined
457 2012-11-04 18:21:19 gjs278 has quit (Remote host closed the connection)
458 2012-11-04 18:22:53 root2_ has quit (Ping timeout: 264 seconds)
459 2012-11-04 18:30:20 daybyter has joined
460 2012-11-04 18:31:30 freakazoid has quit (Ping timeout: 256 seconds)
461 2012-11-04 18:33:22 maaku has quit (Quit: maaku)
462 2012-11-04 18:34:04 D34TH has joined
463 2012-11-04 18:34:04 D34TH has quit (Changing host)
464 2012-11-04 18:34:04 D34TH has joined
465 2012-11-04 18:34:59 tucenaber has joined
466 2012-11-04 18:45:01 diki has quit (Ping timeout: 244 seconds)
467 2012-11-04 18:45:12 <Diablo-D3> NBC was hacked, LOL: http://www.nbc.com/saturday-night-live/
468 2012-11-04 18:50:38 Apexseals has quit (Read error: Connection reset by peer)
469 2012-11-04 18:50:54 Apexseals has joined
470 2012-11-04 18:55:11 hnz_ has joined
471 2012-11-04 18:57:35 hnz has quit (Ping timeout: 255 seconds)
472 2012-11-04 19:09:37 molecular has quit (Ping timeout: 268 seconds)
473 2012-11-04 19:09:55 rdponticelli has quit (Quit: No Ping reply in 180 seconds.)
474 2012-11-04 19:10:19 freakazoid has joined
475 2012-11-04 19:10:20 molecular has joined
476 2012-11-04 19:11:32 Joric has joined
477 2012-11-04 19:12:35 rdponticelli has joined
478 2012-11-04 19:15:08 asa1024 has quit (Quit: asa1024)
479 2012-11-04 19:16:53 hnz_ is now known as hnz
480 2012-11-04 19:19:03 asa1024 has joined
481 2012-11-04 19:20:27 freakazoid has quit (Ping timeout: 265 seconds)
482 2012-11-04 19:23:39 * kreal 's brains was hacked.
483 2012-11-04 19:33:50 tonikt has quit (Ping timeout: 256 seconds)
484 2012-11-04 19:36:54 tonikt has joined
485 2012-11-04 19:40:02 rdponticelli has quit (Ping timeout: 276 seconds)
486 2012-11-04 19:51:13 denisx has joined
487 2012-11-04 19:58:15 rdponticelli has joined
488 2012-11-04 20:09:14 BlackPrapor has quit (Remote host closed the connection)
489 2012-11-04 20:12:31 BitcoinBaltar has quit (Remote host closed the connection)
490 2012-11-04 20:14:39 BitcoinBaltar has joined
491 2012-11-04 20:21:35 agricocb has quit (Quit: Leaving.)
492 2012-11-04 20:25:31 Joric has quit ()
493 2012-11-04 20:26:39 <jgarzik> ponder:
494 2012-11-04 20:26:48 <jgarzik> chroot to $DataDir at the end of init?
495 2012-11-04 20:27:44 <forrestv> jgarzik, backupwallet?
496 2012-11-04 20:28:37 <jgarzik> true
497 2012-11-04 20:28:45 * jgarzik wonders if he could hack the network code into forking
498 2012-11-04 20:34:20 PiZZaMaN2K is now known as PiZZaMaN2K|away
499 2012-11-04 20:34:46 <kjj_> if you could stream the wallet backup over the RPC connection, it would work, be better too, in my opinion
500 2012-11-04 20:36:01 <jgarzik> heh, that would be interesting
501 2012-11-04 20:36:07 <kjj_> for that matter, I'd prefer that the wallet backup just be the encrypted privkeys
502 2012-11-04 20:36:10 <sipa> yes, i've suggested that before
503 2012-11-04 20:36:10 <jgarzik> currently we only use the "/" HTTP path
504 2012-11-04 20:36:27 <jgarzik> just use "/walletbackup" HTTP path for raw binary wallet contents
505 2012-11-04 20:37:03 <jgarzik> or "/wallet.privkeys"
506 2012-11-04 20:37:40 ovidiusoft has quit (Ping timeout: 255 seconds)
507 2012-11-04 20:37:51 <D34TH> or "/wallet?form={binary,json}"
508 2012-11-04 20:37:57 <kjj_> the privkeys would work fine in JSON.
509 2012-11-04 20:38:02 <jgarzik> true
510 2012-11-04 20:38:34 <jgarzik> sounds like a fun mini-project.
511 2012-11-04 20:38:52 RainbowDashh has quit (Quit: SLEEP! [11:14:29] <+Tsunami1> http://i.imgur.com/t2rz5.png)
512 2012-11-04 20:39:21 <kjj_> I wish that WIF had been designed a little better. we are going to run out of code bytes if we keep using a new one for each variation of each blob
513 2012-11-04 20:41:30 <sipa> haha
514 2012-11-04 20:41:31 <sipa> sorry :)
515 2012-11-04 20:41:33 <kjj_> but that's how it always goes
516 2012-11-04 20:41:37 ovidiusoft has joined
517 2012-11-04 20:41:47 <jgarzik> How cygwin forks, on Windows: http://cygwin.com/faq/faq.api.html#faq.api.fork
518 2012-11-04 20:42:09 <kjj_> meh. at the time it was made, who could have guessed that we'd want formats for compressed keys? for keys that include birthdates? for whatever
519 2012-11-04 20:43:38 <kjj_> also, the base58 encoder has pretty well run out of unique leading symbols, so people are going to need to stop expecting that soon
520 2012-11-04 20:49:56 Eliel_ is now known as Eliel
521 2012-11-04 20:51:43 Apexseals has quit (Read error: Connection reset by peer)
522 2012-11-04 20:52:03 Apexseals has joined
523 2012-11-04 20:54:13 ibno has quit (Quit: Lämnar)
524 2012-11-04 20:56:22 root2 has quit (Read error: Connection reset by peer)
525 2012-11-04 20:56:38 root2 has joined
526 2012-11-04 20:58:19 RainbowDashh has joined
527 2012-11-04 21:00:36 Arnavion has quit (Quit: ==kimi ni nante okureba ii no==)
528 2012-11-04 21:01:38 pusle has joined
529 2012-11-04 21:02:07 Arnavion has joined
530 2012-11-04 21:02:10 <jgarzik> hum
531 2012-11-04 21:02:16 <jgarzik> ReadHTTPStatus() is completely nutters
532 2012-11-04 21:02:28 <jgarzik> the return value is Not What It Thinks It Is
533 2012-11-04 21:02:43 <jgarzik> and that's not a status... that's an HTTP request line being read
534 2012-11-04 21:02:48 daybyter has quit (Read error: Connection reset by peer)
535 2012-11-04 21:02:53 maaku has joined
536 2012-11-04 21:03:37 <sipa> it should be ReadHTTPRequest() line then
537 2012-11-04 21:03:49 <sipa> I feel a Diapolo-style pullreq coming up
538 2012-11-04 21:04:12 <jgarzik> sipa: kinda sorta
539 2012-11-04 21:04:22 <jgarzik> ReadHTTPStatus() does read HTTP status in client (cli) mode
540 2012-11-04 21:04:31 <Diablo-D3> heh
541 2012-11-04 21:04:36 <jgarzik> ReadHTTPStatus() is overloaded to request HTTP request line, in server mode
542 2012-11-04 21:04:38 <jgarzik> sigh
543 2012-11-04 21:04:42 <Luke-Jr> hmm, I have some vague memory of finding a bug in ReadHTTPStatus, and forgetting to report or look into it >_<
544 2012-11-04 21:04:43 <sipa> eh
545 2012-11-04 21:04:45 <Diablo-D3> eww
546 2012-11-04 21:04:58 <Diablo-D3> btw, arent there already libs for this?
547 2012-11-04 21:05:04 <Luke-Jr> probably.
548 2012-11-04 21:05:09 <sipa> no
549 2012-11-04 21:05:16 <Diablo-D3> srsly? not even in boost?
550 2012-11-04 21:05:17 <sipa> nobody ever wrote an HTPP library
551 2012-11-04 21:05:18 <sipa> ever
552 2012-11-04 21:05:21 <sipa> HTTP
553 2012-11-04 21:05:23 <Diablo-D3> bah
554 2012-11-04 21:05:31 * Diablo-D3 lights sipa on fire and goes back to working on seaking
555 2012-11-04 21:05:50 <sipa> that's about how to become Neptunus?
556 2012-11-04 21:05:59 <jgarzik> git checkout -f
557 2012-11-04 21:06:03 * jgarzik starts over
558 2012-11-04 21:06:04 <Luke-Jr> boost_asio/example/http/server/
559 2012-11-04 21:06:14 <jgarzik> Luke-Jr: that's an example, not a lib API
560 2012-11-04 21:06:31 <Luke-Jr> yeah, looks a bit big for what we need too
561 2012-11-04 21:06:43 <Diablo-D3> sipa: no, its a C-like language that doesnt suck
562 2012-11-04 21:06:53 <Diablo-D3> sipa: and is based around doing highly parallel things
563 2012-11-04 21:06:58 <jgarzik> I wrote a JSON RPC server, based on boost.asio: https://github.com/jgarzik/rpcsrv
564 2012-11-04 21:06:59 <sipa> you mean Go?
565 2012-11-04 21:07:00 <jgarzik> fully m-t
566 2012-11-04 21:07:09 <jgarzik> quite large, for what tiny things it does
567 2012-11-04 21:07:13 <Diablo-D3> sipa: go doesnt have working concurrency and never will
568 2012-11-04 21:07:30 <jgarzik> based on the boost.asio multi-threaded http server example
569 2012-11-04 21:07:53 <Diablo-D3> sipa: I have no clue why google even made the language, its basically failed at every goal
570 2012-11-04 21:09:15 <sipa> it's used a lot within Google though, and makes many things done often at google a lot easier
571 2012-11-04 21:11:21 <Diablo-D3> yeah, but its a fucking shithole of a language
572 2012-11-04 21:11:25 <Diablo-D3> its arguably worse than java
573 2012-11-04 21:11:27 <sipa> i'm not a very big fan myself (i haven't used it enough for that), but i can see how it simplifies things
574 2012-11-04 21:11:44 <sipa> C++-like performance with way less boilerplate
575 2012-11-04 21:11:58 <Luke-Jr> Diablo-D3: Google loves Java too, but we don't accomplish anything by ranting about it here off-topic
576 2012-11-04 21:12:07 <Diablo-D3> c++-like performance isnt even a thing anymore
577 2012-11-04 21:12:08 <Diablo-D3> you know why?
578 2012-11-04 21:12:19 <Diablo-D3> thanks to shit like llvm, ANYTHING can have c++-like performance now
579 2012-11-04 21:12:50 <Diablo-D3> the trick is to have a language that helps you code instead of fucks your shit up
580 2012-11-04 21:13:59 <Diablo-D3> I'm trying to figure out how I want to do a concurrency model, though
581 2012-11-04 21:17:03 <Diablo-D3> sipa: also, Im wondering if using C as an IL really is viable
582 2012-11-04 21:17:43 <sipa> unsure; C is not really designed to be machine-writable
583 2012-11-04 21:17:57 <sipa> there have been attempts like C-- to improve upon that
584 2012-11-04 21:18:13 <Diablo-D3> its not designed to be human writable either =/
585 2012-11-04 21:18:31 <gmaxwell> There are _lots_ of things that use C as an IL.
586 2012-11-04 21:18:38 <Luke-Jr> IMO the biggest problem with C is the lack of exceptions
587 2012-11-04 21:18:41 <Diablo-D3> gmaxwell: yeah, but is it sane?
588 2012-11-04 21:18:54 <Diablo-D3> I'd probably be better off just using LLVM directly
589 2012-11-04 21:19:04 <Luke-Jr> makes code much uglier than it otherwise would have to be
590 2012-11-04 21:20:09 <Diablo-D3> any LLVM language can call C with no pain, so it looks like the best bet
591 2012-11-04 21:21:28 <yellowhat> does anyone know what this is? slush? http://instagram.com/p/Rm5n9ZDY7O/
592 2012-11-04 21:22:10 <sipa> i suppose a hardware wallet
593 2012-11-04 21:22:48 <Diablo-D3> an lcd on a bread board
594 2012-11-04 21:25:23 <Diablo-D3> gmaxwell, sipa: c-- isnt really needed if I just use a very minimal set of c
595 2012-11-04 21:25:43 <sipa> c-- is also old, i think LLVM is probably a better choice nowadays
596 2012-11-04 21:25:59 <Diablo-D3> I dont even need to support all c compilers
597 2012-11-04 21:26:04 <sipa> haven't looked into it enough, actually
598 2012-11-04 21:26:09 <Diablo-D3> just modern clang and modern gcc
599 2012-11-04 21:26:49 <Diablo-D3> also, to be a complete asshole
600 2012-11-04 21:26:54 <Diablo-D3> I should port llvm to seaking
601 2012-11-04 21:26:57 veeminer has quit ()
602 2012-11-04 21:27:04 <sipa> surely you want to support 16-bit Borland C++
603 2012-11-04 21:29:04 <D34TH> yellowhat, https://www.adafruit.com/products/326
604 2012-11-04 21:29:07 CodesInChaos has quit (Ping timeout: 248 seconds)
605 2012-11-04 21:29:19 <Diablo-D3> sipa: hell no
606 2012-11-04 21:29:26 <Diablo-D3> also, theres one other thing I want to support
607 2012-11-04 21:29:32 <Diablo-D3> automatic opencl parallelization
608 2012-11-04 21:30:46 <Diablo-D3> you'll be able to write parallel(array[]) {} or parallel(x) {}, and if it can be written in opencl, it'll do it
609 2012-11-04 21:31:46 <D34TH> hmm, cant wait to see a miner Diablo-D3
610 2012-11-04 21:31:56 <kreal> any rejections to using RIJNDAEL as encryption in my next project?
611 2012-11-04 21:32:16 <Diablo-D3> D34TH: why bother, Ive already written a miner that does it directly in opencl
612 2012-11-04 21:32:26 <D34TH> proof of concept
613 2012-11-04 21:33:16 <kreal> thinking like, fuck you kreal, are you stupid, want to get hacked?
614 2012-11-04 21:33:26 <kreal> or like yeah go away and use it, so I can hack the crap out of you.
615 2012-11-04 21:33:36 <kreal> away/ahead
616 2012-11-04 21:33:49 <kreal> or maybe its pretty good, what are you encrypting?
617 2012-11-04 21:34:01 <D34TH> kreal is the object to be able to retreive encrypted data?
618 2012-11-04 21:34:23 <kreal> no, just to encrypt and have it stay encrypted.
619 2012-11-04 21:34:41 <kreal> but still being able to receive it later on request.
620 2012-11-04 21:35:10 <D34TH> so you do want it two-way
621 2012-11-04 21:35:20 <kreal> and maybe a requirement of a 32 char key.
622 2012-11-04 21:35:31 <kreal> yes two-way.
623 2012-11-04 21:35:41 <kreal> would be great if I could just make a salted hash.
624 2012-11-04 21:36:07 <kreal> but sadly there are limits everywhere I need to overcome.
625 2012-11-04 21:36:18 <kreal> and oh yeah, it is ofcause a bitcoin project.
626 2012-11-04 21:37:43 <D34TH> ripemd320?
627 2012-11-04 21:38:52 <kreal> thats reather custom? :)
628 2012-11-04 21:38:55 <kreal> havend heard of it.
629 2012-11-04 21:39:18 <D34TH> https://en.wikipedia.org/wiki/RIPEMD
630 2012-11-04 21:39:23 <kreal> reading
631 2012-11-04 21:41:47 <kreal> it seems it compares to sha-1
632 2012-11-04 21:42:01 <kreal> but with less testing.
633 2012-11-04 21:42:07 <kreal> or however you say it.
634 2012-11-04 21:42:30 <D34TH> less implementation
635 2012-11-04 21:42:38 <D34TH> i suppose you could say
636 2012-11-04 21:43:19 <kreal> or that yes.
637 2012-11-04 21:54:36 <forsetifox> Question for you C programmers. Should I drop MS Visual C++ and use something else as an editor/ IDE? I just ran into the stdafx.h vs iostream.h thing. O.o
638 2012-11-04 21:55:09 <Diablo-D3> forsetifox: microsoft does not produce a C compiker, so yes, switch
639 2012-11-04 21:55:10 <Diablo-D3> try vim
640 2012-11-04 21:56:04 <D34TH> i use notepad++ and mingw D:
641 2012-11-04 21:57:02 <forsetifox> I'd prefer to stay in the windows platform Diablo.
642 2012-11-04 21:58:17 <D34TH> why not code::blocks
643 2012-11-04 21:58:44 <D34TH> i find it useful once in a blue moon
644 2012-11-04 22:00:16 datagutt has quit (Quit: kthxbai)
645 2012-11-04 22:02:37 <Diablo-D3> forsetifox: vim works on windows fine
646 2012-11-04 22:04:35 denisx_ has joined
647 2012-11-04 22:05:15 denisx has quit (Ping timeout: 246 seconds)
648 2012-11-04 22:05:16 denisx_ is now known as denisx
649 2012-11-04 22:07:56 BitDev has joined
650 2012-11-04 22:08:04 <BitDev> hi all
651 2012-11-04 22:08:21 <BitDev> i have few questions about bitcoin
652 2012-11-04 22:08:56 <BitDev> if i want to do only maining - i still must create listening socket on port 8333?
653 2012-11-04 22:09:40 <kreal> no
654 2012-11-04 22:09:53 <BitDev> 2) in wiki i have read that in Network address: 4 time uint32 the Time (version >= 31402) - what this time is?
655 2012-11-04 22:09:56 <kreal> listening socket is mainly for incresed block speed.
656 2012-11-04 22:10:46 <BitDev> and what ip i must write in version packet?
657 2012-11-04 22:10:55 <BitDev> and time?
658 2012-11-04 22:10:58 <BitDev> and port?
659 2012-11-04 22:11:10 <BitDev> or just leave it blank?
660 2012-11-04 22:11:17 <kreal> I lost you there.
661 2012-11-04 22:11:26 <BitDev> version packet
662 2012-11-04 22:11:39 denisx has quit (Quit: denisx)
663 2012-11-04 22:11:50 <BitDev> addr_from record
664 2012-11-04 22:12:02 <BitDev> this is net_addr type
665 2012-11-04 22:12:27 <BitDev> and net_addr type means that i write my ip address, port and time
666 2012-11-04 22:13:19 <BitDev> what should i do?
667 2012-11-04 22:14:19 ThomasV_ has quit (Quit: Quitte)
668 2012-11-04 22:14:36 <BitDev> you understand about what i am saying?
669 2012-11-04 22:14:45 <kreal> nope
670 2012-11-04 22:15:06 <kreal> there are many parts which I do not know about.
671 2012-11-04 22:15:23 <BitDev> look https://en.bitcoin.it/wiki/Protocol_specification#version
672 2012-11-04 22:15:42 <BitDev> version message
673 2012-11-04 22:16:09 <BitDev> there are fields: addr_recv and addr_from
674 2012-11-04 22:16:20 <BitDev> you see them?
675 2012-11-04 22:19:11 <BitDev> there are 2 values: addr_from and addr_recv
676 2012-11-04 22:19:22 <BitDev> there type is net_addr
677 2012-11-04 22:19:31 <BitDev> how to fill them?
678 2012-11-04 22:24:14 maaku has quit (Quit: maaku)
679 2012-11-04 22:25:52 <BitDev> no body knows?
680 2012-11-04 22:26:30 B0g4r7 has joined
681 2012-11-04 22:38:15 <jgarzik> sipa: Where does one find the _encrypted_ privkeys, for a wallet-wide dump? Iterate through BDB, dumping all "ckey"?
682 2012-11-04 22:38:34 <jgarzik> it is unclear where they are stored in memory, in wallet.h
683 2012-11-04 22:39:12 ovidiusoft has quit (Remote host closed the connection)
684 2012-11-04 22:39:46 <sipa> jgarzik: CWallet inherits from CKeyStore
685 2012-11-04 22:39:50 <sipa> guess which ones stores keys...
686 2012-11-04 22:39:56 <jgarzik> mapCryptedKeys
687 2012-11-04 22:40:17 <sipa> jgarzik: by the way, i already have code to dump an entire wallet
688 2012-11-04 22:40:42 <sipa> somehow never finished it after dumpprivkey, but it's probably more or less usable
689 2012-11-04 22:41:01 <sipa> my 'showwallet' branch
690 2012-11-04 22:41:55 dust-otc has joined
691 2012-11-04 22:43:01 <sipa> it's 1.5 years old though...
692 2012-11-04 22:45:29 <Diablo-D3> you know, I just had a hilarious idea
693 2012-11-04 22:45:50 <Diablo-D3> make everything message passing
694 2012-11-04 22:45:58 <Diablo-D3> the async kind
695 2012-11-04 22:46:17 <Diablo-D3> well, everything thats an object method call
696 2012-11-04 22:46:21 <sipa> you mean erlang?
697 2012-11-04 22:49:23 pusle has quit ()
698 2012-11-04 22:50:52 <Diablo-D3> sipa: yeah, sorta like erlang
699 2012-11-04 22:51:03 <Diablo-D3> except erlang I dont think does it habitually
700 2012-11-04 22:51:41 JDuke256 has joined
701 2012-11-04 22:55:46 AlexWaters has quit (Quit: Leaving.)
702 2012-11-04 23:08:25 <OneEyed> It works fine with Erlang because data structures are immutable. You have to adhere to a strict discipline to make everything asynchronous if your data is mutable.
703 2012-11-04 23:09:08 <OneEyed> That's a problem in Scala, which is based on Java: there is no way to enforce immutability, so people must be careful when using actors and asynchronous messages
704 2012-11-04 23:09:31 <Diablo-D3> OneEyed: mutability isnt the issue
705 2012-11-04 23:09:51 <Diablo-D3> its versioning thats the issue
706 2012-11-04 23:10:36 [Tycho] has joined
707 2012-11-04 23:10:44 <[Tycho]> !seen tcatm
708 2012-11-04 23:10:44 <BCBot2`> [Tycho]: Error: "seen" is not a valid command.
709 2012-11-04 23:10:45 <gribble> tcatm was last seen in #bitcoin-dev 2 weeks, 3 days, 22 hours, 14 minutes, and 17 seconds ago: <tcatm> MC1984: 0.7.1 will load it automatically, for 0.7.0 -loadblock is needed
710 2012-11-04 23:33:21 <conman> feh
711 2012-11-04 23:33:46 <conman> hard to debug what the server doesn't like about my GBT block submission when it returns with a 500 internal server error
712 2012-11-04 23:34:11 <sipa> is that bitcoind?
713 2012-11-04 23:34:23 <conman> nah eclipse
714 2012-11-04 23:34:38 <conman> wonder if I can find inaba
715 2012-11-04 23:34:55 helo is now known as beatysees
716 2012-11-04 23:36:02 * conman looks for an irc channel
717 2012-11-04 23:36:47 <jgarzik> kjj_: https://github.com/bitcoin/bitcoin/pull/1982
718 2012-11-04 23:37:42 <jgarzik> sipa: wasn't able to use any of showwallet, sadly
719 2012-11-04 23:38:29 <sipa> oh, this seems to serve a different purpose
720 2012-11-04 23:38:39 <sipa> showwallet creates a json importable dump of an entire wallet
721 2012-11-04 23:38:50 <sipa> not a list of encrypted keys
722 2012-11-04 23:39:33 <Luke-Jr> if someone wants to ask con to push his code and/or test it against Eligius, I could provide input
723 2012-11-04 23:39:38 beatysees is now known as helo
724 2012-11-04 23:39:54 <conman> I wonder if I found a buffer overflow in the pool receive code :P
725 2012-11-04 23:40:05 * conman hacks it
726 2012-11-04 23:40:11 * Luke-Jr would be interested in a buffer overflow in Python codeâ¦
727 2012-11-04 23:41:42 <kjj_> jgarzik: sweet!
728 2012-11-04 23:41:46 <Luke-Jr> ;;echo <Luke-Jr> if someone wants to ask con to push his code and/or test it against Eligius, I could provide input
729 2012-11-04 23:41:47 <gribble> <Luke-Jr> if someone wants to ask con to push his code and/or test it against Eligius, I could provide input
730 2012-11-04 23:42:03 <conman> oh
731 2012-11-04 23:42:19 <conman> I might just unignore him for such a purpose
732 2012-11-04 23:42:34 RazielZ has quit (Ping timeout: 246 seconds)
733 2012-11-04 23:42:39 <Diablo-D3> hah
734 2012-11-04 23:43:12 <wizkid057> ...
735 2012-11-04 23:43:37 <conman> wizkid057, yes I was that angry
736 2012-11-04 23:44:14 maaku has joined
737 2012-11-04 23:44:34 <conman> maybe a chance to redeem?
738 2012-11-04 23:44:50 <conman> mining against your server now
739 2012-11-04 23:45:09 <conman> 30MH might take a while to find a share tho... :P
740 2012-11-04 23:45:13 <wizkid057> lol
741 2012-11-04 23:45:28 <maaku> heard cody wilson on npr's "on the media"; anyone know how to contact him directly?
742 2012-11-04 23:45:31 <wizkid057> 30MH... what is that, a raspberry pi? :P
743 2012-11-04 23:45:41 <sipa> that'd be 30 kH
744 2012-11-04 23:45:45 <conman> haha
745 2012-11-04 23:45:57 <conman> no it's my actual desktop and I always use nvidia cards there
746 2012-11-04 23:46:00 <wizkid057> sipa: actually, I got just under 1MH out of mine IIRC
747 2012-11-04 23:46:11 <sipa> wizkid057: nice :)
748 2012-11-04 23:47:11 * conman twiddles thumbs
749 2012-11-04 23:47:58 <sipa> wizkid057: at how many watt?
750 2012-11-04 23:47:59 <conman> Luke-Jr, so can you please tell me if I'm supposed to list the number of transactions as a varint even when not submitting them with the block, or do I just use 0 there?
751 2012-11-04 23:48:20 <conman> cause the document does not specify
752 2012-11-04 23:48:31 <sipa> how can you not submit transactions?
753 2012-11-04 23:48:42 <wizkid057> sipa: Was showing ~5W at the Kill-a-watt
754 2012-11-04 23:48:47 <wizkid057> with a crappy power adapter
755 2012-11-04 23:49:05 <Luke-Jr> conman: yes, the varint should represent the block total of transactions always (it does say that btw)
756 2012-11-04 23:49:17 <Luke-Jr> conman: do note that includes the coinbase, so it should never be 0
757 2012-11-04 23:49:41 <wizkid057> what if I dont want a coinbase and want to mine for the network out of the goodness of my heart?
758 2012-11-04 23:49:48 <Luke-Jr> sipa: if you use the pool-provided transactions as-is, or propose your changes before you find shares, you can omit them for each share
759 2012-11-04 23:50:00 <conman> ah got a rejected share
760 2012-11-04 23:50:10 <Luke-Jr> wizkid057: solo with coinbase having 0 amount value
761 2012-11-04 23:50:27 <conman> I think when the share submit is larger is when it 500s
762 2012-11-04 23:50:57 Gladamas has joined
763 2012-11-04 23:51:16 <sipa> wizkid057: there is a network rule that every block must have exactly one coinbase transaction
764 2012-11-04 23:51:38 <wizkid057> sipa: i know, was just trolling ;)
765 2012-11-04 23:51:52 <sipa> naughty!
766 2012-11-04 23:52:11 <conman> ok no 500s now; doesn't happen every time
767 2012-11-04 23:52:29 <conman> just rejects from my broken generation implementation
768 2012-11-04 23:54:30 * conman tries harder
769 2012-11-04 23:55:42 <conman> meh just rejects again
770 2012-11-04 23:56:48 <wizkid057> H-not-zero
771 2012-11-04 23:57:08 <conman> yeah so I"m just assembling it wrong; that much I know (just not how it's wrong)
772 2012-11-04 23:57:16 <conman> but why the 500 errors before?
773 2012-11-04 23:57:34 <wizkid057> hmm... dunno
774 2012-11-04 23:57:37 <wizkid057> Luke-Jr: ^
775 2012-11-04 23:58:08 <wizkid057> 00000002d39508fc0f659dbd0a012adf632e72c58b2f24a66a33982c000002e200000000f46ca85adc54dce52ac4783585618ed56a5f780590d8bcccf9786e403b74618d5096fd4e1a0513c524c4c402 <--- this is what I show for that share
776 2012-11-04 23:58:21 <wizkid057> not sure if that helps
777 2012-11-04 23:58:33 <conman> it does help
778 2012-11-04 23:58:43 <conman> hmm byte reversed confusion
779 2012-11-04 23:59:23 MobiusL has joined
780 2012-11-04 23:59:44 <Luke-Jr> conman: first thing I see is that your scriptSig length is including the 4 byte sequence number (ffffffff) which it shouldn't