HomePhabricator

ArgsManager: special handling for -regtest and -testnet

Authored by Anthony Towns <aj@erisian.com.au> on Apr 4 2018, 08:09.

Description

ArgsManager: special handling for -regtest and -testnet

Summary:
Detects and avoid setting network paramter in another network section.

Partial backport of core PR11862
Commits 5e3cbe0 and c25321f

Depends on D2435

Test Plan:

make check

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox, teamcity, schancel

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

Details

Committed
FabienFeb 5 2019, 07:58
Pushed
FabienFeb 5 2019, 07:58
Reviewer
Restricted Project
Differential Revision
D2436: ArgsManager: special handling for -regtest and -testnet
Parents
rABCe498befb04e9: Limit some options to only apply on mainnet when in default section
Branches
Unknown
Tags
Unknown

Event Timeline