Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Static Public Attributes | 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
 
int RPCPort () const
 
 CBaseChainParams ()=delete
 
 CBaseChainParams (const std::string &data_dir, int rpc_port)
 

Static Public Attributes

static const std::string MAIN = "main"
 BIP70 chain name strings (main, test or regtest) More...
 
static const std::string TESTNET = "test"
 
static const std::string REGTEST = "regtest"
 

Private Attributes

int nRPCPort
 
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 16 of file chainparamsbase.h.

Constructor & Destructor Documentation

◆ CBaseChainParams() [1/2]

CBaseChainParams::CBaseChainParams ( )
delete
Here is the caller graph for this function:

◆ CBaseChainParams() [2/2]

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

Definition at line 28 of file chainparamsbase.h.

Member Function Documentation

◆ DataDir()

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

Definition at line 24 of file chainparamsbase.h.

◆ RPCPort()

int CBaseChainParams::RPCPort ( ) const
inline

Definition at line 25 of file chainparamsbase.h.

Here is the call graph for this function:

Member Data Documentation

◆ MAIN

const std::string CBaseChainParams::MAIN = "main"
static

BIP70 chain name strings (main, test or regtest)

Definition at line 20 of file chainparamsbase.h.

◆ nRPCPort

int CBaseChainParams::nRPCPort
private

Definition at line 31 of file chainparamsbase.h.

◆ REGTEST

const std::string CBaseChainParams::REGTEST = "regtest"
static

Definition at line 22 of file chainparamsbase.h.

◆ strDataDir

std::string CBaseChainParams::strDataDir
private

Definition at line 32 of file chainparamsbase.h.

◆ TESTNET

const std::string CBaseChainParams::TESTNET = "test"
static

Definition at line 21 of file chainparamsbase.h.


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