Larry Ruane
Larry Ruane
Rebased, no changes except to improve a few of the commit messages.
Rebased to resolve merge conflicts.
Force-pushed rebase for merge conflicts, and also, @hebasto, I had added a call to `CheckProofOfWork()` as you suggested in [this comment](https://github.com/bitcoin/bitcoin/pull/16981#issuecomment-664474119) above, but I looked more carefully and found that...
Rebased (no changes to this PR's code), there were no conflicts but just because some people would like to review, nice to have a fresh base.
I tested the performance of this PR on a Raspberry Pi 4 (RPi4, a myNode), and this PR reduces the reindex real-time by 7 hours (from 28h15m down to 21h15m...
One further update on performance measurement: most of the `-reindex` time is spent in the second phase during which the node is building the best chain (the `UpdateTip: new best=`...
Force-pushed to implement review suggestion to not hold `cs_main` while deserializing the block, also clean up the commits, ready for review.
Rebased to latest master to fix CI failure.
Checking the reindex performance of the latest commit 7da6497bd7f0eaf6d20a1d0f83a2c849f3ba344f, on my Dell XPS-15 laptop, mainnet, default configuration except `txindex` is enabled. I also specified `-networkactive=0` to eliminate any possible measurement...
Force-pushed dd83d9e to fix CI failure with 5a9387d, which had a hidden merge conflict with #22932. This actually reduced the size and complexity of this patch.