Browse Source
The Equihash check caused block index loading to take around 38x longer. However, we don't need to check it directly, as the only paths to writing a block header to disk already go through a proof-of-work check (e.g. receiving a block over the network). By forcing the block header inside the CBlockIndex to be re-serialized, we retain the benefits of the consistency check without the overhead at startup. Co-authored-by: Brad Miller <brad@z.cash>pull/4/head
Jack Grigg
6 years ago
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue