Larry Ruane
Larry Ruane
**_Note_**: this comment is outdated; the scope of this PR has been reduced. Running `bitcoind --reindex` causes the client to reread the `.bitcoin/blocks/blknnnnn.dat` files and re-derive all the index and...
Thanks for the suggestion, @promag, done (force-pushed).
I forgot to update the `CBufferedFile` unit tests, just did that and another force-push.
I changed this PR to WIP because I thought of a further improvement, which I'll try to push by the end of the week. It will build on the existing...
Testnet performance isn't important, but as a sanity check, I verified that the new code runs faster there too on my laptop. The time between `Reindexing block file blk00001.dat...` and...
@mzumsande, those are very good thoughts, thank you. I will study this further (and invite others to also). One nice thing about this design is that any amount of memory...
I force-pushed a reorganization of the commits to make reviewing easier. I split the largest commit, **speed up reindex by reading out-of-order blocks from memory**, into two separate commits: 1....
Rebased. I think running `--reindex` is also good when for whatever reason you don't trust your index files; for example, think files may be missing or may have been corrupted....
Rebased to fix merge conflicts, force-pushed.
Rebased, force-pushed