5 #ifndef FABCOIN_CHAINPARAMSBASE_H 6 #define FABCOIN_CHAINPARAMSBASE_H 20 static const std::string
MAIN;
63 #endif // FABCOIN_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
static const std::string UNITTEST
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.
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 fabcoin-cli and fabcoind) of a given ins...
static const std::string TESTNET
const std::string & DataDir() const