HomePhabricator

Include the CChainParams into the Config object.

Description

Include the CChainParams into the Config object.

Summary: CChainParams is passed around all over the place. This makes a very good candidate for includion into the Config object.

Test Plan:

make check

Added unittest to make sure the result are consisitents between the old and the new way.

Reviewers: freetrader, sickpig, #bitcoin_abc, kyuupichan

Reviewed By: #bitcoin_abc, kyuupichan

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

Details

Provenance
deadalnixAuthored on Jun 9 2017, 13:12
deadalnixPushed on Jun 10 2017, 08:32
Reviewer
Restricted Project
Differential Revision
Restricted Differential Revision
Parents
rABC40b07dbd2a54: Do not import the whole std namespace in script.cpp
Branches
Unknown
Tags
Unknown