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