![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <params.h>
Public Member Functions | |
int64_t | DifficultyAdjustmentInterval () const |
|
inline |
Definition at line 82 of file params.h.
Referenced by GetNetworkHashPS(), and GetNextWorkRequiredBTC().
uint256 Consensus::Params::BIP34Hash |
Definition at line 65 of file params.h.
Referenced by CMainParams::CMainParams(), ConnectBlock(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
int Consensus::Params::BIP34Height |
Block height and hash at which BIP34 becomes active
Definition at line 64 of file params.h.
Referenced by CMainParams::CMainParams(), ConnectBlock(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
uint256 Consensus::Params::defaultAssumeValid |
Definition at line 84 of file params.h.
Referenced by AppInit2(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and HelpMessage().
bool Consensus::Params::fPowAllowMinDifficultyBlocks |
Definition at line 78 of file params.h.
Referenced by BitcoinMiner(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), GetNextWorkRequiredBTC(), CSuperblock::GetPaymentsLimit(), and UpdateTime().
bool Consensus::Params::fPowNoRetargeting |
Definition at line 79 of file params.h.
Referenced by CalculateNextWorkRequired(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
uint256 Consensus::Params::hashGenesisBlock |
Definition at line 44 of file params.h.
Referenced by AcceptBlockHeader(), AppInit2(), CheckBlockIndex(), CheckIndexAgainstCheckpoint(), CMainParams::CMainParams(), ConnectBlock(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and LoadExternalBlockFile().
int Consensus::Params::nBudgetPaymentsCycleBlocks |
Definition at line 51 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), IsBlockPayeeValid(), and IsBlockValueValid().
int Consensus::Params::nBudgetPaymentsStartBlock |
Definition at line 50 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), GetBlockSubsidy(), and IsBlockPayeeValid().
int Consensus::Params::nBudgetPaymentsWindowBlocks |
Definition at line 52 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and IsBlockPayeeValid().
int Consensus::Params::nBudgetProposalEstablishingTime |
Definition at line 53 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
int Consensus::Params::nGovernanceFilterElements |
Definition at line 57 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
int Consensus::Params::nGovernanceMinQuorum |
Definition at line 56 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
int Consensus::Params::nInstantSendKeepLock |
Definition at line 49 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), CTxLockVote::IsExpired(), and CTxLockCandidate::IsExpired().
int Consensus::Params::nMajorityEnforceBlockUpgrade |
Used to check majorities for block version upgrade
Definition at line 60 of file params.h.
Referenced by CMainParams::CMainParams(), ConnectBlock(), ContextualCheckBlock(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and SoftForkDesc().
int Consensus::Params::nMajorityRejectBlockOutdated |
Definition at line 61 of file params.h.
Referenced by CMainParams::CMainParams(), ContextualCheckBlockHeader(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and SoftForkDesc().
int Consensus::Params::nMajorityWindow |
Definition at line 62 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), IsSuperMajority(), and SoftForkMajorityDesc().
int Consensus::Params::nMasternodeMinimumConfirmations |
Definition at line 58 of file params.h.
Referenced by CMasternodeBroadcast::CheckOutpoint(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and CActiveMasternode::ManageStateLocal().
int Consensus::Params::nMasternodePaymentsIncreaseBlock |
Definition at line 47 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and GetMasternodePayment().
int Consensus::Params::nMasternodePaymentsIncreasePeriod |
Definition at line 48 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and GetMasternodePayment().
int Consensus::Params::nMasternodePaymentsStartBlock |
Definition at line 46 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
uint32_t Consensus::Params::nMinerConfirmationWindow |
Definition at line 74 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and WarningBitsConditionChecker::Period().
uint256 Consensus::Params::nMinimumChainWork |
Definition at line 83 of file params.h.
Referenced by CMainParams::CMainParams(), ConnectBlock(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and IsInitialBlockDownload().
int64_t Consensus::Params::nPowTargetSpacing |
Definition at line 80 of file params.h.
Referenced by CGovernanceManager::CheckPostponedObjects(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), DarkGravityWave(), DifficultyAdjustmentInterval(), GetBlockProofEquivalentTime(), GetNextWorkRequiredBTC(), KimotoGravityWell(), CGovernanceManager::MasternodeRateCheck(), ProcessMessage(), SendMessages(), ModalOverlay::tipUpdate(), CGovernanceManager::UpdateCachesAndClean(), and BitcoinGUI::updateHeadersSyncProgressLabel().
int64_t Consensus::Params::nPowTargetTimespan |
Definition at line 81 of file params.h.
Referenced by CalculateNextWorkRequired(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), DifficultyAdjustmentInterval(), and KimotoGravityWell().
uint32_t Consensus::Params::nRuleChangeActivationThreshold |
Minimum blocks including miner confirmation of the total of nMinerConfirmationWindow blocks in a retargetting period, (nPowTargetTimespan / nPowTargetSpacing) which is also used for BIP9 deployments. Default BIP9Deployment::nThreshold value for deployments where it's not specified and for unknown deployments. Examples: 1916 for 95%, 1512 for testchains.
Definition at line 72 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and WarningBitsConditionChecker::Threshold().
int Consensus::Params::nSubsidyHalvingInterval |
Definition at line 45 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and GetBlockSubsidy().
int Consensus::Params::nSuperblockCycle |
Definition at line 55 of file params.h.
Referenced by CGovernanceManager::CheckPostponedObjects(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), getgovernanceinfo(), CSuperblock::GetPaymentsLimit(), CSuperblock::IsValidBlockHeight(), CGovernanceManager::MasternodeRateCheck(), and CGovernanceManager::UpdateCachesAndClean().
int Consensus::Params::nSuperblockStartBlock |
Definition at line 54 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), getgovernanceinfo(), IsBlockPayeeValid(), and CSuperblock::IsValidBlockHeight().
uint256 Consensus::Params::powLimit |
Proof of work parameters
Definition at line 77 of file params.h.
Referenced by CalculateNextWorkRequired(), CheckProofOfWork(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), DarkGravityWave(), GetNextWorkRequiredBTC(), CSuperblock::GetPaymentsLimit(), and KimotoGravityWell().
BIP9Deployment Consensus::Params::vDeployments[MAX_VERSION_BITS_DEPLOYMENTS] |
Definition at line 75 of file params.h.
Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and getblocktemplate().