diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2015-06-27 19:21:41 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2015-12-01 10:18:18 +0000 |
commit | 02354c93bed8d556b8c9075e3ca8601c43c68267 (patch) | |
tree | 4007df50f0f8b07e068ed6751b2c84bc512ad0b1 /src/chainparamsbase.h | |
parent | 6abf6eb7bb777a5c4f22e9db6d4544281277378f (diff) |
Constrain rpcport default values to a single location in code
Diffstat (limited to 'src/chainparamsbase.h')
-rw-r--r-- | src/chainparamsbase.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chainparamsbase.h b/src/chainparamsbase.h index 095c4cbdcb..9c3e9a0ebf 100644 --- a/src/chainparamsbase.h +++ b/src/chainparamsbase.h @@ -42,6 +42,8 @@ void AppendParamsHelpMessages(std::string& strUsage, bool debugHelp=true); */ const CBaseChainParams& BaseParams(); +CBaseChainParams& BaseParams(const std::string& chain); + /** Sets the params returned by Params() to those for the given network. */ void SelectBaseParams(const std::string& chain); |