aboutsummaryrefslogtreecommitdiff
path: root/src/index/base.h
diff options
context:
space:
mode:
authorMartin Zumsande <mzumsande@gmail.com>2022-05-22 20:29:45 +0200
committerMartin Zumsande <mzumsande@gmail.com>2023-05-17 11:14:10 -0400
commit60bec3c82d09ec208bf0028ad32499e251ad205e (patch)
tree6751884ffbb11d5d4a68b7d3805a6440fbc01a60 /src/index/base.h
parent594f05db19fa2eaf6705f13bb0e147bce6ac21e5 (diff)
index: Use first block from locator instead of looking for fork point
The index sync code has logic to go back the chain to the forking point, while also updating index-specific state, which is necessary to prevent possible corruption of the coinstatsindex. Also add a test for this (a reorg happens while the index is deactivated) that would not pass before this change.
Diffstat (limited to 'src/index/base.h')
0 files changed, 0 insertions, 0 deletions