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)
55 #endif // BITCOIN_CHAINPARAMSBASE_H std::unique_ptr< CBaseChainParams > CreateBaseChainParams(const ChainType chain)
Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain.
const uint16_t m_rpc_port
uint16_t OnionServiceTargetPort() const
void SelectBaseParams(const ChainType chain)
Sets the params returned by Params() to those for the given chain.
CBaseChainParams(const std::string &data_dir, uint16_t rpc_port, uint16_t onion_service_target_port)
CBaseChainParams()=delete
const std::string & DataDir() const
const uint16_t m_onion_service_target_port
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.