![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <chainparamsbase.h>
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 |
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.
|
inlineprotected |
Definition at line 27 of file chainparamsbase.h.
|
inline |
Definition at line 23 of file chainparamsbase.h.
Referenced by GetDataDir().
|
inline |
Definition at line 24 of file chainparamsbase.h.
|
static |
BIP70 chain name strings (main, test or regtest)
Definition at line 19 of file chainparamsbase.h.
Referenced by BaseParams(), ChainNameFromCommandLine(), ContextualCheckBlockHeader(), CMasternodeBroadcast::Create(), BitcoinUnits::description(), CMasternodeMan::DsegUpdate(), GetBlockSubsidy(), GetNextWorkRequired(), HelpMessage(), HelpMessageCli(), PaymentServer::ipcParseCommandLine(), CActiveMasternode::ManageStateInitial(), BitcoinUnits::name(), Params(), CMasternodeMan::ProcessMessage(), CMasternodeConfig::read(), CGovernanceManager::RequestGovernanceObjectVotes(), and CMasternodeBroadcast::SimpleCheck().
|
protected |
Definition at line 29 of file chainparamsbase.h.
Referenced by CBaseMainParams::CBaseMainParams(), CBaseRegTestParams::CBaseRegTestParams(), CBaseTestNetParams::CBaseTestNetParams(), and RPCPort().
|
static |
Definition at line 21 of file chainparamsbase.h.
Referenced by BaseParams(), ChainNameFromCommandLine(), GetNextWorkRequired(), CMasternode::IsValidNetAddr(), CActiveMasternode::ManageState(), Params(), CMasternodeMan::ProcessMasternodeConnections(), and CMasternodeSync::ProcessTick().
|
protected |
Definition at line 30 of file chainparamsbase.h.
Referenced by CBaseRegTestParams::CBaseRegTestParams(), CBaseTestNetParams::CBaseTestNetParams(), and DataDir().
|
static |
Definition at line 20 of file chainparamsbase.h.
Referenced by BaseParams(), ChainNameFromCommandLine(), HelpMessage(), HelpMessageCli(), PaymentServer::ipcParseCommandLine(), and Params().