HomePhabricator

chainparams: add blockhash to AssumeutxoData

Description

chainparams: add blockhash to AssumeutxoData

Summary:
This allows us to reference assumeutxo configuration by blockhash as
well as height; this is helpful in future changes when we want to
reference assumeutxo configurations before the block index is loaded.

Also remove the unused assumeutxo checkpoint for block 210.

This is a partial backport of core#27596

https://github.com/bitcoin/bitcoin/pull/27596/commits/434495a8c1496ca23fe35b84499f3daf668d76b8

Depends on D17633

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, roqqit

Reviewed By: #bitcoin_abc, roqqit

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

Details

Provenance
James O'Beirne <james.obeirne@pm.me>Authored on May 25 2023, 17:05
PiRKCommitted on Feb 6 2025, 07:40
PiRKPushed on Feb 6 2025, 07:40
Reviewer
Restricted Project
Differential Revision
D17634: chainparams: add blockhash to AssumeutxoData
Parents
rABC48785be9d2f7: assumeutxo: remove snapshot during -reindex{-chainstate}
Branches
Unknown
Tags
Unknown