HomePhabricator

refactor: Introduce GetFirstStoredBlock helper function

Description

refactor: Introduce GetFirstStoredBlock helper function

Summary:
This is a partial backport of core#21726
https://github.com/bitcoin/bitcoin/pull/21726/commits/231fc7b035481f748159968353c1cab81354e843

Depends on D13096

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
Fabian Jahr <fjahr@protonmail.com>Authored on Apr 18 2021, 14:48
PiRKCommitted on Feb 3 2023, 07:23
PiRKPushed on Feb 3 2023, 07:23
Reviewer
Restricted Project
Differential Revision
D13097: refactor: Introduce GetFirstStoredBlock helper function
Parents
rABCaac98988ac21: util/check: Add CHECK_NONFATAL identity function and a NONFATAL_UNREACHABLEā€¦
Branches
Unknown
Tags
Unknown