Remove dead code from GenerateBitcoins and return immediately if fGenerate is false.
Remove dead code from GenerateBitcoins #6517
pull ghost wants to merge 1 commits into bitcoin:master from changing 1 files +3 −12-
ghost commented at 10:29 PM on August 4, 2015: none
-
Remove dead code from GenerateBitcoins, and return immediately if fGenerate is false. c86a7e11dc
-
laanwj commented at 8:17 AM on August 5, 2015: member
NACK. This changes the behavior. Calling the function with
fGenerate==falseornThreads=0should interrupt and stop the mining threads.It also makes it impossible to change
nThreads. - laanwj closed this on Aug 5, 2015
- MarcoFalke locked this on Sep 8, 2021