Constrain rpcport default values to a single location in code

This commit is contained in:
Luke Dashjr
2015-06-27 19:21:41 +00:00
parent 6abf6eb7bb
commit 02354c93be
4 changed files with 13 additions and 6 deletions

View File

@@ -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);