Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CBaseChainParams Class Reference

CBaseChainParams defines the base parameters (shared between bitcoin-cli and bitcoind) of a given instance of the Bitcoin system. More...

#include <chainparamsbase.h>

Public Member Functions

const std::string & DataDir () const
 
uint16_t RPCPort () const
 
 CBaseChainParams ()=delete
 
 CBaseChainParams (const std::string &data_dir, uint16_t rpc_port)
 

Private Attributes

const uint16_t m_rpc_port
 
std::string strDataDir
 

Detailed Description

CBaseChainParams defines the base parameters (shared between bitcoin-cli and bitcoind) of a given instance of the Bitcoin system.

Definition at line 20 of file chainparamsbase.h.

Constructor & Destructor Documentation

◆ CBaseChainParams() [1/2]

CBaseChainParams::CBaseChainParams ( )
delete

◆ CBaseChainParams() [2/2]

CBaseChainParams::CBaseChainParams ( const std::string &  data_dir,
uint16_t  rpc_port 
)
inline

Definition at line 27 of file chainparamsbase.h.

Member Function Documentation

◆ DataDir()

const std::string & CBaseChainParams::DataDir ( ) const
inline

Definition at line 23 of file chainparamsbase.h.

◆ RPCPort()

uint16_t CBaseChainParams::RPCPort ( ) const
inline

Definition at line 24 of file chainparamsbase.h.

Member Data Documentation

◆ m_rpc_port

const uint16_t CBaseChainParams::m_rpc_port
private

Definition at line 31 of file chainparamsbase.h.

◆ strDataDir

std::string CBaseChainParams::strDataDir
private

Definition at line 32 of file chainparamsbase.h.


The documentation for this class was generated from the following file: