HomePhabricator

validation: Use existing chainstate in ChainstateManager::ProcessNewBlockHeaders

Description

validation: Use existing chainstate in ChainstateManager::ProcessNewBlockHeaders

Summary:
[META] This commit should be followed up by removing the comments and assertions meant only to show that the change is correct.

This is a backport of core#20749 [14 & 15/17]
https://github.com/bitcoin/bitcoin/pull/20749/commits/ea4fed90219be17160136313c68c06d84176af08
https://github.com/bitcoin/bitcoin/pull/20749/commits/0cdad753903640ff4240b715dec9d62f68e51407

Depends on D11185

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Carl Dong <contact@carldong.me>Authored on Aug 26 2020, 18:42
PiRKCommitted on Mar 16 2022, 14:24
PiRKPushed on Mar 16 2022, 14:24
Reviewer
Restricted Project
Differential Revision
D11186: validation: Use existing chainstate in ChainstateManager::ProcessNewBlockHeaders
Parents
rABC92999ca3c9a2: validation: Move LoadExternalBlockFile to CChainState
Branches
Unknown
Tags
Unknown