Dash Core  0.12.2.1
P2P Digital Currency
CBaseChainParams Class Reference

#include <chainparamsbase.h>

+ Inheritance diagram for CBaseChainParams:

Public Member Functions

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

Static Public Attributes

static const std::string MAIN = "main"
 
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 dash-cli and dashd) of a given instance of the Dash system.

Definition at line 15 of file chainparamsbase.h.

Constructor & Destructor Documentation

◆ CBaseChainParams()

CBaseChainParams::CBaseChainParams ( )
inlineprotected

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.

Referenced by GetDataDir().

◆ RPCPort()

int CBaseChainParams::RPCPort ( ) const
inline

Definition at line 24 of file chainparamsbase.h.

Member Data Documentation

◆ MAIN

◆ nRPCPort

int CBaseChainParams::nRPCPort
protected

◆ REGTEST

◆ strDataDir

std::string CBaseChainParams::strDataDir
protected

◆ TESTNET

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

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