5 #ifndef BITCOIN_CHAINPARAMSBASE_H 6 #define BITCOIN_CHAINPARAMSBASE_H 55 #define LIST_CHAIN_NAMES "main, test, testnet4, signet, regtest" 57 #endif // BITCOIN_CHAINPARAMSBASE_H std::unique_ptr< CBaseChainParams > CreateBaseChainParams(const ChainType chain)
Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain.
CBaseChainParams(const std::string &data_dir, uint16_t rpc_port)
const uint16_t m_rpc_port
void SelectBaseParams(const ChainType chain)
Sets the params returned by Params() to those for the given chain.
CBaseChainParams()=delete
const std::string & DataDir() const
const CBaseChainParams & BaseParams()
Return the currently selected parameters.
CBaseChainParams defines the base parameters (shared between bitcoin-cli and bitcoind) of a given ins...
void SetupChainParamsBaseOptions(ArgsManager &argsman)
Set the arguments for chainparams.