The recent (expansion of) usage of CheckProofOfWork (pow.cpp +78) for block generation (#5275, rpcmining.cpp +181) needs an adjustment to its error output/conditions. As it stands now, every occurrence of a nonce that results in an insufficient hash is LogPrint-ed: as "CheckProofOfWork() : hash doesn't match nBits", a valuable insight when validating proof of work, but not so much when generating it.
Usage of CheckProofOfWork for block generation #5405
issue ghost opened this issue on December 2, 2014-
ghost commented at 3:00 PM on December 2, 2014: none
- gavinandresen added the label Tests on Dec 2, 2014
- gavinandresen added the label Priority Low on Dec 2, 2014
- MarcoFalke added the label Mining on Sep 27, 2016
- MarcoFalke removed the label Tests on Sep 27, 2016
- MarcoFalke added the label Tests on Sep 27, 2016
-
MarcoFalke commented at 7:33 PM on September 27, 2016: member
@21E14 Is this still an issue?
- laanwj closed this on Sep 28, 2016
-
ghost commented at 10:53 PM on October 8, 2016: none
@MarcoFalke @laanwj ACK.
- MarcoFalke locked this on Sep 8, 2021