diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-10-10 13:13:47 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-10-14 15:42:01 -0700 |
commit | afc32c5eeada01b141706e32f0405bdb86c00f04 (patch) | |
tree | 5916cc76e2170cd23e9c87f73e9e576326581741 /src/net.cpp | |
parent | 16d5194165c8c83492b95f431a664d98c40ff254 (diff) |
Fix rebuild-chainstate feature and improve its performance
Previous refactorings broke the ability to rebuild the chainstate by deleting the chainstate
directory, resulting in an incorrect "Incorrect or no genesis block found" error message. Fix
that.
Also, improve the performance of ActivateBestBlockStep by using the skiplist to only discover
a few potential blocks to connect at a time, instead of all blocks forever - as we likely bail
out after connecting a single one anyway.
Diffstat (limited to 'src/net.cpp')
0 files changed, 0 insertions, 0 deletions