HomePhabricator

validation: Pass in chainstate to TestBlockValidity

Description

validation: Pass in chainstate to TestBlockValidity

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 [10/17]
https://github.com/bitcoin/bitcoin/pull/20749/commits/9c300cc8b3ce3d82874982fbf3087e48a6ac0ef2

Depends on D11180

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Carl Dong <contact@carldong.me>Authored on Mar 16 2022, 10:49
PiRKCommitted on Mar 16 2022, 14:24
PiRKPushed on Mar 16 2022, 14:24
Reviewer
Restricted Project
Differential Revision
D11182: validation: Pass in chainstate to TestBlockValidity
Parents
rABC9ab77c295ff3: validation: Make CChainState.m_blockman public
Branches
Unknown
Tags
Unknown