1 2012-05-10 00:01:47 t7 has quit (Quit: ChatZilla 0.9.88.2 [Firefox 12.0/20120420145725])
2 2012-05-10 00:04:38 rdponticelli_ has quit (Ping timeout: 252 seconds)
3 2012-05-10 00:04:50 Slix` has joined
4 2012-05-10 00:05:39 paraipan has quit (Quit: Saliendo)
5 2012-05-10 00:15:10 <olp> to follow up: I did git clone https://github.com/bitcoin/bitcoin, git checkout v0.6.2, and built it from there, and it seems to work fine now (I guess it's cause it was calling git describe to get the version info)
6 2012-05-10 00:16:02 guruvan has joined
7 2012-05-10 00:16:08 asuk_ has quit (Ping timeout: 245 seconds)
8 2012-05-10 00:16:08 asuk has quit (Ping timeout: 245 seconds)
9 2012-05-10 00:18:10 minimoose has quit (Quit: minimoose)
10 2012-05-10 00:25:48 rdponticelli has joined
11 2012-05-10 00:28:06 mmoya has quit (Ping timeout: 272 seconds)
12 2012-05-10 00:30:38 sneak has quit (Ping timeout: 272 seconds)
13 2012-05-10 00:30:45 sneak has joined
14 2012-05-10 00:30:45 sneak has quit (Changing host)
15 2012-05-10 00:30:45 sneak has joined
16 2012-05-10 00:38:54 Internet13 has quit (Quit: Leaving)
17 2012-05-10 00:39:20 Internet13 has joined
18 2012-05-10 00:41:38 Internet13 has quit (Client Quit)
19 2012-05-10 00:42:20 Internet13 has joined
20 2012-05-10 00:42:56 Maccer has quit (Excess Flood)
21 2012-05-10 00:47:03 Cory has quit (Ping timeout: 252 seconds)
22 2012-05-10 00:52:19 eoss has quit (Read error: Connection reset by peer)
23 2012-05-10 00:53:02 <luke-jr> ugh
24 2012-05-10 00:53:15 <luke-jr> ConnectBlock is dangerous :/
25 2012-05-10 00:53:48 <DiabloD3> oh?
26 2012-05-10 00:54:10 <luke-jr> looks like it modifies blkindex as a side-effect, always
27 2012-05-10 00:54:19 <luke-jr> maybe
28 2012-05-10 00:54:27 <DiabloD3> SIDE EFFECT BAD
29 2012-05-10 00:54:32 <luke-jr> either way, it doesn't work unless I put the block to disk
30 2012-05-10 00:54:33 <DiabloD3> FUNCTIONAL PROGRAMMING FOREVER
31 2012-05-10 00:54:44 <DiabloD3> you mean it doesnt work until you commit it?
32 2012-05-10 00:54:46 <luke-jr> which obviously is not useful for checking templates
33 2012-05-10 00:55:04 <luke-jr> DiabloD3: I mean I have to append the block to blk0001.dat before I can check it with ConnectBlock
34 2012-05-10 00:55:14 <DiabloD3> oh, eww
35 2012-05-10 00:55:17 <DiabloD3> thats kind of useless
36 2012-05-10 00:55:35 <luke-jr> it's a pain, at least
37 2012-05-10 00:55:51 <luke-jr> it might be possible to sanitize it, but it'd take a few hours of work at least
38 2012-05-10 00:56:26 <luke-jr> more annoyingly, it means I can't easily just put a failsafe on CreateNewBlock changes
39 2012-05-10 00:56:40 <luke-jr> ie "if the new code makes an invalid block template, use the old code"
40 2012-05-10 00:57:37 <sipa> luke-jr: connectblock works by checking whether all inputs are available, and then marking them unavailable
41 2012-05-10 00:57:55 <luke-jr> sipa: yeah, but I thought the marking was temporary unless the caller committed them :/
42 2012-05-10 00:58:02 <sipa> it is temporary
43 2012-05-10 00:58:14 <sipa> as it happens inside a db transaction that can be aborted
44 2012-05-10 00:58:14 <luke-jr> then I guess my problem is just the stupid disk thing
45 2012-05-10 00:58:29 <sipa> but it being written to disk beforehand is the step before that
46 2012-05-10 00:58:29 <luke-jr> what if I'm too stupid to abort or commit?
47 2012-05-10 00:58:36 <sipa> then you're stupid
48 2012-05-10 00:58:50 <sipa> satoshi wrote the code for himself, not for you :p
49 2012-05-10 00:59:25 <sipa> luke-jr: oh, uncommit changes are aborted when the CTxDB object dies
50 2012-05-10 00:59:28 <luke-jr> oh, and I'm bailing out of ConnectBlock at / Write queued txindex changes
51 2012-05-10 00:59:39 <luke-jr> i c
52 2012-05-10 00:59:47 <luke-jr> it onyl has a read CTxDB here anyway
53 2012-05-10 00:59:59 <sipa> but still, the block exists in blk0001.dat at that point anyway
54 2012-05-10 01:00:03 <sipa> and that won't be reverted
55 2012-05-10 01:00:24 <luke-jr> will it be tolerated if I change the code to work before that point?
56 2012-05-10 01:00:32 <luke-jr> ie, check a CBlock itself
57 2012-05-10 01:01:19 Blitzboom has joined
58 2012-05-10 01:01:20 Blitzboom has quit (Changing host)
59 2012-05-10 01:01:20 Blitzboom has joined
60 2012-05-10 01:01:54 <sipa> i suppose you can
61 2012-05-10 01:02:11 <sipa> fetchinputs also works on memory pools
62 2012-05-10 01:02:49 Snapman is now known as Snapman[afkers]
63 2012-05-10 01:03:33 osmosis has quit (Quit: Leaving)
64 2012-05-10 01:04:56 vigilyn has quit (Quit: Leaving)
65 2012-05-10 01:05:05 graingert has quit (Read error: Connection reset by peer)
66 2012-05-10 01:05:22 Snapman[afkers] is now known as Snapman
67 2012-05-10 01:12:06 Mobius_ has quit (Quit: Ex-Chat)
68 2012-05-10 01:12:36 MobiusL has joined
69 2012-05-10 01:15:10 b4epoche has quit (Ping timeout: 244 seconds)
70 2012-05-10 01:15:11 b4epoche_ is now known as b4epoche
71 2012-05-10 01:19:48 Maccer has joined
72 2012-05-10 01:22:59 <sipa> gmaxwell: the problem is that for the master generation you can't use a dynamic number of iterations
73 2012-05-10 01:23:06 phungus_ is now known as phungus
74 2012-05-10 01:24:12 <sipa> it could be fixed to be PBKDF2 or scrypt or whatever, with a fixed number of iterations, but that may prove not so useful
75 2012-05-10 01:24:16 <sipa> after time
76 2012-05-10 01:26:00 <sipa> hmm, maybe you could define a "security level", corresponding to a combination of seed size, iterations, memory, ...
77 2012-05-10 01:26:06 Garr255Playbook has joined
78 2012-05-10 01:27:57 Garr255Playbook has quit (Remote host closed the connection)
79 2012-05-10 01:31:38 inductor has joined
80 2012-05-10 01:38:56 minimoose has joined
81 2012-05-10 01:42:50 sneak has quit (Ping timeout: 272 seconds)
82 2012-05-10 01:42:56 sneak has joined
83 2012-05-10 01:42:56 sneak has quit (Changing host)
84 2012-05-10 01:42:56 sneak has joined
85 2012-05-10 01:52:13 <phantomcircuit> sipa, incorporate a time component
86 2012-05-10 01:52:33 <sipa> ?
87 2012-05-10 01:52:50 <phantomcircuit> security meter which slowly goes down the longer an address that was deterministically generated has been in use
88 2012-05-10 01:53:25 <gmaxwell> if the generation was really random with ample entropy then thats pointless.
89 2012-05-10 01:53:40 <gmaxwell> If it wasn't someone with a rainbow table 0wns you seconds after the funds first go in.
90 2012-05-10 01:54:23 <phantomcircuit> gmaxwell, no but in general overtime the number of iterations/hash algorithm used will slowly become less and less secure (mostly iterations)
91 2012-05-10 01:55:23 <phantomcircuit> it would be fairly easy to have a semi centralized service which stores the parameters which were used to generate a private key such that you could enter the address and retrieve them
92 2012-05-10 01:55:59 <phantomcircuit> it seems the biggest threat of having different standards is incompatibility which could be fixed with something like that
93 2012-05-10 01:56:03 <sipa> ideally, i'd want an interface where you're asked to imput your name, your e-mail address, your birth date, a wallet name, then click "generate!", and a (at least) 128-bit pseudorandom hex string is added, and all that fed to scrypt to generate the 512-bit master
94 2012-05-10 01:56:31 <sipa> or you could enter the same details, add the hex string, and recreate from there
95 2012-05-10 01:56:40 <sipa> *input
96 2012-05-10 01:57:15 <phantomcircuit> that's a lot of information to encode the same way everytime
97 2012-05-10 01:57:47 <sipa> there is little extra entropy in having them all; just an e-mail address may be fine
98 2012-05-10 01:57:53 BurtyB has quit (Read error: Connection reset by peer)
99 2012-05-10 01:57:58 <gmaxwell> I regularly get locked out of one of my bank accounts because I can't manage to repeat the answers to their stupid secret questions.
100 2012-05-10 01:58:21 BurtyB has joined
101 2012-05-10 01:58:50 <sipa> anyway, just asking any bit of private information there would help security for average users a lot, i think
102 2012-05-10 01:58:54 BTC_Bear is now known as BTC_Bear|hbrntng
103 2012-05-10 01:59:10 <gmaxwell> sipa: people would be confused into thinking bitcoin was collecting identifying information. :(
104 2012-05-10 01:59:11 <sipa> even if the actual hex string is (simple) password-derived
105 2012-05-10 01:59:28 <sipa> meh, true
106 2012-05-10 01:59:44 <phantomcircuit> a combination system could work
107 2012-05-10 01:59:57 <phantomcircuit> a large truly random salt hosted by a third party
108 2012-05-10 02:00:02 <phantomcircuit> combined with a simple password
109 2012-05-10 02:00:22 <sipa> correct horse staple battery
110 2012-05-10 02:00:28 <phantomcircuit> wat
111 2012-05-10 02:00:45 <sipa> http://xkcd.com/936/
112 2012-05-10 02:00:49 <phantomcircuit> oh right
113 2012-05-10 02:00:52 <phantomcircuit> word dice
114 2012-05-10 02:01:10 <phantomcircuit> his estimation of entropy is wildly naive
115 2012-05-10 02:01:17 <sipa> 128 bit in word dice is already pretty long, though
116 2012-05-10 02:01:24 <sipa> and less... meh
117 2012-05-10 02:01:25 <gmaxwell> phantomcircuit: that has no more security than a simple password (which is almost always horiffic) except immunity to nway amplification/rainbow tables.
118 2012-05-10 02:01:45 <gmaxwell> sipa: it's 12 words using the word list electrum uses.
119 2012-05-10 02:01:50 <phantomcircuit> gmaxwell, not against the third party
120 2012-05-10 02:01:54 <phantomcircuit> oh i forgot
121 2012-05-10 02:01:54 <sipa> gmaxwell: doable
122 2012-05-10 02:02:06 <phantomcircuit> third party authenticates you using normal shitty loose auth mechanisms
123 2012-05-10 02:02:08 <phantomcircuit> like email
124 2012-05-10 02:02:38 ski_ has quit (Ping timeout: 250 seconds)
125 2012-05-10 02:02:42 <gmaxwell> phantomcircuit: the the third party says "oh sorry, we want $100,000 to access your money" or "funny, we got this alamony order from your exwife"
126 2012-05-10 02:03:27 <gmaxwell> Might as well just have an encrypted truly random string (no attacks from just he blockchain) ... and leave that with whatever trusted parties you like.
127 2012-05-10 02:03:47 <phantomcircuit> gmaxwell, right but you could have more than one
128 2012-05-10 02:03:54 Yuio has joined
129 2012-05-10 02:04:03 midnightmagic has quit (Ping timeout: 245 seconds)
130 2012-05-10 02:04:06 <phantomcircuit> gmaxwell, well yes that's what i was implying
131 2012-05-10 02:04:18 <phantomcircuit> you would print it out and put it in your safety deposit box
132 2012-05-10 02:04:23 <phantomcircuit> could*
133 2012-05-10 02:04:57 ski_ has joined
134 2012-05-10 02:05:14 <sipa> gmaxwell: but i feel that this user interface to wallet (re)construction is outside of the scope of the BIP (though i would very much like to have that common between clients too)
135 2012-05-10 02:05:23 <Yuio> i agree with sipa that retrive some informations can be good
136 2012-05-10 02:05:50 <sipa> gmaxwell: still, adding a fixed slow step in going from 128(+) bits to 512 is a good idea
137 2012-05-10 02:06:19 <gmaxwell> sipa: _much_ better than not.
138 2012-05-10 02:06:30 <sipa> if it's going to be used as i hope, it won't matter
139 2012-05-10 02:06:39 <sipa> but if it isn't (and indeed, it won't), it will
140 2012-05-10 02:07:05 <gmaxwell> Thats why I brought it up.
141 2012-05-10 02:07:29 <gmaxwell> another possibility is to burn some entropy to the sane use gods.
142 2012-05-10 02:07:36 <sipa> ?
143 2012-05-10 02:08:25 <gmaxwell> Explained: Require that expensive('password')=x, such that the first n bits of x are zeros.. Where x is say, 16 or so.
144 2012-05-10 02:08:35 <sipa> "the first 16 bits of the SHA256 sum should be 0, but we use the SHA512 as seed" ?
145 2012-05-10 02:08:47 <sipa> right
146 2012-05-10 02:08:51 <gmaxwell> Did you write that in parallel to me? crazy. Yes.
147 2012-05-10 02:09:21 <sipa> i certainly started typing before i saw your response
148 2012-05-10 02:09:49 <gmaxwell> This would make it impossible to use purely user provided passwords as the source.
149 2012-05-10 02:10:17 <gmaxwell> They'd have to have at on average 16 bits of 'salt' ... and more likely just be randomly generated entirely.
150 2012-05-10 02:10:47 <sipa> and the "security level" could define the number of zero bits
151 2012-05-10 02:11:04 <sipa> (to make it future-proof)
152 2012-05-10 02:12:24 <gmaxwell> it need to do the bit check on the other side of expensive() and also has to have the chain on the other side of expensive. Otherwise you'd just check the blockchain instead of running expensive. Or check for 16 zeros before running expensive.
153 2012-05-10 02:12:40 <gmaxwell> But e.g. if expensive writes out more bits than needed just use bits that the rest won't use.
154 2012-05-10 02:13:01 <sipa> the chain?
155 2012-05-10 02:13:39 <sipa> you mean the key tree derivation?
156 2012-05-10 02:13:44 <gmaxwell> Right.
157 2012-05-10 02:13:53 <luke-jr> can we make Bitcoin accept preimages for POW? :P
158 2012-05-10 02:14:17 <gmaxwell> I mean the cost of checking a candidate key either way needs to be fairly equal or the attacker will just use the easier one.
159 2012-05-10 02:14:35 <sipa> gmaxwell: good point
160 2012-05-10 02:15:24 <gmaxwell> So e.g. I'd say scrypt(pwd+seclevel)=768 bits, and the zeros test is just the last seclevel bits, and the key tree root is the first 512. Or the like.
161 2012-05-10 02:17:12 <sipa> but that will make generation very slow
162 2012-05-10 02:17:41 <sipa> as you need the slow scrypt (with many iterations, i assume), and run it 2^N times, if you require N zero bits
163 2012-05-10 02:17:51 <gmaxwell> hm? Not with the right parameters for the scrypt, â small ones are justifyable becuase of the iterations.
164 2012-05-10 02:18:48 * luke-jr thinks it makes sense to stick with SHA256 as much as possible
165 2012-05-10 02:19:15 <sipa> BIP32 is already mostly SHA512-based, but yes, i have some preference for not using too many algorithms
166 2012-05-10 02:19:26 <sipa> though i like scrypt a lot too
167 2012-05-10 02:21:19 <gmaxwell> I just wish we could build a device that sets people who build tools that encourage users to footgun on fire. That seems more satisifying and simpler.
168 2012-05-10 02:21:48 inductor has quit (Ping timeout: 256 seconds)
169 2012-05-10 02:22:41 <gmaxwell> Even 8 bits of entropy burning is probably enough to prevent the pure password use cases... that doesnt seem that slowâ and for stored wallets we only pay it once.
170 2012-05-10 02:23:07 <gmaxwell> (because you'd store the (optionally encrypted) output of that step too)
171 2012-05-10 02:23:56 <gmaxwell> and then only import/export in that form or the inner chain keys. .. but bleh, perhaps futile, people will just import inner chainkeys which were insecurely generated instead.
172 2012-05-10 02:24:22 <sipa> but inner chain keys are 512 bits
173 2012-05-10 02:25:23 <gmaxwell> right and someone will make some tool that does sha512('Imanidiot')= chainkeys.
174 2012-05-10 02:25:30 <sipa> yup
175 2012-05-10 02:26:00 <sipa> so whatever we're suggesting here should be simple enough that it's viable they choose the standard instead of that :)
176 2012-05-10 02:26:38 * sipa -> zZzZ
177 2012-05-10 02:26:44 <gmaxwell> well at least importing a chain key costs you functionality. but yea.. ::shrugs::
178 2012-05-10 02:42:30 barmstrong has quit (Remote host closed the connection)
179 2012-05-10 02:44:19 [7] has quit (Disconnected by services)
180 2012-05-10 02:44:21 JZavala has joined
181 2012-05-10 02:44:25 TheSeven has joined
182 2012-05-10 02:46:10 sneak has quit (Ping timeout: 272 seconds)
183 2012-05-10 02:46:13 Cory has joined
184 2012-05-10 02:51:00 BTC_Bear is now known as hbrntng!~BTC_Bear@unaffiliated/btc-bear/x-5233302|BTC_Bear
185 2012-05-10 02:52:31 Garr255Playbook has joined
186 2012-05-10 02:52:31 barmstrong has joined
187 2012-05-10 02:56:34 sneak has joined
188 2012-05-10 02:56:35 sneak has quit (Changing host)
189 2012-05-10 02:56:35 sneak has joined
190 2012-05-10 02:56:52 ForceMajeure_ has joined
191 2012-05-10 02:58:16 ForceMajeure has quit (Ping timeout: 260 seconds)
192 2012-05-10 02:58:35 Cory has quit (Ping timeout: 255 seconds)
193 2012-05-10 02:59:29 one_zero has joined
194 2012-05-10 03:01:07 copumpkin has quit (Quit: Computer has gone to sleep.)
195 2012-05-10 03:04:10 RainbowDashh has joined
196 2012-05-10 03:07:19 Garr255Playbook has quit (Remote host closed the connection)
197 2012-05-10 03:14:16 gasteve has joined
198 2012-05-10 03:14:16 gasteve has quit (Changing host)
199 2012-05-10 03:14:16 gasteve has joined
200 2012-05-10 03:17:12 sneak has quit (Ping timeout: 272 seconds)
201 2012-05-10 03:18:38 npouilla1d has quit (Ping timeout: 245 seconds)
202 2012-05-10 03:22:27 sneak has joined
203 2012-05-10 03:22:28 sneak has quit (Changing host)
204 2012-05-10 03:22:28 sneak has joined
205 2012-05-10 03:27:06 Garr255Playbook has joined
206 2012-05-10 03:29:48 Yuio has quit (Quit: Leaving)
207 2012-05-10 03:29:58 prakzis has joined
208 2012-05-10 03:33:54 Cory has joined
209 2012-05-10 03:35:48 danbri_ has quit (Read error: Connection reset by peer)
210 2012-05-10 03:39:41 b4epoche has quit (Ping timeout: 260 seconds)
211 2012-05-10 03:40:58 <twmz> sipa: I must be doing something wrong. neither sleep(0) nor sleep(1) prevented the 100% cpu issue for me. I know gavinandresen said it fixed it, though which is why I think I may have done something wrong. note, the 100% CPU is not right away. it doesn't start until a minute or two after bitcoin starts up.
212 2012-05-10 03:41:20 <DiabloD3> sleep(1) fixes normal dummy loop sleep bugs
213 2012-05-10 03:41:32 <DiabloD3> ie, it tells it to actually sleep
214 2012-05-10 03:42:00 b4epoche has joined
215 2012-05-10 03:43:01 <gmaxwell> twmz: yes, "it doesn't start until a minute or two after bitcoin starts up" expected for this bug, the busyloop only goes busy when you are full outbound wise.
216 2012-05-10 03:43:37 <gmaxwell> twmz: try making it Sleep(100). also, make sure you're actually running the version you just compiled. :)
217 2012-05-10 03:46:48 <DiabloD3> gmaxwell: that shouldnt matter
218 2012-05-10 03:47:03 danbri has joined
219 2012-05-10 03:47:08 <DiabloD3> sleep(1) still forces a context switch on your usual broken schedulers
220 2012-05-10 03:47:28 <gmaxwell> DiabloD3: it's still busy which isn't really what we want here.
221 2012-05-10 03:47:50 <DiabloD3> true
222 2012-05-10 03:47:54 <DiabloD3> but I think its not that
223 2012-05-10 03:48:06 <gmaxwell> the only purpose of the loop is to open more outbound connections if some close. We can handle a maximum 100ms wait for that.
224 2012-05-10 03:48:41 <gmaxwell> DiabloD3: It's pretty clearly spending all that time in that loop, and the fact that it doesn't start until a bit after startup is also good evidence.
225 2012-05-10 03:48:52 <DiabloD3> yes
226 2012-05-10 03:48:54 <DiabloD3> which means
227 2012-05-10 03:49:05 <DiabloD3> which meaaannnsss
228 2012-05-10 03:49:07 <DiabloD3> I hate fglrx
229 2012-05-10 03:49:23 <DiabloD3> because they should just gpl the fucking kenrel module and have upstream ship it in the fucking kenrel
230 2012-05-10 03:49:33 <DiabloD3> Ive been fighting with this thing for the last two fucking hours
231 2012-05-10 03:49:35 <DiabloD3> WORK ALREADY
232 2012-05-10 03:52:00 <DiabloD3> seriously
233 2012-05-10 03:52:33 <gmaxwell> DiabloD3: hey! hey!
234 2012-05-10 03:52:43 <gmaxwell> I think you've butt dialed #bitcoin-dev
235 2012-05-10 03:52:53 <gmaxwell> ... because this sure isn't #fglrx hate
236 2012-05-10 03:52:58 <DiabloD3> heh
237 2012-05-10 03:53:11 <DiabloD3> my problems are more important than twmz's problems
238 2012-05-10 03:54:30 Maged has joined
239 2012-05-10 04:00:58 ForceMajeure_ is now known as ForceMajeure
240 2012-05-10 04:01:05 da2ce7 has joined
241 2012-05-10 04:02:17 <k9quaint> ATI always had bad drivers
242 2012-05-10 04:03:55 <DiabloD3> fuck off k9
243 2012-05-10 04:05:00 DiabloD3 is now known as Diablo-D3
244 2012-05-10 04:05:38 TD has joined
245 2012-05-10 04:05:57 eian has quit (Remote host closed the connection)
246 2012-05-10 04:09:01 RainbowDashh has quit (Quit: RainbowDashh)
247 2012-05-10 04:10:17 prakzis has quit (Ping timeout: 245 seconds)
248 2012-05-10 04:10:19 Slix` has quit (Remote host closed the connection)
249 2012-05-10 04:12:31 Hasbro has quit (Ping timeout: 244 seconds)
250 2012-05-10 04:16:42 darkee has joined
251 2012-05-10 04:17:48 bitcoinbulletin has quit (Ping timeout: 245 seconds)
252 2012-05-10 04:20:04 darkee has quit (Ping timeout: 276 seconds)
253 2012-05-10 04:23:02 bitcoinbulletin has joined
254 2012-05-10 04:25:46 d4de has quit (Ping timeout: 260 seconds)
255 2012-05-10 04:27:59 nanotube has quit (Excess Flood)
256 2012-05-10 04:28:06 gribble has quit (Remote host closed the connection)
257 2012-05-10 04:29:05 nanotube has joined
258 2012-05-10 04:29:17 gribble has joined
259 2012-05-10 04:34:12 gasteve has quit (Quit: gasteve)
260 2012-05-10 04:36:40 rdponticelli_ has joined
261 2012-05-10 04:37:29 rdponticelli has quit (Read error: Connection reset by peer)
262 2012-05-10 04:38:55 sneak has quit (Ping timeout: 272 seconds)
263 2012-05-10 04:39:00 sneak has joined
264 2012-05-10 04:39:00 sneak has quit (Changing host)
265 2012-05-10 04:39:00 sneak has joined
266 2012-05-10 04:40:15 RainbowDashh has joined
267 2012-05-10 04:40:42 Maged has quit (Disconnected by services)
268 2012-05-10 04:40:45 Maged_ has joined
269 2012-05-10 04:40:53 Maged_ is now known as Maged
270 2012-05-10 04:47:57 midnightmagic has joined
271 2012-05-10 04:50:45 JZavala has quit (Ping timeout: 244 seconds)
272 2012-05-10 04:52:42 Garr255Playbook has quit (Remote host closed the connection)
273 2012-05-10 04:53:52 <gribble> New news from bitcoinrss: luke-jr reopened pull request 1246 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1246>
274 2012-05-10 04:54:16 RazielZ has joined
275 2012-05-10 05:00:53 Zarutian has quit (Quit: Zarutian)
276 2012-05-10 05:05:49 Maged has quit (Disconnected by services)
277 2012-05-10 05:05:56 Maged_ has joined
278 2012-05-10 05:06:04 Maged_ is now known as Maged
279 2012-05-10 05:10:19 stalled has joined
280 2012-05-10 05:11:21 twobitcoins_ has joined
281 2012-05-10 05:11:42 ThomasV has joined
282 2012-05-10 05:14:24 twobitcoins has quit (Ping timeout: 244 seconds)
283 2012-05-10 05:17:07 TD has quit (Quit: TD)
284 2012-05-10 05:20:43 sneak has quit (Ping timeout: 272 seconds)
285 2012-05-10 05:22:15 sneak has joined
286 2012-05-10 05:22:15 sneak has quit (Changing host)
287 2012-05-10 05:22:15 sneak has joined
288 2012-05-10 05:28:40 twobitcoins_ is now known as twobitcoins
289 2012-05-10 05:32:06 sneak has quit (Ping timeout: 272 seconds)
290 2012-05-10 05:32:12 sneak has joined
291 2012-05-10 05:32:12 sneak has quit (Changing host)
292 2012-05-10 05:32:12 sneak has joined
293 2012-05-10 05:39:08 brwyatt is now known as brwyatt|Away
294 2012-05-10 05:46:51 Tykling has quit (Read error: Connection reset by peer)
295 2012-05-10 05:47:34 dr_win has quit (Remote host closed the connection)
296 2012-05-10 05:48:39 <luke-jr> ;;bc,diff
297 2012-05-10 05:48:40 <gribble> 1733207.5138484
298 2012-05-10 05:49:48 brwyatt is now known as Away!~brwyatt@pool-96-226-236-130.dllstx.fios.verizon.net|brwyatt
299 2012-05-10 05:52:42 Tykling has joined
300 2012-05-10 05:59:58 sneak has quit (Ping timeout: 272 seconds)
301 2012-05-10 06:00:06 sneak has joined
302 2012-05-10 06:00:06 sneak has quit (Changing host)
303 2012-05-10 06:00:06 sneak has joined
304 2012-05-10 06:02:25 bitcoinbulletin has quit (Ping timeout: 260 seconds)
305 2012-05-10 06:11:14 stalled has quit (Ping timeout: 244 seconds)
306 2012-05-10 06:15:53 toffoo has quit ()
307 2012-05-10 06:18:17 TD has joined
308 2012-05-10 06:22:47 sneak has quit (Ping timeout: 272 seconds)
309 2012-05-10 06:23:50 stalled has joined
310 2012-05-10 06:27:27 Rabbit67890 has joined
311 2012-05-10 06:27:27 RainbowDashh has quit (Disconnected by services)
312 2012-05-10 06:27:39 Rabbit67890 is now known as RainbowDashh
313 2012-05-10 06:28:01 sneak has joined
314 2012-05-10 06:28:01 sneak has quit (Changing host)
315 2012-05-10 06:28:01 sneak has joined
316 2012-05-10 06:28:18 <JFK911> wow difficulty
317 2012-05-10 06:28:20 <JFK911> !ticker
318 2012-05-10 06:28:20 <gribble> Best bid: 5.04882, Best ask: 5.0492, Bid-ask spread: 0.00038, Last trade: 5.04882, 24 hour volume: 32932, 24 hour low: 5, 24 hour high: 5.09609
319 2012-05-10 06:28:23 <JFK911> ;;bc,,stats
320 2012-05-10 06:28:24 <gribble> Error: "bc,,stats" is not a valid command.
321 2012-05-10 06:28:27 <JFK911> ;;bc,stats
322 2012-05-10 06:28:29 <gribble> Current Blocks: 179537 | Current Difficulty: 1733207.5138484 | Next Difficulty At Block: 181439 | Next Difficulty In: 1902 blocks | Next Difficulty In About: 1 week, 5 days, 15 hours, 47 minutes, and 30 seconds | Next Difficulty Estimate: 1824318.47085058 | Estimated Percent Change: 5.25678294578
323 2012-05-10 06:29:04 sirk390 has joined
324 2012-05-10 06:31:39 agath has quit (Remote host closed the connection)
325 2012-05-10 06:32:33 bitcoinbulletin has joined
326 2012-05-10 06:36:02 ThomasV has quit (Ping timeout: 244 seconds)
327 2012-05-10 06:36:04 terry is now known as terrytibbs
328 2012-05-10 06:37:45 terrytibbs is now known as terry
329 2012-05-10 06:43:12 ThomasV has joined
330 2012-05-10 06:44:52 davout has joined
331 2012-05-10 06:47:51 SomeoneWeird_ has quit (Changing host)
332 2012-05-10 06:47:51 SomeoneWeird_ has joined
333 2012-05-10 06:48:20 SomeoneWeird_ is now known as SomeoneWeird
334 2012-05-10 06:55:55 ThomasV has quit (Ping timeout: 252 seconds)
335 2012-05-10 07:00:41 darkee has quit (!~darkee@gateway/tor-sasl/darkee|Remote host closed the connection)
336 2012-05-10 07:01:24 darkee has joined
337 2012-05-10 07:07:37 TD has quit (Quit: TD)
338 2012-05-10 07:07:46 winterblack has quit (Ping timeout: 276 seconds)
339 2012-05-10 07:08:01 winterblack has joined
340 2012-05-10 07:09:41 davout has quit (Remote host closed the connection)
341 2012-05-10 07:13:11 Blitzboom has quit (Ping timeout: 260 seconds)
342 2012-05-10 07:14:21 stalled_ has joined
343 2012-05-10 07:16:19 vrs has joined
344 2012-05-10 07:16:20 vrs has quit (Changing host)
345 2012-05-10 07:16:20 vrs has joined
346 2012-05-10 07:17:11 Blitzboom has joined
347 2012-05-10 07:17:11 Blitzboom has quit (Changing host)
348 2012-05-10 07:17:11 Blitzboom has joined
349 2012-05-10 07:17:53 stalled has quit (Ping timeout: 272 seconds)
350 2012-05-10 07:19:58 minimoose has quit (Quit: minimoose)
351 2012-05-10 07:23:46 Tykling has quit (Read error: Connection reset by peer)
352 2012-05-10 07:37:12 Tykling has joined
353 2012-05-10 07:37:29 Motest003 has quit (Ping timeout: 240 seconds)
354 2012-05-10 07:38:13 Motest003 has joined
355 2012-05-10 07:43:51 sneak has quit (Ping timeout: 272 seconds)
356 2012-05-10 07:43:55 sneak has joined
357 2012-05-10 07:43:55 sneak has quit (Changing host)
358 2012-05-10 07:43:55 sneak has joined
359 2012-05-10 07:55:43 b4epoche has quit (Ping timeout: 265 seconds)
360 2012-05-10 07:56:22 b4epoche has joined
361 2012-05-10 07:59:50 t7 has joined
362 2012-05-10 08:01:00 BTC_Bear is now known as BTC_Bear|hbrntng
363 2012-05-10 08:03:17 agath has joined
364 2012-05-10 08:04:08 brwyatt is now known as brwyatt|Away
365 2012-05-10 08:06:13 <fpgaminer> Is 0x00 supposed to be base58 encoded as "1" or as "11"? Brainwallet shows "11", but reading the Bitcoin code it seems like it should be just "1".
366 2012-05-10 08:13:34 mmoya has joined
367 2012-05-10 08:19:40 ThomasV has joined
368 2012-05-10 08:20:46 imsaguy has quit ()
369 2012-05-10 08:21:53 asuk has joined
370 2012-05-10 08:21:54 asuk_ has joined
371 2012-05-10 08:30:05 sneak has quit (Ping timeout: 272 seconds)
372 2012-05-10 08:30:56 sirk390 has quit (Quit: Leaving.)
373 2012-05-10 08:32:44 sirk390 has joined
374 2012-05-10 08:35:20 sneak has joined
375 2012-05-10 08:35:21 sneak has quit (Changing host)
376 2012-05-10 08:35:21 sneak has joined
377 2012-05-10 08:38:21 asuk_ has quit (Quit: Lost terminal)
378 2012-05-10 08:38:21 asuk has quit (Quit: Lost terminal)
379 2012-05-10 08:53:32 localhost has quit (Read error: Connection reset by peer)
380 2012-05-10 08:54:29 vrs has left ()
381 2012-05-10 08:55:06 Turingi has joined
382 2012-05-10 08:55:06 Turingi has quit (Changing host)
383 2012-05-10 08:55:06 Turingi has joined
384 2012-05-10 08:55:33 _W_ has quit (Excess Flood)
385 2012-05-10 08:55:40 _W_ has joined
386 2012-05-10 09:00:20 paraipan has joined
387 2012-05-10 09:08:05 sneak has quit (Ping timeout: 272 seconds)
388 2012-05-10 09:08:57 sneak has joined
389 2012-05-10 09:08:57 sneak has quit (Changing host)
390 2012-05-10 09:08:57 sneak has joined
391 2012-05-10 09:15:24 Z0rZ0rZ0r has joined
392 2012-05-10 09:19:39 molecular has quit (Ping timeout: 252 seconds)
393 2012-05-10 09:20:25 molecular has joined
394 2012-05-10 09:24:30 RainbowDashh has quit (Quit: RainbowDashh)
395 2012-05-10 09:25:11 sneak has quit (Ping timeout: 272 seconds)
396 2012-05-10 09:25:29 sneak has joined
397 2012-05-10 09:25:40 sneak has quit (Changing host)
398 2012-05-10 09:25:40 sneak has joined
399 2012-05-10 09:26:26 _Fireball has joined
400 2012-05-10 09:27:57 danbri_ has joined
401 2012-05-10 09:28:42 danbri has quit (Read error: Connection reset by peer)
402 2012-05-10 09:45:37 imsaguy has joined
403 2012-05-10 09:45:40 imsaguy has quit (Changing host)
404 2012-05-10 09:45:40 imsaguy has joined
405 2012-05-10 09:52:25 sneak has quit (Ping timeout: 272 seconds)
406 2012-05-10 09:57:40 sneak has joined
407 2012-05-10 09:57:40 sneak has quit (Changing host)
408 2012-05-10 09:57:40 sneak has joined
409 2012-05-10 09:58:34 imsaguy has quit ()
410 2012-05-10 10:01:19 localhost has joined
411 2012-05-10 10:09:31 dvide has quit ()
412 2012-05-10 10:12:41 sneak has quit (Ping timeout: 272 seconds)
413 2012-05-10 10:15:44 imsaguy has joined
414 2012-05-10 10:17:56 sneak has joined
415 2012-05-10 10:17:56 sneak has quit (Changing host)
416 2012-05-10 10:17:56 sneak has joined
417 2012-05-10 10:18:41 RazielZ has quit (Ping timeout: 260 seconds)
418 2012-05-10 10:29:26 drizztbsd has joined
419 2012-05-10 10:29:26 drizztbsd has quit (Changing host)
420 2012-05-10 10:29:26 drizztbsd has joined
421 2012-05-10 10:33:14 <gribble> New news from bitcoinrss: olea opened issue 1249 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/issues/1249>
422 2012-05-10 10:38:40 Clipse-b has quit (Read error: Connection reset by peer)
423 2012-05-10 10:41:18 torsthaldo has joined
424 2012-05-10 10:46:33 copumpkin has joined
425 2012-05-10 10:59:23 Guest57075 has quit (Changing host)
426 2012-05-10 10:59:24 Guest57075 has joined
427 2012-05-10 10:59:32 Guest57075 is now known as UukGoblin
428 2012-05-10 10:59:41 Cryo has quit (Quit: Leaving)
429 2012-05-10 11:01:24 RazielZ has joined
430 2012-05-10 11:15:58 ski_ has quit (Ping timeout: 250 seconds)
431 2012-05-10 11:20:50 <twmz> gmaxwell: it still didn't help even with sleep(100). we are talking about this line of code (right?)...
432 2012-05-10 11:20:52 <twmz> do { while(!(condition)) { (name).wait(waitablecriticalblock.GetLock()); sleep(100);} } while(0)
433 2012-05-10 11:21:06 <twmz> I confirmed I am running the version I compiled.
434 2012-05-10 11:21:40 <drizztbsd> 100 seconds! :E
435 2012-05-10 11:21:44 <twmz> Is it possible that the busy loop is *inside* the call to (name).wait() and so the sleep is getting called only once after the wait is entirely over?
436 2012-05-10 11:21:47 <sipa> it's in millisecond
437 2012-05-10 11:22:06 <sipa> twmz: if you've a means to test that, please do
438 2012-05-10 11:22:22 chrisb__ has joined
439 2012-05-10 11:22:30 <sipa> twmz: wait, sleep with a small or large s?
440 2012-05-10 11:23:02 <twmz> exactly as I pasted it above. which should it be?
441 2012-05-10 11:23:04 <drizztbsd> Sleep should be milliseconds
442 2012-05-10 11:23:19 <sipa> twmz: try Sleep(1) there
443 2012-05-10 11:23:25 <sipa> Sleep is milliseconds, sleep is seconds
444 2012-05-10 11:23:37 <drizztbsd> yes, I know :)
445 2012-05-10 11:24:17 <twmz> ok, well it's not stuck for 100 seconds. It's still maxing out the CPU, so I don't think that loop is not spinning. it almost has to be deeping in the stack.
446 2012-05-10 11:24:37 <twmz> I get different output in the profiler now that I am profiling the debug version also:
447 2012-05-10 11:25:05 <twmz> http://i.imgur.com/f2359.png
448 2012-05-10 11:25:36 <sipa> hmmm
449 2012-05-10 11:26:00 <sipa> the spinlock seems to be inside .wait(), it seems
450 2012-05-10 11:26:07 <sipa> still, could you try that Sleep(1) ?
451 2012-05-10 11:26:12 datagutt has joined
452 2012-05-10 11:26:14 <twmz> yes, it's compiling
453 2012-05-10 11:27:36 <sipa> somehow i doubt it will make a difference
454 2012-05-10 11:27:52 <sipa> but still, as gavin reported that that seemed to fix the issue...
455 2012-05-10 11:28:20 <Diablo-D3> if you have more than one sleep in your loop, you've gone wrong somewhere
456 2012-05-10 11:29:05 <twmz> only thing I can think is gavin wasn't waiting long enough (the busyloop doesn't happen until enough outbound connections are established, gmaxwell said
457 2012-05-10 11:31:59 sirk390 has left ()
458 2012-05-10 11:32:01 <twmz> ok, it's still at 100% with Sleep(1)
459 2012-05-10 11:32:07 <twmz> after 8 connections, that is
460 2012-05-10 11:32:49 minimoose has joined
461 2012-05-10 11:33:08 <sipa> bah
462 2012-05-10 11:33:20 <sipa> how is one supposed to wait for a condition variable in OSX?
463 2012-05-10 11:35:23 Turingi has quit (Read error: Connection reset by peer)
464 2012-05-10 11:35:38 <sipa> gavinandresen: see above; are you sure the Sleep(1) fixes the 100% usage?
465 2012-05-10 11:36:46 knotwork has quit (Ping timeout: 249 seconds)
466 2012-05-10 11:37:33 sneak has quit (Ping timeout: 272 seconds)
467 2012-05-10 11:38:43 <twmz> IMHO, the boost guys should have the Sleep() in their busy loop. It's obsurd that they feel is is ok to just spin in a tight loop. Of course, there probably is also some kind of OS X specific API for doing this kind of thing that maybe they should take advantage of, but sometimes those APIs are not available to C++ apps (and are only available to Objective C apps). Not sure if that is the case here.
468 2012-05-10 11:38:57 <Diablo-D3> boost is fucktarded, please dont use it.
469 2012-05-10 11:39:33 <sipa> twmz: i'll try to reimplement it using a semaphore, as suggested by jgarzik
470 2012-05-10 11:39:39 <sipa> that is actually more appropriate here
471 2012-05-10 11:39:48 knotwork has joined
472 2012-05-10 11:39:55 <sipa> though i would have liked to just be able to use conditions
473 2012-05-10 11:41:58 <TuxBlackEdo> i have a question, what still needs to be done with the bitcoin client?
474 2012-05-10 11:44:12 <TuxBlackEdo> or is the bitcoin client pretty much done?
475 2012-05-10 11:47:58 sneak has joined
476 2012-05-10 11:47:58 sneak has quit (Changing host)
477 2012-05-10 11:47:58 sneak has joined
478 2012-05-10 11:58:27 sneak has quit (Ping timeout: 272 seconds)
479 2012-05-10 11:58:31 sneak has joined
480 2012-05-10 11:58:31 sneak has quit (Changing host)
481 2012-05-10 11:58:31 sneak has joined
482 2012-05-10 12:02:01 darkee is now known as !~darkee@gateway/tor-sasl/darkee|darkee
483 2012-05-10 12:03:50 <ronaz> is the language still forced to be localized based on os settings? seems to be in 0.6.0.6-beta at least. it sucks, big time.
484 2012-05-10 12:05:35 <sipa> ronaz: 0.7.0 will have it configurable from the options panel
485 2012-05-10 12:06:43 <ronaz> great news!
486 2012-05-10 12:07:59 <Blitzboom> http://wiki.eth-0.nl/images/9/9e/Great_success.jpg
487 2012-05-10 12:08:46 b4epoche has quit (Ping timeout: 244 seconds)
488 2012-05-10 12:08:47 <sipa> ronaz: personally, i never liked translated programs, so even though my native language isn't english, my OS always is
489 2012-05-10 12:09:42 <ronaz> sipa: same for me, my win7 is in english but the client runs in my native language based on some other setting there is
490 2012-05-10 12:09:51 <sipa> hmm, strange
491 2012-05-10 12:11:07 sneak has quit (Ping timeout: 272 seconds)
492 2012-05-10 12:11:16 b4epoche has joined
493 2012-05-10 12:16:22 sneak has joined
494 2012-05-10 12:16:23 sneak has quit (Changing host)
495 2012-05-10 12:16:23 sneak has joined
496 2012-05-10 12:18:04 Lexa has quit (Quit: Lexa)
497 2012-05-10 12:19:37 agricocb has quit (Quit: Leaving.)
498 2012-05-10 12:27:49 Lexa has joined
499 2012-05-10 12:36:55 Clipse has joined
500 2012-05-10 12:37:13 davout has joined
501 2012-05-10 12:37:14 davout has quit (Changing host)
502 2012-05-10 12:37:14 davout has joined
503 2012-05-10 12:37:44 jlr has joined
504 2012-05-10 12:38:49 drizztbsd has quit (Quit: Konversation terminated!)
505 2012-05-10 12:39:28 b4epoche_ has joined
506 2012-05-10 12:39:38 darkskiez has joined
507 2012-05-10 12:39:38 darkskiez has quit (Changing host)
508 2012-05-10 12:39:38 darkskiez has joined
509 2012-05-10 12:45:17 darkskiez has quit (Remote host closed the connection)
510 2012-05-10 12:52:25 sirk390 has joined
511 2012-05-10 12:56:18 Lolcust has quit (Ping timeout: 244 seconds)
512 2012-05-10 12:57:48 <kinlo> sipa: many programs request the region settings from windows to deduct the language
513 2012-05-10 12:57:55 <kinlo> it is indeed extreamly anoying
514 2012-05-10 12:58:19 <kinlo> I'd like to tell the os that I speak english but I like to use dutch conventions etc
515 2012-05-10 12:59:03 davout has quit (Remote host closed the connection)
516 2012-05-10 13:00:43 random_cat_ has quit (Ping timeout: 276 seconds)
517 2012-05-10 13:02:15 imsaguy2 has quit (Remote host closed the connection)
518 2012-05-10 13:05:57 agricocb has joined
519 2012-05-10 13:10:26 danbri_ has quit (Read error: Connection reset by peer)
520 2012-05-10 13:13:51 imsaguy2 has joined
521 2012-05-10 13:21:30 danbri has joined
522 2012-05-10 13:23:40 sgornick has quit (Quit: Ex-Chat)
523 2012-05-10 13:25:10 t7 has quit (Ping timeout: 260 seconds)
524 2012-05-10 13:25:16 t7_ has joined
525 2012-05-10 13:25:27 t7_ is now known as t7
526 2012-05-10 13:28:26 t7_ has joined
527 2012-05-10 13:28:51 b4epoche_ has quit (Quit: Textual IRC Client: http://www.textualapp.com/)
528 2012-05-10 13:30:02 drizztbsd has joined
529 2012-05-10 13:30:03 drizztbsd has quit (Changing host)
530 2012-05-10 13:30:03 drizztbsd has joined
531 2012-05-10 13:31:36 Lolcust has joined
532 2012-05-10 13:31:46 t7 has quit (Ping timeout: 260 seconds)
533 2012-05-10 13:31:50 t7_ is now known as t7
534 2012-05-10 13:36:31 Zarutian has joined
535 2012-05-10 13:36:58 danbri has quit (Read error: No route to host)
536 2012-05-10 13:40:25 Clipse has quit (Quit: Clipse)
537 2012-05-10 13:41:17 danbri has joined
538 2012-05-10 13:42:42 <gribble> New news from bitcoinrss: Diapolo opened pull request 1250 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1250>
539 2012-05-10 13:43:51 Blitzboom has left ()
540 2012-05-10 13:46:07 BurtyB has quit (Ping timeout: 272 seconds)
541 2012-05-10 13:47:53 <gribble> New news from bitcoinrss: Diapolo opened pull request 1251 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1251>
542 2012-05-10 13:50:22 helo_ is now known as helo
543 2012-05-10 13:52:21 random_cat_ has joined
544 2012-05-10 13:54:14 Clipse has joined
545 2012-05-10 13:58:35 guruvan has quit (Ping timeout: 276 seconds)
546 2012-05-10 13:59:12 one_zero has quit ()
547 2012-05-10 14:03:16 Erdon has quit (Quit: Konversation terminated!)
548 2012-05-10 14:04:29 sneak has quit (Ping timeout: 272 seconds)
549 2012-05-10 14:04:34 sneak has joined
550 2012-05-10 14:04:35 sneak has quit (Changing host)
551 2012-05-10 14:04:35 sneak has joined
552 2012-05-10 14:05:01 Lolcust has quit (Ping timeout: 244 seconds)
553 2012-05-10 14:12:50 Lolcust has joined
554 2012-05-10 14:14:57 guruvan has joined
555 2012-05-10 14:19:04 agath has quit (Remote host closed the connection)
556 2012-05-10 14:19:25 agath has joined
557 2012-05-10 14:19:42 imsaguy2 has quit (Ping timeout: 250 seconds)
558 2012-05-10 14:25:27 Turingi has joined
559 2012-05-10 14:25:40 Turingi has quit (Changing host)
560 2012-05-10 14:25:40 Turingi has joined
561 2012-05-10 14:26:37 imsaguy2 has joined
562 2012-05-10 14:26:37 imsaguy2 has quit (Changing host)
563 2012-05-10 14:26:37 imsaguy2 has joined
564 2012-05-10 14:32:28 Xunie has joined
565 2012-05-10 14:41:52 Zarutian has quit (Quit: Zarutian)
566 2012-05-10 14:45:01 sneak has quit (Ping timeout: 272 seconds)
567 2012-05-10 14:47:35 guruvan has quit (Quit: I probably voided the warranty on this thing.....)
568 2012-05-10 14:48:51 guruvan has joined
569 2012-05-10 14:50:17 sneak has joined
570 2012-05-10 14:50:18 sneak has quit (Changing host)
571 2012-05-10 14:50:18 sneak has joined
572 2012-05-10 14:55:57 danbri_ has joined
573 2012-05-10 14:56:00 danbri has quit (Read error: Connection reset by peer)
574 2012-05-10 14:57:56 Motest003 has quit (Ping timeout: 245 seconds)
575 2012-05-10 14:58:52 Motest003 has joined
576 2012-05-10 14:59:36 rdponticelli_ has quit (Ping timeout: 245 seconds)
577 2012-05-10 14:59:54 rdponticelli has joined
578 2012-05-10 15:05:28 d4de has joined
579 2012-05-10 15:05:40 d4de has quit (Changing host)
580 2012-05-10 15:05:40 d4de has joined
581 2012-05-10 15:08:53 d4de has quit (Read error: Connection reset by peer)
582 2012-05-10 15:09:13 Xunie has quit (Read error: Connection reset by peer)
583 2012-05-10 15:11:16 chrisb__ has quit (Ping timeout: 245 seconds)
584 2012-05-10 15:11:16 Xunie has joined
585 2012-05-10 15:15:07 d4de has joined
586 2012-05-10 15:19:36 riush has quit (Ping timeout: 245 seconds)
587 2012-05-10 15:19:46 riush has joined
588 2012-05-10 15:19:46 riush has quit (Changing host)
589 2012-05-10 15:19:46 riush has joined
590 2012-05-10 15:19:51 sneak has quit (Ping timeout: 272 seconds)
591 2012-05-10 15:19:57 sneak has joined
592 2012-05-10 15:19:57 sneak has quit (Changing host)
593 2012-05-10 15:19:57 sneak has joined
594 2012-05-10 15:25:42 Diapolo has joined
595 2012-05-10 15:28:07 imsaguy2 has quit (Read error: Connection reset by peer)
596 2012-05-10 15:29:52 twobitcoins_ has joined
597 2012-05-10 15:30:14 SphericalCow has joined
598 2012-05-10 15:31:10 <luke-jr> gmaxwell: do you think it would be a bad idea to add support for alternative block hashing algorithms scheduled for 2 years from now?
599 2012-05-10 15:31:14 hagen has joined
600 2012-05-10 15:31:32 <drizztbsd> like sha512?
601 2012-05-10 15:31:36 <luke-jr> yes
602 2012-05-10 15:31:39 <luke-jr> and preimage proofs
603 2012-05-10 15:31:52 imsaguy2 has joined
604 2012-05-10 15:31:52 imsaguy2 has quit (Changing host)
605 2012-05-10 15:31:52 imsaguy2 has joined
606 2012-05-10 15:31:55 <drizztbsd> fpgas needs new firmare
607 2012-05-10 15:31:57 <sipa> why preimage proofs?
608 2012-05-10 15:32:01 <luke-jr> sipa: preimage proofs can solve the whole block withholding issue, in theory
609 2012-05-10 15:32:08 <sipa> explain
610 2012-05-10 15:33:07 <luke-jr> sipa: I haven't figured out the details for p2pool/GMP style mining, but for getwork, the pool can include the preimage in the coinbase, and not tell miners what they're looking for in a block
611 2012-05-10 15:33:18 Snapman has quit (Quit: ZNC - http://znc.sourceforge.net)
612 2012-05-10 15:33:18 <luke-jr> then miners won't know which shares to withhold
613 2012-05-10 15:33:21 twobitcoins has quit (Ping timeout: 245 seconds)
614 2012-05-10 15:33:22 SphericalCow has quit (Remote host closed the connection)
615 2012-05-10 15:33:43 <sipa> luke-jr: the block header would need to contain the preimage
616 2012-05-10 15:33:51 <luke-jr> sipa: it could be in the coinbase
617 2012-05-10 15:33:51 <sipa> since you can't decide it in advance
618 2012-05-10 15:33:58 <sipa> agree, in the coinbase would be fine
619 2012-05-10 15:34:03 Snapman has joined
620 2012-05-10 15:34:31 <sipa> i'd wait until SHA-3 is chosen, and has had a few years of testing
621 2012-05-10 15:34:38 SphericalCow has joined
622 2012-05-10 15:34:49 SphericalCow has quit (Changing host)
623 2012-05-10 15:34:49 SphericalCow has joined
624 2012-05-10 15:36:59 <gmaxwell> What sipa says.. though interesting thing about withholding.
625 2012-05-10 15:38:18 <sipa> i wonder if it's necessary to have the PoW hash be equal to the id hash
626 2012-05-10 15:38:53 <gmaxwell> It makes some forms of DOS resistance easier...
627 2012-05-10 15:42:06 hagen has quit (Ping timeout: 252 seconds)
628 2012-05-10 15:42:23 r71 has joined
629 2012-05-10 15:42:26 hagen has joined
630 2012-05-10 15:43:48 r71 has left ("Leaving")
631 2012-05-10 15:48:05 Bigpiggy01Mining has quit (Ping timeout: 250 seconds)
632 2012-05-10 15:48:14 Bigpiggy01Mining has joined
633 2012-05-10 15:48:22 Bigpiggy01Mining has quit (Changing host)
634 2012-05-10 15:48:22 Bigpiggy01Mining has joined
635 2012-05-10 15:52:47 t7 has quit (Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120501201020])
636 2012-05-10 15:55:21 <luke-jr> sipa: gmaxwell: any comments on https://github.com/bitcoin/bitcoin/pull/1240#issuecomment-5627356 notes?
637 2012-05-10 16:00:21 <sipa> luke-jr: i'll have a look at it later
638 2012-05-10 16:00:44 <sipa> anyone want to test http://bitcoin.sipa.be/shatest/test.html in their browser? (it's a HMAC-SHA512 benchmark)
639 2012-05-10 16:01:01 sneak has quit (Ping timeout: 272 seconds)
640 2012-05-10 16:01:29 <gmaxwell> There is a bunch of stuff going on to do SIMD in JS, plus webcl is almost usable... so a year from now the browser hashfunction performance may be very different.
641 2012-05-10 16:04:25 <Diapolo> sipa: I will test ^^ love benches :D
642 2012-05-10 16:04:36 <luke-jr> sipa: Chromium=1607 Konqueror/Webkit=1168 Rekonq=1162
643 2012-05-10 16:04:50 <sipa> painfully slow :(
644 2012-05-10 16:05:02 <sipa> ff 12.0 does 9500 here
645 2012-05-10 16:05:08 <Diapolo> sipa: 9478.67298578199 (FF 14.0a2 Aurora)
646 2012-05-10 16:05:36 <luke-jr> 10706 in FF here
647 2012-05-10 16:05:51 <Diapolo> sipa: IE9 1200 ^^ LOL
648 2012-05-10 16:06:07 <luke-jr> odd, I thought Chromium was the pioneer in fast JS
649 2012-05-10 16:06:42 <sipa> ff is also faster than chromium here
650 2012-05-10 16:06:49 <sipa> a factor 2 only, though
651 2012-05-10 16:07:17 <Diapolo> Mozilla did a great job with their JS engine!
652 2012-05-10 16:07:44 <Diapolo> sipa: IE9 x64 < 300 i/s
653 2012-05-10 16:08:07 <kinlo> I get 6788 in FF and 2282 in chrome
654 2012-05-10 16:08:40 * luke-jr wonders if Mozilla's JS engine supports custom variable trees
655 2012-05-10 16:08:44 <gmaxwell> luke-jr: Chromium is foremost a pioneer in marketing. They got a head start on faster JIT based JS.. but mozilla already had the trace based optimizer which is much better than JIT for many tasks. When they finally combined JIT+Trace they had faster performance.
656 2012-05-10 16:09:22 <sipa> Diapolo: that's... almost ridiculous
657 2012-05-10 16:09:36 <kinlo> if only firefox would just fix a few of the anoying rough edges
658 2012-05-10 16:09:41 toffoo has joined
659 2012-05-10 16:09:46 <Diapolo> sipa: I can do better by hand :D.
660 2012-05-10 16:09:46 <sipa> thanks all
661 2012-05-10 16:09:56 <Diapolo> kinlo: What you mean?
662 2012-05-10 16:10:12 <kinlo> Diapolo: might sound stupid, but I don't like the error messages that firefox gives me
663 2012-05-10 16:10:31 <kinlo> they are almost as bad as ie nowadays
664 2012-05-10 16:10:47 <kinlo> ie just says "server error or dns error" or something like that
665 2012-05-10 16:10:53 <kinlo> you really have no clue why it failed
666 2012-05-10 16:11:02 <kinlo> but firefox aint much better either
667 2012-05-10 16:11:09 <Diapolo> kinlo: Well I don't see much of them so ... I consider this a minor glitch at max.
668 2012-05-10 16:11:14 <kinlo> I like a technical reason why it failed
669 2012-05-10 16:11:30 <luke-jr> I forget why I stopped using Firefox this last time
670 2012-05-10 16:11:30 TD has joined
671 2012-05-10 16:11:33 <luke-jr> maybe it crashed too much
672 2012-05-10 16:11:37 <kinlo> Diapolo: don't you want to know wether you couldn't connect due a connection refused or an internal server error?
673 2012-05-10 16:11:41 <Diapolo> kinlo: Perhaps there is an Addon for this :)?
674 2012-05-10 16:11:41 <luke-jr> oh, and the latest version doesn't build
675 2012-05-10 16:11:52 <kinlo> if it's connection refused I know I just have to restart it
676 2012-05-10 16:12:35 <Diapolo> kinlo: Even as IT-pro (kind of ^^) I'm fine with what I get ... if a server is down I can do research by myself.
677 2012-05-10 16:12:38 <kinlo> Diapolo: I doubt if there is an addon, the core must support that
678 2012-05-10 16:12:56 <kinlo> Diapolo: so do I, I open a terminal and do a wget - as wget gives me a reliable error
679 2012-05-10 16:13:16 <kinlo> I don't like that step, coz when I have to help someone else it just takes too much time
680 2012-05-10 16:13:29 <Diapolo> You could also use an addon to look into the HTTP headers e.g.
681 2012-05-10 16:13:56 <kinlo> wouldn't tell me the difference between a dns error, timeout or connection refused
682 2012-05-10 16:14:48 <gavinandresen> sipa: Sleep(1) doesn't fix the 100% cpu bug
683 2012-05-10 16:14:51 Zarutian has joined
684 2012-05-10 16:14:53 <sipa> gavinandresen: i know
685 2012-05-10 16:15:12 <sipa> gavinandresen: i've rewritten the waiting system using semaphores, testing it now
686 2012-05-10 16:16:07 <luke-jr> nice
687 2012-05-10 16:16:48 sneak has joined
688 2012-05-10 16:16:49 sneak has quit (Changing host)
689 2012-05-10 16:16:49 sneak has joined
690 2012-05-10 16:24:16 <sipa> hmm, how should the interaction between -addnode and the connectioncount be?
691 2012-05-10 16:24:23 b4epoche has quit (Ping timeout: 252 seconds)
692 2012-05-10 16:26:40 b4epoche has joined
693 2012-05-10 16:27:19 Z0rZ0rZ0r1 has joined
694 2012-05-10 16:27:19 Z0rZ0rZ0r has quit (Disconnected by services)
695 2012-05-10 16:27:19 Z0rZ0rZ0r1 is now known as Z0rZ0rZ0r
696 2012-05-10 16:27:41 <jgarzik> sipa: addnode is IMO advisory: "please connect to this node, along with the others", much weaker than -connect's "you MUST connect only to <these> nodes"
697 2012-05-10 16:27:45 imsaguy2 has quit (Ping timeout: 260 seconds)
698 2012-05-10 16:27:47 <jgarzik> sipa: so I wouldn't make it separate
699 2012-05-10 16:28:01 <jgarzik> addnode in practice just adds an initial connection attempt
700 2012-05-10 16:28:17 <sipa> not at all
701 2012-05-10 16:28:33 <sipa> its semantics was changed some time ago to "try to maintain a connection to this node"
702 2012-05-10 16:28:35 <gmaxwell> jgarzik: Bzzt.
703 2012-05-10 16:28:44 BTC_Bear is now known as hbrntng!~BTC_Bear@unaffiliated/btc-bear/x-5233302|BTC_Bear
704 2012-05-10 16:28:59 agricocb has quit (Quit: Leaving.)
705 2012-05-10 16:29:38 <gmaxwell> Yea. The old addnode behavior meant that it largely did nothing. Bluematt made a -addnodenoreally that was persistent... and at merge time it was decided that it should just replace addnode.
706 2012-05-10 16:29:54 <sipa> it was originally called -keepnode, i think
707 2012-05-10 16:30:07 wasabi has quit (Read error: Connection reset by peer)
708 2012-05-10 16:30:28 <gmaxwell> Thanks, couldn't remember.
709 2012-05-10 16:34:40 t7 has joined
710 2012-05-10 16:38:27 d4de has quit (Ping timeout: 260 seconds)
711 2012-05-10 16:39:34 d4de has joined
712 2012-05-10 16:39:35 d4de has quit (Changing host)
713 2012-05-10 16:39:35 d4de has joined
714 2012-05-10 16:39:39 sneak has quit (Ping timeout: 272 seconds)
715 2012-05-10 16:39:45 sneak has joined
716 2012-05-10 16:39:46 sneak has quit (Changing host)
717 2012-05-10 16:39:46 sneak has joined
718 2012-05-10 16:40:09 toffoo has quit ()
719 2012-05-10 16:40:45 agricocb has joined
720 2012-05-10 16:40:54 Clipse has quit (Quit: Clipse)
721 2012-05-10 16:41:05 <helo> the qr code icon just looks like a fuzzy blob... suggesting again helo.org/qrcode.png
722 2012-05-10 16:42:32 <gmaxwell> helo: open a pull request, don't just request on IRC. :)
723 2012-05-10 16:42:45 <kinlo> is there a way to make a connect to automatically reconnect after a connection is lost?
724 2012-05-10 16:42:47 <helo> yeah...
725 2012-05-10 16:43:01 <kinlo> I now have to restart my bitcoind from time to time
726 2012-05-10 16:44:09 osmosis has joined
727 2012-05-10 16:44:21 <gmaxwell> kinlo: huh? You're saying you have a -connect set and it doesn't reconnect on its own? It certantly should (and does for me). What OS?
728 2012-05-10 16:45:51 <Diapolo> helo: That Icon got updated recently, are you talking about the current one?
729 2012-05-10 16:46:30 <Diapolo> https://github.com/bitcoin/bitcoin/blob/037a8daee68907b6258c2421a6f0d7265cd1b3ad/src/qt/res/icons/qrcode.png
730 2012-05-10 16:47:03 <helo> ahh, yeah that one is just as good
731 2012-05-10 16:47:08 <kinlo> gmaxwell: it should?
732 2012-05-10 16:47:14 <sipa> twmz, gavinandresen: can you try compiling/running https://github.com/sipa/bitcoin/tree/semaphores ?
733 2012-05-10 16:47:29 <sipa> and tell whether it removes the 100% CPU issue
734 2012-05-10 16:47:33 <kinlo> gmaxwell: I just restarted it if it wasn't having enough connections, but perhaps I should test wether it would reconnect automatically :p
735 2012-05-10 16:47:37 <gavinandresen> sipa: sure
736 2012-05-10 16:47:47 <kinlo> gmaxwell: I was under the impression it would never do that
737 2012-05-10 16:48:11 ThomasV_ has joined
738 2012-05-10 16:49:21 <gmaxwell> kinlo: 'wasn't having enough connections' What exactly are you doing? if you use -connect it should only have one connection out (to the node you told it to connect to)
739 2012-05-10 16:50:14 <kinlo> gmaxwell: I use connect multiple times
740 2012-05-10 16:50:16 <kinlo> gmaxwell: that does work fine :)
741 2012-05-10 16:50:17 paul0 has quit (Quit: paul0)
742 2012-05-10 16:50:34 <gmaxwell> Okay that too.
743 2012-05-10 16:50:50 <gmaxwell> But then you should only have N connections. And it should keep them up.
744 2012-05-10 16:51:02 <kinlo> yeah, 2 exactly
745 2012-05-10 16:51:23 <kinlo> but sometimes I looked at it and it would be 1, so I restarted it, assuming it wouldn't do that by itself
746 2012-05-10 16:52:41 <gavinandresen> sipa: compiled, running now...
747 2012-05-10 16:54:06 b4epoche_ has joined
748 2012-05-10 16:54:25 wasabi has joined
749 2012-05-10 16:55:21 darkee has quit (Remote host closed the connection)
750 2012-05-10 16:55:55 darkee has joined
751 2012-05-10 16:58:03 <gmaxwell> kinlo: well the backoffs used for connect are brain damaged.
752 2012-05-10 16:58:54 <kinlo> gmaxwell: I'll have a look at it and let you know if something is wrong with the connect
753 2012-05-10 16:59:00 imsaguy2 has joined
754 2012-05-10 16:59:01 <kinlo> it's production so I can't just test it
755 2012-05-10 16:59:15 <gmaxwell> I have no clue what satoshi was thinking here.
756 2012-05-10 16:59:24 <gavinandresen> sipa: 10 connections, 100% CPU
757 2012-05-10 16:59:40 <gmaxwell> The time between retries on connect tend to infinity as the uptime of the node increases.
758 2012-05-10 16:59:42 <sipa> grmbl
759 2012-05-10 17:00:10 Clipse has joined
760 2012-05-10 17:00:24 <sipa> gavinandresen: can you find out where it's spending time now?
761 2012-05-10 17:00:36 <kinlo> gmaxwell: so I need to restart the node to make reconnect work fast enough ? :)
762 2012-05-10 17:00:58 <kinlo> that does sound stupid, however, not that big of an issue, I can tolerate that bitcoind being offline for a while
763 2012-05-10 17:00:58 <gavinandresen> sipa: maybe...
764 2012-05-10 17:01:04 <gmaxwell> kinlo: well it should take a long time before its really slow.
765 2012-05-10 17:01:16 darkee has joined
766 2012-05-10 17:01:24 <kinlo> gmaxwell: as long as you guys keep releasing newer versions, that won't happen then :)
767 2012-05-10 17:01:52 <sipa> gmaxwell: if i read the code correctly, it will very quickly be one attempt every 5s
768 2012-05-10 17:02:05 <sipa> for -connect, if that's what you're still talking about
769 2012-05-10 17:02:32 darkee has quit (Ping timeout: 276 seconds)
770 2012-05-10 17:02:39 <gmaxwell> sipa: okay apparently I am too stupid for code today. The && in my mind was becoming an or.
771 2012-05-10 17:03:00 <gmaxwell> Well never mind then. indeed all is fine.
772 2012-05-10 17:03:01 <kinlo> sipa: that would surprise me, in that case it would not be possible for me to see only 1 connection :)
773 2012-05-10 17:03:17 <kinlo> oh well, ignore it, connect isn't for the regular user
774 2012-05-10 17:03:19 <gmaxwell> kinlo: sure it would. It's failing to reconnect sometimes.
775 2012-05-10 17:03:33 <kinlo> gmaxwell: my bitcoins are always online :)
776 2012-05-10 17:03:41 <gmaxwell> kinlo: doesn't mean they aren't full.
777 2012-05-10 17:03:44 <kinlo> bitcoind's*
778 2012-05-10 17:04:07 <kinlo> gmaxwell: I assumed the limit was > 100, never got more then 20 connections on them
779 2012-05-10 17:05:30 <gmaxwell> well look at your logs... because it does retry every 5 seconds.
780 2012-05-10 17:06:30 <kinlo> I will if it happens again
781 2012-05-10 17:09:14 Cryo has joined
782 2012-05-10 17:09:36 <gavinandresen> sipa: running again under valgrind --callgrind ....
783 2012-05-10 17:09:55 imsaguy2 has quit (Ping timeout: 248 seconds)
784 2012-05-10 17:10:35 imsaguy2 has joined
785 2012-05-10 17:10:43 imsaguy2 has quit (Changing host)
786 2012-05-10 17:10:43 imsaguy2 has joined
787 2012-05-10 17:11:09 aGV-[e] has quit (Ping timeout: 245 seconds)
788 2012-05-10 17:14:19 <sipa> gavinandresen: just gdb, wait untill 100%, interrupt somewhere, and see which thread is not sleeping?
789 2012-05-10 17:14:31 <sipa> gavinandresen: (ok, i admit, i don't know callgrind)
790 2012-05-10 17:14:48 agricocb has quit (Quit: Leaving.)
791 2012-05-10 17:15:38 <gavinandresen> mmm. callgrind isn't being extremely helpful, it says interprocess_semaphore.hpp:boost::interprocess::interprocess_semaphore::wait() is being called a bunch
792 2012-05-10 17:17:01 sneak has quit (Ping timeout: 272 seconds)
793 2012-05-10 17:17:57 <sipa> pfff, i'm inclined to just write a wrapper around it that does Sleep(100) and checks from time to time
794 2012-05-10 17:18:39 <gavinandresen> sipa: how do I get gdb to tell me which thread is not sleeping?
795 2012-05-10 17:19:31 <sipa> gavinandresen: info threads
796 2012-05-10 17:19:40 <gavinandresen> of course... (I trued show threads)
797 2012-05-10 17:20:18 <b4epoche> sipa: 5420 in Safari 5.1.7
798 2012-05-10 17:20:36 MobiusL has quit (Remote host closed the connection)
799 2012-05-10 17:20:53 <Cryo> you're still fighting the threading issue with sleep?
800 2012-05-10 17:21:00 <gavinandresen> sipa: gdb isn't being very helpful either: https://gist.github.com/2654539
801 2012-05-10 17:21:44 MobiusL has joined
802 2012-05-10 17:21:51 Davincij15 has joined
803 2012-05-10 17:22:17 agricocb has joined
804 2012-05-10 17:22:38 <gavinandresen> sipa: you don't suppose it's an issue that's been fixed in boost 1.49.... (I'm using 1.47)
805 2012-05-10 17:23:09 sneak has joined
806 2012-05-10 17:23:10 sneak has quit (Changing host)
807 2012-05-10 17:23:10 sneak has joined
808 2012-05-10 17:24:38 <Diapolo> http://www.boost.org/users/history/version_1_49_0.html
809 2012-05-10 17:25:54 <gavinandresen> I'll deactivate 1.47 and compile 1.49, see if that fixes the issue.
810 2012-05-10 17:26:30 <gavinandresen> (that'll take a while, though)
811 2012-05-10 17:27:05 <sipa> i don't see anything related in the changelog
812 2012-05-10 17:29:18 BurtyB has joined
813 2012-05-10 17:30:41 BGL has joined
814 2012-05-10 17:30:46 wasabi1 has quit (Read error: Connection reset by peer)
815 2012-05-10 17:32:12 BurtyB has quit (Read error: Connection reset by peer)
816 2012-05-10 17:32:34 BurtyB has joined
817 2012-05-10 17:34:41 <Cryo> fixes osx deadlock
818 2012-05-10 17:35:37 Clipse has quit (Ping timeout: 260 seconds)
819 2012-05-10 17:36:32 imsaguy2 has quit (Read error: Connection reset by peer)
820 2012-05-10 17:37:35 imsaguy2 has joined
821 2012-05-10 17:37:36 imsaguy2 has quit (Changing host)
822 2012-05-10 17:37:36 imsaguy2 has joined
823 2012-05-10 17:38:17 gfinn has quit (Remote host closed the connection)
824 2012-05-10 17:39:54 Mad7Scientist has quit (Ping timeout: 245 seconds)
825 2012-05-10 17:43:37 sneak has quit (Ping timeout: 272 seconds)
826 2012-05-10 17:48:07 <jgarzik> gmaxwell: noted
827 2012-05-10 17:48:09 <jgarzik> so
828 2012-05-10 17:48:28 <gmaxwell> Cryo: deadlock?
829 2012-05-10 17:48:48 <jgarzik> what is everybody's favorite python ECDSA module? I see warner/python-ecdsa and pypi/ecdsa
830 2012-05-10 17:48:52 <jgarzik> phantomcircuit: ^^
831 2012-05-10 17:49:12 Mad7Scientist has joined
832 2012-05-10 17:49:36 Clipse has joined
833 2012-05-10 17:49:54 gfinn has joined
834 2012-05-10 17:49:57 <Cryo> was reading the boost fixes
835 2012-05-10 17:50:37 <gmaxwell> ah.
836 2012-05-10 17:54:03 Diapolo has quit (Ping timeout: 245 seconds)
837 2012-05-10 17:56:30 barmstrong has quit (Remote host closed the connection)
838 2012-05-10 17:58:09 * jgarzik stores a pickle'd (python serialized) python class inside an sqlite database, bastardizing sqlite as a key/value database. Ewww... but have other tables, so it works
839 2012-05-10 17:58:49 d4de has quit (Ping timeout: 272 seconds)
840 2012-05-10 17:59:10 sneak has joined
841 2012-05-10 17:59:11 sneak has quit (Changing host)
842 2012-05-10 17:59:11 sneak has joined
843 2012-05-10 18:00:14 <sipa> jgarzik: *puke*
844 2012-05-10 18:01:28 d4de has joined
845 2012-05-10 18:05:42 barmstrong has joined
846 2012-05-10 18:05:46 barmstrong has quit (Remote host closed the connection)
847 2012-05-10 18:06:01 wasabi1 has joined
848 2012-05-10 18:06:17 barmstrong has joined
849 2012-05-10 18:17:00 <weex> jgarzik: seems legit
850 2012-05-10 18:25:30 danbri_ has quit (Read error: Connection reset by peer)
851 2012-05-10 18:25:33 danbri has joined
852 2012-05-10 18:26:59 Diablo-D3 has quit (Ping timeout: 244 seconds)
853 2012-05-10 18:28:30 hagen has quit (Ping timeout: 260 seconds)
854 2012-05-10 18:29:27 drizztbsd has quit (Quit: Konversation terminated!)
855 2012-05-10 18:34:42 winterblack has quit (Remote host closed the connection)
856 2012-05-10 18:34:43 winterblack_ has joined
857 2012-05-10 18:35:08 winterblack_ has quit (Remote host closed the connection)
858 2012-05-10 18:35:10 winterblack has joined
859 2012-05-10 18:35:32 winterblack has quit (Read error: Connection reset by peer)
860 2012-05-10 18:35:43 <gavinandresen> sipa: no difference compiled against boost 1.49, still 100% cpu
861 2012-05-10 18:37:09 b4epoche has quit (Quit: Textual IRC Client: http://www.textualapp.com/)
862 2012-05-10 18:37:09 b4epoche_ is now known as b4epoche
863 2012-05-10 18:37:20 Joric has joined
864 2012-05-10 18:37:20 Joric has quit (Changing host)
865 2012-05-10 18:37:20 Joric has joined
866 2012-05-10 18:38:02 erska_ has quit (Ping timeout: 260 seconds)
867 2012-05-10 18:40:45 hagen has joined
868 2012-05-10 18:42:44 guruvan has quit (Remote host closed the connection)
869 2012-05-10 18:43:18 RainbowDashh has joined
870 2012-05-10 18:43:34 RainbowDashh is now known as Rabbit67890
871 2012-05-10 18:45:41 sneak has quit (Ping timeout: 272 seconds)
872 2012-05-10 18:45:57 sneak has joined
873 2012-05-10 18:45:58 sneak has quit (Changing host)
874 2012-05-10 18:45:58 sneak has joined
875 2012-05-10 18:48:23 <sipa> gavinandresen: updated semaphores branch; it now uses a polling loop on OSX
876 2012-05-10 18:49:11 <gavinandresen> sipa: compiling....
877 2012-05-10 18:54:01 Rabbit67890 has quit (Quit: Rabbit67890)
878 2012-05-10 18:55:11 erska has joined
879 2012-05-10 18:58:39 guruvan has joined
880 2012-05-10 19:00:04 <gavinandresen> sipa: 9 connections, less than 1% CPU time... looking good
881 2012-05-10 19:00:39 <sipa> gavinandresen: i'm glad it already compiled the first time...
882 2012-05-10 19:00:49 RainbowDashh has joined
883 2012-05-10 19:01:11 <gavinandresen> can't be any bugs if it compiled the first time.....
884 2012-05-10 19:03:56 bonks has joined
885 2012-05-10 19:04:05 Nicksasa has joined
886 2012-05-10 19:04:05 Nicksasa has quit (Changing host)
887 2012-05-10 19:04:05 Nicksasa has joined
888 2012-05-10 19:04:45 bonks has left ()
889 2012-05-10 19:07:46 <sipa> gavinandresen: riiiight...
890 2012-05-10 19:08:45 BTC_Bear is now known as BTC_Bear|hbrntng
891 2012-05-10 19:08:55 <sipa> gavinandresen: i just hope mutexes still work on OSX...
892 2012-05-10 19:08:58 Joric has quit ()
893 2012-05-10 19:09:07 <sipa> even if condition variables and semaphores don't
894 2012-05-10 19:09:32 Rabbit67890 has joined
895 2012-05-10 19:09:32 RainbowDashh has quit (Disconnected by services)
896 2012-05-10 19:11:46 danbri_ has joined
897 2012-05-10 19:12:14 RainbowDashh has joined
898 2012-05-10 19:12:20 BTC_Bear is now known as hbrntng!~BTC_Bear@unaffiliated/btc-bear/x-5233302|BTC_Bear
899 2012-05-10 19:12:32 danbri has quit (Read error: No route to host)
900 2012-05-10 19:12:43 Rabbit67890 has quit (Read error: Connection reset by peer)
901 2012-05-10 19:14:40 <sipa> gavinandresen: still compiles?
902 2012-05-10 19:15:33 RainbowDashh has quit (Client Quit)
903 2012-05-10 19:16:43 RainbowDashh has joined
904 2012-05-10 19:16:49 datagutt has quit (Quit: kthxbai)
905 2012-05-10 19:16:51 RainbowDashh has quit (Client Quit)
906 2012-05-10 19:17:09 Matt_von_Mises has joined
907 2012-05-10 19:20:31 ovidiusoft has quit (Quit: leaving)
908 2012-05-10 19:20:46 <gribble> New news from bitcoinrss: sipa opened pull request 1252 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1252>
909 2012-05-10 19:21:02 danbri_ has quit (Read error: Connection reset by peer)
910 2012-05-10 19:21:21 danbri has joined
911 2012-05-10 19:22:17 MobiusL has quit (Ping timeout: 276 seconds)
912 2012-05-10 19:22:37 ovidiusoft has joined
913 2012-05-10 19:23:29 MobiusL has joined
914 2012-05-10 19:27:52 danbri_ has joined
915 2012-05-10 19:27:57 danbri has quit (Read error: Connection reset by peer)
916 2012-05-10 19:28:30 RazielZ has quit (Ping timeout: 240 seconds)
917 2012-05-10 19:31:00 erle- has joined
918 2012-05-10 19:32:24 danbri has joined
919 2012-05-10 19:33:41 danbri has quit (Read error: Connection reset by peer)
920 2012-05-10 19:33:55 danbri has joined
921 2012-05-10 19:34:09 danbri_ has quit (Ping timeout: 244 seconds)
922 2012-05-10 19:38:13 danbri_ has joined
923 2012-05-10 19:38:17 Motest003 has quit (Ping timeout: 244 seconds)
924 2012-05-10 19:38:17 Motest031 has joined
925 2012-05-10 19:38:36 smtmnyz_ is now known as smtmnyz
926 2012-05-10 19:39:17 danbri__ has joined
927 2012-05-10 19:39:55 danbri has quit (Read error: Connection reset by peer)
928 2012-05-10 19:41:43 danbri has joined
929 2012-05-10 19:42:56 danbri_ has quit (Ping timeout: 244 seconds)
930 2012-05-10 19:43:20 sneak has quit (Ping timeout: 272 seconds)
931 2012-05-10 19:45:00 danbri__ has quit (Ping timeout: 244 seconds)
932 2012-05-10 19:46:06 danbri has quit (Read error: Connection reset by peer)
933 2012-05-10 19:46:10 danbri has joined
934 2012-05-10 19:46:42 vigilyn has joined
935 2012-05-10 19:48:36 sneak has joined
936 2012-05-10 19:48:36 sneak has quit (Changing host)
937 2012-05-10 19:48:36 sneak has joined
938 2012-05-10 19:50:45 RazielZ has joined
939 2012-05-10 19:50:54 traviscj has joined
940 2012-05-10 19:51:44 danbri_ has joined
941 2012-05-10 19:51:58 danbri has quit (Read error: No route to host)
942 2012-05-10 19:56:57 cande has joined
943 2012-05-10 19:59:59 barmstrong has quit (Remote host closed the connection)
944 2012-05-10 20:00:32 danbri has joined
945 2012-05-10 20:00:36 danbri has quit (Client Quit)
946 2012-05-10 20:01:04 barmstrong has joined
947 2012-05-10 20:01:08 danbri_ has quit (Read error: No route to host)
948 2012-05-10 20:02:17 MobiusL has quit (Remote host closed the connection)
949 2012-05-10 20:02:28 <Matt_von_Mises> For my bitcoin library I'm making would it make more sense to use big-endian bignums or little-endian? What would be most compatible? Seems bitcoin uses a mixture of big-endian and little-endian.
950 2012-05-10 20:02:29 erle- has quit (Quit: erle-)
951 2012-05-10 20:03:17 <sipa> internally, it's almost everywhere little-endian
952 2012-05-10 20:03:33 MobiusL has joined
953 2012-05-10 20:03:44 <sipa> some crypto encodings are big endian, but those are done by OpenSSL
954 2012-05-10 20:06:28 <Matt_von_Mises> Hmm, it seems the bitcoinj library uses big-endian. I got carried away and was just copying that. I guess it would make more sense to use little-endian to avoid conversions. Thanks.
955 2012-05-10 20:06:56 <TD> java is big endian
956 2012-05-10 20:07:00 <TD> bitcoin is a mix of big and little
957 2012-05-10 20:07:03 <TD> -> pain results
958 2012-05-10 20:07:13 Zarutian has quit (Quit: Zarutian)
959 2012-05-10 20:08:06 osmosis has quit (Quit: Leaving)
960 2012-05-10 20:08:33 <Matt_von_Mises> Big endian is nicer to visualise but it does cause issues with pointers and length adjustments
961 2012-05-10 20:08:44 <Matt_von_Mises> I'll use little-endian. Makes sense.
962 2012-05-10 20:09:34 merde has joined
963 2012-05-10 20:15:00 sneak has quit (Ping timeout: 272 seconds)
964 2012-05-10 20:19:04 <gavinandresen> sipa: could you backport a minimal 100% CPU fix to the 0.6.2 branch? cherry-picking pulls from 1252 doesn't work because they depend on post-0.6 changes...
965 2012-05-10 20:19:27 <gavinandresen> I want to release a 0.6.2.something for osx to fix this one bug.
966 2012-05-10 20:24:35 <sipa> i'm on it
967 2012-05-10 20:25:24 sneak has joined
968 2012-05-10 20:25:41 sneak has quit (Changing host)
969 2012-05-10 20:25:41 sneak has joined
970 2012-05-10 20:31:16 <sipa> gavinandresen: https://github.com/sipa/bitcoin/tree/semaphores-v0.6.2
971 2012-05-10 20:31:22 <sipa> (very minimally tested only)
972 2012-05-10 20:31:48 traviscj has quit (Remote host closed the connection)
973 2012-05-10 20:32:14 <gavinandresen> sipa: thanks
974 2012-05-10 20:32:19 <gavinandresen> (i'll compile and test)
975 2012-05-10 20:33:11 <sipa> segfault
976 2012-05-10 20:33:38 osmosis has joined
977 2012-05-10 20:35:09 vigilyn has quit (Read error: Operation timed out)
978 2012-05-10 20:35:17 barmstrong has quit (Read error: Connection reset by peer)
979 2012-05-10 20:35:26 traviscj has joined
980 2012-05-10 20:36:10 barmstrong has joined
981 2012-05-10 20:36:50 barmstro_ has joined
982 2012-05-10 20:37:03 barmstrong has quit (Read error: Connection reset by peer)
983 2012-05-10 20:37:50 toffoo has joined
984 2012-05-10 20:37:59 <sipa> fixed
985 2012-05-10 20:38:44 <sipa> seems to work
986 2012-05-10 20:40:35 AlexWaters has joined
987 2012-05-10 20:40:44 AlexWaters has quit (Changing host)
988 2012-05-10 20:40:44 AlexWaters has joined
989 2012-05-10 20:42:16 riush has quit (Quit: leaving)
990 2012-05-10 20:43:30 ppr has quit (Ping timeout: 240 seconds)
991 2012-05-10 20:43:47 Diapolo has joined
992 2012-05-10 20:45:42 hagen has quit (Ping timeout: 252 seconds)
993 2012-05-10 20:46:27 ThomasV_ has quit (Ping timeout: 248 seconds)
994 2012-05-10 20:48:38 barmstro_ has quit (Remote host closed the connection)
995 2012-05-10 20:49:52 <gavinandresen> i hate c++ compiler error messages....
996 2012-05-10 20:49:56 ThomasV_ has joined
997 2012-05-10 20:50:09 <gavinandresen> sipa: compiler error here, let me see if I can figure out what it actually is...
998 2012-05-10 20:50:13 <BlueMatt> gavinandresen: I hate boost c++ compiler error messages
999 2012-05-10 20:50:52 <gavinandresen> error is src/qt/qtipcserver.cpp line 33 ...
1000 2012-05-10 20:51:30 <BlueMatt> on osx? I thought that file was one big comment on osx?
1001 2012-05-10 20:52:18 <sipa> gavinandresen: muhuw?
1002 2012-05-10 20:52:18 <gavinandresen> the ipcInit() does nothing on OSX and Windows
1003 2012-05-10 20:52:22 <sipa> i didn't touch that
1004 2012-05-10 20:53:46 <Diapolo> I did touch this, but that's not in the master ^^.
1005 2012-05-10 20:54:55 <gavinandresen> sipa: checking to see where it broke....
1006 2012-05-10 20:56:51 barmstrong has joined
1007 2012-05-10 20:58:17 elkingrey has joined
1008 2012-05-10 20:58:55 hagen has joined
1009 2012-05-10 20:59:50 cande has quit (Remote host closed the connection)
1010 2012-05-10 21:00:27 ThomasV_ has quit (Quit: Quitte)
1011 2012-05-10 21:03:08 sneak has quit (Ping timeout: 272 seconds)
1012 2012-05-10 21:03:29 <gavinandresen> sipa: it's not you, I think boost 1.49 broke it
1013 2012-05-10 21:07:16 AlexWaters has quit (Remote host closed the connection)
1014 2012-05-10 21:08:32 sneak has joined
1015 2012-05-10 21:08:33 sneak has quit (Changing host)
1016 2012-05-10 21:08:33 sneak has joined
1017 2012-05-10 21:08:56 <gmaxwell> er did githum just merge all the issues and pull requests?
1018 2012-05-10 21:09:01 <gmaxwell> er github
1019 2012-05-10 21:10:09 AlexWaters has joined
1020 2012-05-10 21:10:17 <Diapolo> gmaxwell: no
1021 2012-05-10 21:10:40 <Diapolo> but it seems Githup is having a hickup today ^^
1022 2012-05-10 21:10:45 <Diapolo> -p +b
1023 2012-05-10 21:10:51 Slix` has joined
1024 2012-05-10 21:10:56 <gmaxwell> https://github.com/bitcoin/bitcoin/issues < this appears full of pull requests now
1025 2012-05-10 21:11:34 <sipa> it's just empty here
1026 2012-05-10 21:11:41 AlexWaters has quit (Remote host closed the connection)
1027 2012-05-10 21:12:10 <gavinandresen> that's the final straw! We should move to gitorious! (kidding, just trolling luke....)
1028 2012-05-10 21:12:13 <Diapolo> try to reload, they seem to change their layout / icons / graphics
1029 2012-05-10 21:12:19 <jgarzik> github has been spotty for the past several days
1030 2012-05-10 21:12:47 <jgarzik> clicking on sipa's IPv6 pull req would result in no discussion or commits. <ctrl><shift><R> reload would usually fix it... but not always
1031 2012-05-10 21:13:50 chrisb__ has joined
1032 2012-05-10 21:13:53 AlexWaters has joined
1033 2012-05-10 21:14:38 <sipa> gavinandresen: you mean you wouldn't like an empty issue list...?
1034 2012-05-10 21:15:00 <sipa> it's a feature!
1035 2012-05-10 21:15:06 <gavinandresen> rm -rf issues
1036 2012-05-10 21:15:10 <gavinandresen> done!
1037 2012-05-10 21:15:41 AlexWaters has quit (Remote host closed the connection)
1038 2012-05-10 21:15:48 <sipa> comparing HMAC-SHA512 in JavaScript vs OpenSSL: slowdown between 50x and 500x
1039 2012-05-10 21:16:01 * sipa cries
1040 2012-05-10 21:16:52 <gmaxwell> And OpenSSL's implementation is probably fast but not the fastest possible.
1041 2012-05-10 21:18:06 <sipa> the same is probably true about the two javascript implementations i tried
1042 2012-05-10 21:18:21 AlexWaters has joined
1043 2012-05-10 21:18:47 <gavinandresen> sipa: testing semaphores-0.6.2 now....
1044 2012-05-10 21:19:12 AlexWaters has quit (Remote host closed the connection)
1045 2012-05-10 21:19:19 riush has joined
1046 2012-05-10 21:19:19 riush has quit (Changing host)
1047 2012-05-10 21:19:19 riush has joined
1048 2012-05-10 21:22:14 gribble has quit (Read error: Operation timed out)
1049 2012-05-10 21:22:18 nanotube has quit (Read error: Operation timed out)
1050 2012-05-10 21:23:22 <gmaxwell> actually, looks like openssl is pretty good: http://bench.cr.yp.to/impl-hash/sha512.html
1051 2012-05-10 21:23:23 rdponticelli_ has joined
1052 2012-05-10 21:24:17 rdponticelli has quit (Ping timeout: 260 seconds)
1053 2012-05-10 21:24:48 gribble has joined
1054 2012-05-10 21:25:31 <gribble> New news from bitcoinrss: gavinandresen opened issue 1253 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/issues/1253>
1055 2012-05-10 21:26:06 Raziel_ has joined
1056 2012-05-10 21:27:08 AlexWaters has joined
1057 2012-05-10 21:27:29 <Diapolo> sipa: Could be done on GPUs I guess, so we need WebCL ^^.
1058 2012-05-10 21:28:15 nanotube has joined
1059 2012-05-10 21:28:52 AlexWaters has quit (Remote host closed the connection)
1060 2012-05-10 21:29:04 elkingrey has quit (Quit: Leaving)
1061 2012-05-10 21:30:07 RazielZ has quit (Ping timeout: 260 seconds)
1062 2012-05-10 21:31:00 AlexWaters has joined
1063 2012-05-10 21:32:48 AlexWaters has quit (Remote host closed the connection)
1064 2012-05-10 21:32:58 <gavinandresen> sipa: semaphores-v0.6.2 seems to be working nicely, I want to let it run overnight, if there are no issues I'll tag a 0.6.2.2 make an osx .dmg file and update the binaries on sourceforge and links tomorrow
1065 2012-05-10 21:35:26 sneak has quit (Ping timeout: 272 seconds)
1066 2012-05-10 21:35:33 sneak has joined
1067 2012-05-10 21:35:41 sneak has quit (Changing host)
1068 2012-05-10 21:35:41 sneak has joined
1069 2012-05-10 21:35:45 AlexWaters has joined
1070 2012-05-10 21:37:17 AlexWaters has quit (Remote host closed the connection)
1071 2012-05-10 21:39:52 AlexWaters has joined
1072 2012-05-10 21:41:32 AlexWaters has quit (Remote host closed the connection)
1073 2012-05-10 21:44:01 AlexWaters has joined
1074 2012-05-10 21:44:56 superjames has quit (Ping timeout: 255 seconds)
1075 2012-05-10 21:45:48 AlexWaters has quit (Remote host closed the connection)
1076 2012-05-10 21:46:12 sneak has quit (Ping timeout: 272 seconds)
1077 2012-05-10 21:48:35 traviscj has quit (Remote host closed the connection)
1078 2012-05-10 21:49:10 AlexWaters has joined
1079 2012-05-10 21:49:14 spaola has quit (Read error: Connection reset by peer)
1080 2012-05-10 21:49:43 AlexWaters has quit (Remote host closed the connection)
1081 2012-05-10 21:51:05 traviscj has joined
1082 2012-05-10 21:52:30 AlexWaters has joined
1083 2012-05-10 21:54:18 AlexWaters has quit (Remote host closed the connection)
1084 2012-05-10 21:56:56 AlexWaters has joined
1085 2012-05-10 21:57:17 superjames has joined
1086 2012-05-10 21:57:41 _Fireball has quit (Quit: HydraIRC -> http://www.hydrairc.com <- IRC with a difference)
1087 2012-05-10 21:58:06 AlexWaters has quit (Remote host closed the connection)
1088 2012-05-10 22:01:51 AlexWaters has joined
1089 2012-05-10 22:01:55 dvide has joined
1090 2012-05-10 22:02:11 Diapolo has quit (Quit: Page closed)
1091 2012-05-10 22:02:49 AlexWaters has quit (Remote host closed the connection)
1092 2012-05-10 22:04:54 AlexWaters has joined
1093 2012-05-10 22:06:18 agricocb has quit (Quit: Leaving.)
1094 2012-05-10 22:06:37 AlexWaters has quit (Remote host closed the connection)
1095 2012-05-10 22:08:02 paraipan has quit (Remote host closed the connection)
1096 2012-05-10 22:08:08 random_cat_ has quit (Remote host closed the connection)
1097 2012-05-10 22:08:47 paraipan has joined
1098 2012-05-10 22:09:51 random_cat_ has joined
1099 2012-05-10 22:09:55 AlexWaters has joined
1100 2012-05-10 22:10:50 <egecko> wow, the man in the middle attack vulnerability is still unaddressed.. and here i thought i was actually helping by keeping that info limited in distribution
1101 2012-05-10 22:11:20 AlexWaters has quit (Remote host closed the connection)
1102 2012-05-10 22:12:09 <sipa> ?
1103 2012-05-10 22:13:17 chrisb__ has quit (Quit: Leaving)
1104 2012-05-10 22:14:02 AlexWaters has joined
1105 2012-05-10 22:14:33 merde has quit (Ping timeout: 260 seconds)
1106 2012-05-10 22:14:34 hahuang65 has quit (Ping timeout: 260 seconds)
1107 2012-05-10 22:15:02 AlexWaters has quit (Remote host closed the connection)
1108 2012-05-10 22:15:13 sneak has joined
1109 2012-05-10 22:15:13 sneak has quit (Changing host)
1110 2012-05-10 22:15:13 sneak has joined
1111 2012-05-10 22:15:22 <gmaxwell> sipa: he's talking about the http auth reuse.
1112 2012-05-10 22:15:48 hahuang65_ has joined
1113 2012-05-10 22:17:09 <jgarzik> json-rpc auth reuse?
1114 2012-05-10 22:17:35 <jgarzik> if you have remote hosts accessing your json-rpc, you have bigger problems than MITM
1115 2012-05-10 22:17:45 <gmaxwell> jgarzik: if you (for some crazy crackheaded reason) write a browser app that http auths to your bitcoin RPC port, another page can CSRF you to make rpc calls.
1116 2012-05-10 22:17:49 AlexWaters has joined
1117 2012-05-10 22:18:19 merde has joined
1118 2012-05-10 22:19:36 AlexWaters has quit (Remote host closed the connection)
1119 2012-05-10 22:22:14 Z0rZ0rZ0r has quit (Disconnected by services)
1120 2012-05-10 22:22:14 Z0rZ0rZ0r1 has joined
1121 2012-05-10 22:22:15 peper has joined
1122 2012-05-10 22:22:15 Z0rZ0rZ0r1 is now known as Z0rZ0rZ0r
1123 2012-05-10 22:24:12 sneak has quit (Ping timeout: 272 seconds)
1124 2012-05-10 22:24:18 sneak has joined
1125 2012-05-10 22:24:18 sneak has quit (Changing host)
1126 2012-05-10 22:24:18 sneak has joined
1127 2012-05-10 22:24:47 da2ce7 has quit (Read error: Connection reset by peer)
1128 2012-05-10 22:26:03 da2ce7 has joined
1129 2012-05-10 22:26:21 AlexWaters has joined
1130 2012-05-10 22:27:51 AlexWaters has quit (Remote host closed the connection)
1131 2012-05-10 22:30:22 AlexWaters has joined
1132 2012-05-10 22:33:38 Raziel_ has quit (Quit: Leaving)
1133 2012-05-10 22:41:02 agricocb has joined
1134 2012-05-10 22:45:39 MtRedMin1ng is now known as MtRedMining
1135 2012-05-10 22:48:15 Jezzz has quit (Ping timeout: 245 seconds)
1136 2012-05-10 22:50:29 Turingi has quit (Read error: Connection reset by peer)
1137 2012-05-10 22:53:30 <luke-jr> gmaxwell: well, that's easily fixed; but I agree with your crazy crackheaded idea
1138 2012-05-10 22:53:41 <luke-jr> (that is, it's stupid to auth to bitcoind in your browser)
1139 2012-05-10 22:54:22 <gmaxwell> I didn't see a clean way to fix it that wouldn't potentially screw up things that persist the connections.
1140 2012-05-10 22:54:37 <gmaxwell> egecko pointed out that IE will pass the CSRF request over the same socket.
1141 2012-05-10 22:54:43 abbe has quit (Disconnected by services)
1142 2012-05-10 22:55:14 <luke-jr> gmaxwell: if Referrer, refuse?
1143 2012-05-10 22:55:21 <luke-jr> Referer*
1144 2012-05-10 22:55:36 <luke-jr> or do browsers let pages hide that now?
1145 2012-05-10 22:56:13 <gmaxwell> I think XmlHttpRequest requests won't have them.
1146 2012-05-10 22:56:19 <gmaxwell> (or will let them be forged)
1147 2012-05-10 22:57:14 random_cat_ has quit (Remote host closed the connection)
1148 2012-05-10 22:57:39 <gmaxwell> The standard way to prevent CSRF is to include some cookie that the attacker won't know. But thats sort of crazy for our purpose.
1149 2012-05-10 22:57:43 ashish has joined
1150 2012-05-10 22:58:15 random_cat_ has joined
1151 2012-05-10 23:02:42 toffoo has quit ()
1152 2012-05-10 23:05:21 <sipa> gmaxwell: if you want to find stuck node to sync with with a pre-BIP16-datemove node, to test the unstuck patch, see seeds.txt :)
1153 2012-05-10 23:05:49 <gmaxwell> oh brillian idea.
1154 2012-05-10 23:05:53 pickett has quit (Ping timeout: 276 seconds)
1155 2012-05-10 23:13:56 brwyatt is now known as Away!~brwyatt@pool-96-226-236-130.dllstx.fios.verizon.net|brwyatt
1156 2012-05-10 23:14:11 <gmaxwell> pulling from someone with 05/10/12 23:09:52 version message: version 60000, blocks=176947
1157 2012-05-10 23:14:39 spaola has joined
1158 2012-05-10 23:14:47 <gmaxwell> sipa: I wonder if DNSseed was returning this nodeâ I bet it was.
1159 2012-05-10 23:15:07 <gmaxwell> Hell, I bet thats actually trapping some new users on startup if indeed we can't reorg off it still.
1160 2012-05-10 23:15:32 <gmaxwell> e.g. first node you connect is some stuck node, now you're stuck too.
1161 2012-05-10 23:19:15 sirk390 has quit (Quit: Leaving.)
1162 2012-05-10 23:19:45 Xunie has quit (Read error: Connection reset by peer)
1163 2012-05-10 23:21:11 <sipa> but as soon as another node you're connected to tells you about the real chain, you should be fine
1164 2012-05-10 23:21:19 <sipa> the side chains aren't ever long, are they
1165 2012-05-10 23:21:20 <sipa> ?
1166 2012-05-10 23:23:00 BGL has quit (Ping timeout: 240 seconds)
1167 2012-05-10 23:23:05 <gmaxwell> sipa: if it was long enough to prevent the stuck node from unsticking why isn't it long enough to prevent you from doing the same?
1168 2012-05-10 23:24:59 <sipa> gmaxwell: because the stuck node remains stuck if the new chain is >500 blocks long, but it will never get those in its main chain
1169 2012-05-10 23:25:16 <sipa> even if the side chain is only 1 block long
1170 2012-05-10 23:25:55 <sipa> while the bootstrapping node will just the side chain, never having heard about the new long chain (so it can't be marked already downloaded, preventing further download)
1171 2012-05-10 23:26:10 <sipa> ").correctGrammar();
1172 2012-05-10 23:26:29 <gmaxwell> ah. duh. Today is a mentally slow day for me.
1173 2012-05-10 23:26:33 <sipa> the first time the new node hears about the real chain, it will just download it and accept it
1174 2012-05-10 23:27:20 <sipa> but you're quite right my dns seed should check for reasonable number of blocks
1175 2012-05-10 23:28:37 <sipa> maybe i could link it up with bitcoind, now getblockhash() exists
1176 2012-05-10 23:28:53 <sipa> and request some random recent block
1177 2012-05-10 23:29:02 <gmaxwell> Thats a grand idea.
1178 2012-05-10 23:30:07 <gmaxwell> if the height is high enough request a random block from 3-6 back or so just to make sure it's on the same chain as you.
1179 2012-05-10 23:37:00 tower has quit (Ping timeout: 245 seconds)
1180 2012-05-10 23:38:49 <jgarzik> Loading wallet...
1181 2012-05-10 23:38:49 <jgarzik> nFileVersion = 69900
1182 2012-05-10 23:38:49 <jgarzik> Performing wallet upgrade to 60000
1183 2012-05-10 23:38:57 <jgarzik> sipa: ^^ is this normal for brand new wallets?
1184 2012-05-10 23:39:25 <jgarzik> seems a bit strange to "upgrade" a wallet that did not exist before the current program run
1185 2012-05-10 23:40:45 <jgarzik> and "Added 10 addresses from 0:0:0:0:0:0:0:0: 0 tried, 10 new" is interesting
1186 2012-05-10 23:42:02 <sipa> jgarzik: haha; agree, reporting could be better
1187 2012-05-10 23:42:17 <sipa> in both cases
1188 2012-05-10 23:42:47 <sipa> if it's ::0, it should just be hidden (and it should be ::0, not 0:0:0:...)
1189 2012-05-10 23:44:30 minimoose has quit (Quit: minimoose)
1190 2012-05-10 23:45:45 tower has joined
1191 2012-05-10 23:51:32 peck has quit (Ping timeout: 248 seconds)
1192 2012-05-10 23:51:49 BTC_Bear is now known as BTC_Bear|hbrntng
1193 2012-05-10 23:56:18 <jgarzik> sipa: is the importprivkey format actually documented anywhere?
1194 2012-05-10 23:56:48 peck has joined
1195 2012-05-10 23:56:49 <sipa> jgarzik: it's on the wiki, and here: http://sourceforge.net/mailarchive/forum.php?thread_name=CAPg%2BsBhDFCjAn1tRRQhaudtqwsh4vcVbxzm%2BAA2OuFxN71fwUA%40mail.gmail.com&forum_name=bitcoin-development
1196 2012-05-10 23:57:03 <jgarzik> sipa: do I have this right: <version byte> <base58-encoded 256 bits> <last 4 bytes of sha256 checksum> ?
1197 2012-05-10 23:57:11 <Matt_von_Mises> "inline bool DecodeBase58(const char* psz, std::vector<unsigned char>& vchRet)" What would the largest length be for psz?
1198 2012-05-10 23:57:32 <sipa> jgarzik: yes, for uncompressed ones
1199 2012-05-10 23:57:47 <sipa> jgarzik: for compressed ones, there is a 0x01 byte after the 256 bits
1200 2012-05-10 23:59:39 <sipa> Matt_von_Mises: currently used, 52 characters