5 #ifndef BITCOIN_CHAINPARAMSBASE_H 6 #define BITCOIN_CHAINPARAMSBASE_H 21 static const std::string
MAIN;
42 std::unique_ptr<CBaseChainParams>
59 #endif // BITCOIN_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.
CBaseChainParams(const std::string &data_dir, int rpc_port)
CBaseChainParams()=delete
const std::string & DataDir() const
static const std::string MAIN
BIP70 chain name strings (main, test or regtest)
const CBaseChainParams & BaseParams()
Return the currently selected parameters.
CBaseChainParams defines the base parameters (shared between bitcoin-cli and bitcoind) of a given ins...
static const std::string TESTNET
void SetupChainParamsBaseOptions(ArgsManager &argsman)
Set the arguments for chainparams.