HomePhabricator

refactor: Avoid magic value of all-zeros in assumeutxo base_blockhash

Description

refactor: Avoid magic value of all-zeros in assumeutxo base_blockhash

Summary:
Just use std::optional

This concludes backport of core#21584
https://github.com/bitcoin/bitcoin/pull/21584/commits/fa340b87944764ea4e8e04038fe7471fd452bc23

Depends on D11334 and D11241

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Apr 3 2021, 15:26
PiRKCommitted on Apr 13 2022, 06:39
PiRKPushed on Apr 13 2022, 06:39
Reviewer
Restricted Project
Differential Revision
D11331: refactor: Avoid magic value of all-zeros in assumeutxo base_blockhash
Parents
rABC3ffb61f603e4: validation: run VerifyDB on all chainstates
Branches
Unknown
Tags
Unknown