5 #ifndef BITCOIN_CHAINPARAMSBASE_H 6 #define BITCOIN_CHAINPARAMSBASE_H 20 static const std::string
MAIN;
56 #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 bsha3-cli and bsha3d) of a given instanc...
void SetupChainParamsBaseOptions()
Set the arguments for chainparams.
static const std::string TESTNET