6 #ifndef RAVEN_CHAINPARAMSBASE_H 7 #define RAVEN_CHAINPARAMSBASE_H 21 static const std::string
MAIN;
64 #endif // RAVEN_CHAINPARAMSBASE_H void SelectBaseParams(const std::string &chain)
Sets the params returned by Params() to those for the given network.
static const std::string REGTEST
std::unique_ptr< CBaseChainParams > CreateBaseChainParams(const std::string &chain)
Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain.
void AppendParamsHelpMessages(std::string &strUsage, bool debugHelp=true)
Append the help messages for the chainparams options to the parameter string.
const std::string & DataDir() const
static const std::string MAIN
BIP70 chain name strings (main, test or regtest)
std::string ChainNameFromCommandLine()
Looks for -regtest, -testnet and returns the appropriate BIP70 chain name.
const CBaseChainParams & BaseParams()
Return the currently selected parameters.
CBaseChainParams defines the base parameters (shared between raven-cli and ravend) of a given instanc...
static const std::string TESTNET