HomePhabricator

Remove the ASERT anchor walk and caching

Description

Remove the ASERT anchor walk and caching

Summary: After D11092 the axion activation (upgrade that enabled ASERT) is done from a block height. We can simply retrieve the anchor block from it's height without having to search for it based on time, and the cache is also no longer needed.

Test Plan:

ninja all check-all

Run IBD with no assume valid.

./contrib/teamcity/build-configurations.py lint-circular-dependencies

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D11100

Details

Provenance
FabienAuthored on Feb 22 2022, 21:16
FabienPushed on Feb 25 2022, 10:58
Reviewer
Restricted Project
Differential Revision
D11100: Remove the ASERT anchor walk and caching
Parents
rABCa314a4982c0b: Replace Axion activation time with the actual block height
Branches
Unknown
Tags
Unknown