novitski / bitcoinj

Automatically exported from code.google.com/p/bitcoinj
Apache License 2.0
0 stars 0 forks source link

Negative work done #392

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
One of my wallets (bitcoinj 0.8) has got transactions with negative work done. 
This sounds bad.

479f50712282d22cedb612fe097e63334dfd6601cdb4a6591e5032481646ddf2: Seen by 1 
peer. Appeared in best chain at height 230570, depth 1592, work done 
-1074926734629636658

Original issue reported on code.google.com by andreas....@gmail.com on 19 Apr 2013 at 9:56

GoogleCodeExporter commented 9 years ago
I still see a lot of wallets with negative work done. Bitcoinj 0.9. What 
implications can this bug have?

Original comment by andreas....@gmail.com on 7 Jul 2013 at 9:01

GoogleCodeExporter commented 9 years ago
It's probably just a signedness issue again. Work done isn't used for anything 
today so there are no implications. It should be fixed though.

Original comment by hearn@google.com on 8 Jul 2013 at 9:53

GoogleCodeExporter commented 9 years ago
Do you still see this? I never managed to get any of my wallets into this state.

Original comment by mh.in.en...@gmail.com on 3 Aug 2014 at 7:26

GoogleCodeExporter commented 9 years ago
Can we just add an assert for it? Manually searching all logs I get is not 
trivial.

Original comment by andreas....@gmail.com on 3 Aug 2014 at 7:50

GoogleCodeExporter commented 9 years ago
https://github.com/bitcoinj/bitcoinj/pull/156

Original comment by andreas....@gmail.com on 4 Aug 2014 at 10:26