diff options
author | Anthony Towns <aj@erisian.com.au> | 2018-03-29 15:00:00 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2018-04-06 04:46:02 +1000 |
commit | 11b6b5b86e7dab05be38d614891dd6e6031d04a4 (patch) | |
tree | 3401eabbf1991c95c811a03984f8015429e39b0b /src/chainparamsbase.h | |
parent | 5f0c6a7b0e47e03f848dc992d37fe209dd9c6975 (diff) |
Move ChainNameFromCommandLine into ArgsManager and rename to GetChainName
Diffstat (limited to 'src/chainparamsbase.h')
-rw-r--r-- | src/chainparamsbase.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/chainparamsbase.h b/src/chainparamsbase.h index 2cb860380e..5b11f36770 100644 --- a/src/chainparamsbase.h +++ b/src/chainparamsbase.h @@ -54,10 +54,4 @@ const CBaseChainParams& BaseParams(); /** Sets the params returned by Params() to those for the given network. */ void SelectBaseParams(const std::string& chain); -/** - * Looks for -regtest, -testnet and returns the appropriate BIP70 chain name. - * @return CBaseChainParams::MAX_NETWORK_TYPES if an invalid combination is given. CBaseChainParams::MAIN by default. - */ -std::string ChainNameFromCommandLine(); - #endif // BITCOIN_CHAINPARAMSBASE_H |