aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@pm.me>2021-07-21 13:31:14 -0400
committerJames O'Beirne <james.obeirne@pm.me>2021-09-15 15:46:44 -0400
commit42b2520db93fd9feb3df4101654391fa7d3e2140 (patch)
tree4d5be14ead20a661b656b098b91393edd609522a /src/validation.h
parentb217020df78bc981d221fe04497c831120ef969f (diff)
chain: add BLOCK_ASSUMED_VALID for use with assumeutxo
Instead of (ab)using the existing BLOCK_VALID_* flags to mark CBlockIndex entries which we haven't yet fully validated (but assume validity for use with UTXO snapshot loading), introduce a status flag that specifically marks an assumed-valid state. This state is then removed in RaiseValidity() when the block has actually been validated. This distinction will allow us to make the necessary changes to various parts of the system to facilitate assumeutxo/background chainstate validation but without leaking details like snapshot height, as we had done previously. Changes that actually make use of this flag follow in future commits.
Diffstat (limited to 'src/validation.h')
0 files changed, 0 insertions, 0 deletions