diff options
Diffstat (limited to 'src/chainparamsbase.h')
-rw-r--r-- | src/chainparamsbase.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/chainparamsbase.h b/src/chainparamsbase.h index 25a5b3450b..095c4cbdcb 100644 --- a/src/chainparamsbase.h +++ b/src/chainparamsbase.h @@ -19,7 +19,6 @@ public: static const std::string MAIN; static const std::string TESTNET; static const std::string REGTEST; - static const std::string MAX_NETWORK_TYPES; const std::string& DataDir() const { return strDataDir; } int RPCPort() const { return nRPCPort; } @@ -32,6 +31,12 @@ protected: }; /** + * Append the help messages for the chainparams options to the + * parameter string. + */ +void AppendParamsHelpMessages(std::string& strUsage, bool debugHelp=true); + +/** * Return the currently selected parameters. This won't change after app * startup, except for unit tests. */ @@ -47,12 +52,6 @@ void SelectBaseParams(const std::string& chain); std::string ChainNameFromCommandLine(); /** - * Calls NetworkIdFromCommandLine() and then calls SelectParams as appropriate. - * Returns false if an invalid combination is given. - */ -bool SelectBaseParamsFromCommandLine(); - -/** * Return true if SelectBaseParamsFromCommandLine() has been called to select * a network. */ |