HomePhabricator

miner_tests: pass chainman and active_chainstate to helper functions

Description

miner_tests: pass chainman and active_chainstate to helper functions

Summary:
This removes usage of global chainstate for Bitcoin ABC specific code.
Also make the functions static.

Test Plan: ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on Jun 21 2022, 08:21
PiRKPushed on Jun 22 2022, 07:31
Reviewer
Restricted Project
Differential Revision
D11650: miner_tests: pass chainman and active_chainstate to helper functions
Parents
rABC819bf80975e0: test: Pass in CoinsTip to ValidateCheckInputsForAllFlags
Branches
Unknown
Tags
Unknown