Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not consider bitcoin-cli as a failed call if it returns error code 1 #2262
It fixes a bad assumption in the code which consider error code of
So what happen on a pruned node?
The caller's callback process_block expects to process the case where the block is not found.
However, the callback never get called because
This in turn flood the timer queue which make the node eventually crash. (or the 1 min timeout get reached and it kills the process)
I am still a bit puzzled about why this happened only after the 0.6.3 update. (not isolated case, at least 3 different people reported it just after the 0.6.3 update)
I reviewed all the code which could have triggered this situation and it seemed to me this should have happen in 0.6.2 as well. But never had one report.