Re: [Bitcoin-development] Another uninitialized memory problem

2014-06-03 Thread Wladimir
On Mon, Jun 2, 2014 at 10:01 PM, Toshi Morita to...@peernova.com wrote: I'm seeing another uninitialized memory problem in bitcoind using valgrind: Thanks for the report. Which version/commit id of bitcoind? Wladimir

Re: [Bitcoin-development] Lets discuss what to do if SHA256d is actually broken

2014-06-03 Thread Kevin
On 6/3/2014 12:29 AM, xor wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, I thought a lot about the worst case scenario of SHA256d being broken in a way which could be abused to A) reduce the work of mining a block by some significant amount B) reduce the work of mining a block

Re: [Bitcoin-development] Another uninitialized memory problem

2014-06-03 Thread Jeff Garzik
I think I see the problem. On Mon, Jun 2, 2014 at 4:01 PM, Toshi Morita to...@peernova.com wrote: I'm seeing another uninitialized memory problem in bitcoind using valgrind: tm@tm-VirtualBox:~/bitcoind/bitcoin/src$ valgrind ./bitcoind ==2337== Memcheck, a memory error detector ==2337==

Re: [Bitcoin-development] Another uninitialized memory problem

2014-06-03 Thread Toshi Morita
I looked at this a bit more yesterday, and it looks like both sides of the comparison were uninitialized, and I fixed one side, but the other side has the same problem. I'll try to investigate further this afternoon once I get out of meetings/meetings prep. Toshi On Tue, Jun 3, 2014 at 9:43

Re: [Bitcoin-development] Lets discuss what to do if SHA256d is actually broken

2014-06-03 Thread Rusty Russell
Luke Dashjr l...@dashjr.org writes: On Tuesday, June 03, 2014 4:29:55 AM xor wrote: Hi, I thought a lot about the worst case scenario of SHA256d being broken in a way which could be abused to A) reduce the work of mining a block by some significant amount B) reduce the work of mining a

Re: [Bitcoin-development] Lets discuss what to do if SHA256d is actually broken

2014-06-03 Thread Charlie 'Charles' Shrem
Hey Rusty, This is intriguing, do you have a writeup somewhere I can read more about ? Thanks, Charlie CharlieShrem.com | *Please **encrypt messages with my PGP key http://charlieshrem.com/contact/* On Tue, Jun 3, 2014 at 8:45 AM, Rusty Russell ru...@rustcorp.com.au wrote: Luke Dashjr