Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected 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>

Inheritance diagram for CBaseChainParams:
[legend]

Public Member Functions

const std::string & DataDir () const
 
int RPCPort () const
 

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"
 

Protected Member Functions

 CBaseChainParams ()
 

Protected 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::CBaseChainParams ( )
inlineprotected

Definition at line 28 of file chainparamsbase.h.

Member Function Documentation

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

Definition at line 24 of file chainparamsbase.h.

Here is the caller graph for this function:

int CBaseChainParams::RPCPort ( ) const
inline

Definition at line 25 of file chainparamsbase.h.

Here is the caller graph for this function:

Member Data Documentation

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

BIP70 chain name strings (main, test or regtest)

Definition at line 20 of file chainparamsbase.h.

int CBaseChainParams::nRPCPort
protected

Definition at line 30 of file chainparamsbase.h.

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

Definition at line 22 of file chainparamsbase.h.

std::string CBaseChainParams::strDataDir
protected

Definition at line 31 of file chainparamsbase.h.

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: