HomePhabricator

validation: Remove global ::LoadGenesisBlock

Description

validation: Remove global ::LoadGenesisBlock

Summary:
This is a backport of core#21055 [2/16] and core#21270 [1/12]
https://github.com/bitcoin/bitcoin/pull/21055/commits/4927c9e6991b09a36a41aab93a0e05332d899611
https://github.com/bitcoin/bitcoin/pull/21270/commits/a04aac493fd564894166d58ed4cdfd9ad4f561cb

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Carl Dong <contact@carldong.me>Authored on Aug 26 2020, 02:29
PiRKCommitted on Mar 17 2022, 11:04
PiRKPushed on Mar 17 2022, 11:04
Reviewer
Restricted Project
Differential Revision
D11206: validation: Remove global ::LoadGenesisBlock
Parents
rABC184be66e5c3f: validation: Check chain tip is non-null in CheckFinalTx
Branches
Unknown
Tags
Unknown