HomePhabricator

test/miner_tests: Pass in chain tip to CreateBlockIndex

Description

test/miner_tests: Pass in chain tip to CreateBlockIndex

Summary:
This is a backport of core#21866 [3/12]
https://github.com/bitcoin/bitcoin/pull/21866/commits/4d99b61014ba26eb1f3713df5528d2804edff165

Depends on D11647

Test Plan: ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Carl Dong <contact@carldong.me>Authored on Oct 14 2020, 21:03
PiRKCommitted on Jun 22 2022, 07:31
PiRKPushed on Jun 22 2022, 07:31
Reviewer
Restricted Project
Differential Revision
D11648: test/miner_tests: Pass in chain tip to CreateBlockIndex
Parents
rABC121c842f6225: test/util: Use existing chainman in ::PrepareBlock
Branches
Unknown
Tags
Unknown