diff options
author | Matt Corallo <git@bluematt.me> | 2017-07-06 21:32:08 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-07-27 15:03:05 -0400 |
commit | 138569722cae09bb9e3bc31bbae4b1886b904bb5 (patch) | |
tree | dd23401f3ac15c8752de7a1a06d8f2b0cdb4c608 /doc/tor.md | |
parent | ff3a21919d97f7500978b4160199336e4b50b36a (diff) |
Order chainstate init more logically.
* Order chainstate init more logically - first all of the
blocktree-related loading, then coinsdb, then
pcoinsTip/chainActive. Only create objects as needed.
* More clearly document exactly what is and isn't called in
-reindex and -reindex-chainstate both with comments noting
calls as no-ops and by adding if guards.
* Move LoadGenesisBlock further down in init. This is a more logical
location for it, as it is after all of the blockindex-related
loading and checking, but before any of the UTXO-related loading
and checking.
* Move all of the VerifyDB()-related stuff into a -reindex +
-reindex-chainstate if guard. It couldn't do anything useful
as chainActive.Tip() would be null at this point anyway.
Diffstat (limited to 'doc/tor.md')
0 files changed, 0 insertions, 0 deletions