HomePhabricator

move DummyConfig to test/util/setup_common.h

Description

move DummyConfig to test/util/setup_common.h

Summary:
This is a test only class, so it makes sense to have it defined in the test directory.

In a following commit, I want to add an ArgsManager argument for CreateChainParams, and this will avoid having to couple config.h/cpp with the ArgsManager (system.h). This is needed for decoupling CChainParams and ArgsManager in future Core backports.

Test Plan: ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on May 3 2024, 16:17
PiRKPushed on May 6 2024, 14:14
Reviewer
Restricted Project
Differential Revision
D16108: move DummyConfig to test/util/setup_common.h
Parents
rABCfdaa22f51a9b: [chronik] get consensus params via chainman
Branches
Unknown
Tags
Unknown