Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

CBaseChainParams defines the base parameters (shared between dash-cli and dashd) of a given instance of the Dash system. More...

#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"
 BIP70 chain name strings (main, test or regtest) More...
 
static const std::string TESTNET = "test"
 
static const std::string DEVNET = "devnet"
 
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 16 of file chainparamsbase.h.

Constructor & Destructor Documentation

◆ CBaseChainParams()

CBaseChainParams::CBaseChainParams ( )
inlineprotected

Definition at line 29 of file chainparamsbase.h.

Member Function Documentation

◆ DataDir()

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

Definition at line 25 of file chainparamsbase.h.

References strDataDir.

Referenced by GetDataDir().

◆ RPCPort()

int CBaseChainParams::RPCPort ( ) const
inline

Definition at line 26 of file chainparamsbase.h.

References nRPCPort.

Referenced by CallRPC().

Member Data Documentation

◆ DEVNET

◆ MAIN

◆ nRPCPort

◆ REGTEST

◆ strDataDir

std::string CBaseChainParams::strDataDir
protected

◆ TESTNET


The documentation for this class was generated from the following files:
Released under the MIT license