diff options
author | James O'Beirne <james.obeirne@pm.me> | 2021-10-28 16:07:46 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@pm.me> | 2021-12-13 13:45:27 -0500 |
commit | 0fd599a51a700c028d6f7ed8067d2d9f6e6a04a5 (patch) | |
tree | b3f7e049a45d00dc3e849aea9c0f5fe7c53862ed /CONTRIBUTING.md | |
parent | d0c6e61f5dd3b6af818459d9d03b7ba316c5a3f7 (diff) |
validation: have LoadBlockIndex account for snapshot use
Ensure that blocks past the snapshot base block (i.e. the end of the
assumed-valid region of the chain) are not included in
setBlockIndexCandidates for the background validation chainstate. These
blocks, while fully validated and lacking the BLOCK_ASSUMED_VALID flag,
*rely* on blocks which are assumed-valid, and so shouldn't be added to
the IBD chainstate.
Co-authored-by: Russ Yanofsky <russ@yanofsky.org>
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions