HomePhabricator

miner: Pass in chainstate to BlockAssembler::CreateNewBlock

Description

miner: Pass in chainstate to BlockAssembler::CreateNewBlock

Summary:
This is a backport of core#21270 [2, 3 & 4/9]
https://github.com/bitcoin/bitcoin/pull/21270/commits/d0de61b764fc7e9c670b69d8210705da296dd245
https://github.com/bitcoin/bitcoin/pull/21270/commits/46b7f29340acb399fbd2378508a204d8d8ee8fca
https://github.com/bitcoin/bitcoin/pull/21270/commits/2afcf24408b4453e4418ebfb326b141f6ea8647c

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on Mar 18 2022, 08:52
PiRKPushed on Mar 21 2022, 08:50
Reviewer
Restricted Project
Differential Revision
D11223: miner: Pass in chainstate to BlockAssembler::CreateNewBlock
Parents
rABC00f28a0a45d9: validation: CVerifyDB::VerifyDB: Use locking annotation
Branches
Unknown
Tags
Unknown
Reverted By
D11504: Revert "miner: Pass in chainstate to BlockAssembler::CreateNewBlock"