Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Parameters that influence chain consensus. More...
#include <params.h>
Public Member Functions | |
int64_t | DifficultyAdjustmentInterval () const |
Detailed Description
Member Function Documentation
◆ DifficultyAdjustmentInterval()
|
inline |
Definition at line 180 of file params.h.
References nPowTargetSpacing, and nPowTargetTimespan.
Referenced by GetNetworkHashPS(), and GetNextWorkRequiredBTC().
Member Data Documentation
◆ BIP34Hash
uint256 Consensus::Params::BIP34Hash |
Definition at line 150 of file params.h.
Referenced by CMainParams::CMainParams(), CChainState::ConnectBlock(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
◆ BIP34Height
int Consensus::Params::BIP34Height |
Block height and hash at which BIP34 becomes active.
Definition at line 149 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CChainState::ConnectBlock(), ContextualCheckBlock(), ContextualCheckBlockHeader(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and SoftForkMajorityDesc().
◆ BIP65Height
int Consensus::Params::BIP65Height |
Block height at which BIP65 becomes active.
Definition at line 152 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), ContextualCheckBlockHeader(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), GetBlockScriptFlags(), and SoftForkMajorityDesc().
◆ BIP66Height
int Consensus::Params::BIP66Height |
Block height at which BIP66 becomes active.
Definition at line 154 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), ContextualCheckBlockHeader(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), GetBlockScriptFlags(), and SoftForkMajorityDesc().
◆ defaultAssumeValid
uint256 Consensus::Params::defaultAssumeValid |
Definition at line 182 of file params.h.
Referenced by AppInitParameterInteraction(), CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
◆ DIP0001Height
int Consensus::Params::DIP0001Height |
Block height at which DIP0001 becomes active.
Definition at line 156 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CChainState::ConnectBlock(), ContextualCheckBlock(), ContextualCheckTransaction(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and CDSNotificationInterface::UpdatedBlockTip().
◆ DIP0003EnforcementHash
uint256 Consensus::Params::DIP0003EnforcementHash |
Definition at line 161 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
◆ DIP0003EnforcementHeight
int Consensus::Params::DIP0003EnforcementHeight |
Block height at which DIP0003 becomes enforced.
Definition at line 160 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), CDeterministicMNManager::IsDIP3Enforced(), CChainParams::UpdateDIP3Parameters(), and llmq::CQuorumBlockProcessor::UpgradeDB().
◆ DIP0003Height
int Consensus::Params::DIP0003Height |
Block height at which DIP0003 becomes active.
Definition at line 158 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CChainState::ConnectBlock(), ContextualCheckBlock(), ContextualCheckTransaction(), BlockAssembler::CreateNewBlock(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), CChainState::DisconnectBlock(), llmq::CQuorumBlockProcessor::ProcessBlock(), CChainParams::UpdateDIP3Parameters(), and CDeterministicMNManager::UpgradeDBIfNeeded().
◆ fPowAllowMinDifficultyBlocks
bool Consensus::Params::fPowAllowMinDifficultyBlocks |
Definition at line 174 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), GetNextWorkRequired(), GetNextWorkRequiredBTC(), CSuperblock::GetPaymentsLimit(), and UpdateTime().
◆ fPowNoRetargeting
bool Consensus::Params::fPowNoRetargeting |
Definition at line 175 of file params.h.
Referenced by CalculateNextWorkRequired(), CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
◆ hashDevnetGenesisBlock
uint256 Consensus::Params::hashDevnetGenesisBlock |
Definition at line 132 of file params.h.
Referenced by AppInitMain(), CDevNetParams::CDevNetParams(), CheckBlockHeader(), and PeerLogicValidation::SendMessages().
◆ hashGenesisBlock
uint256 Consensus::Params::hashGenesisBlock |
Definition at line 131 of file params.h.
Referenced by CChainState::AcceptBlockHeader(), AppInitMain(), CDevNetParams::CDevNetParams(), CheckBlockHeader(), CChainState::CheckBlockIndex(), CMainParams::CMainParams(), CChainState::ConnectBlock(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and LoadExternalBlockFile().
◆ llmqs
std::map<LLMQType, LLMQParams> Consensus::Params::llmqs |
Definition at line 189 of file params.h.
Referenced by AppInitParameterInteraction(), llmq::CSigningManager::AsyncSignIfMember(), CDeterministicMNManager::BuildNewListFromBlock(), CalcCbTxMerkleRootQuorums(), CDevNetParams::CDevNetParams(), llmq::CheckLLMQCommitment(), CMainParams::CMainParams(), llmq::CSigSharesManager::CollectSigSharesToAnnounce(), llmq::CSigSharesManager::CollectSigSharesToRequest(), BlockAssembler::CreateNewBlock(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), llmq::CQuorumManager::EnsureQuorumConnections(), llmq::CLLMQUtils::GetAllQuorumMembers(), CDeterministicMNManager::GetListForBlock(), llmq::CQuorumManager::GetQuorum(), llmq::CQuorumBlockProcessor::GetQuorumBlockHash(), llmq::CLLMQUtils::GetQuorumConnections(), llmq::CInstantSendManager::HandleNewRecoveredSig(), llmq::CDKGDebugManager::InitLocalSessionStatus(), llmq::InitSession(), llmq::CQuorumBlockProcessor::IsMiningPhase(), llmq::CLLMQUtils::IsQuorumActive(), llmq::CSigningManager::PreVerifyRecoveredSig(), llmq::CQuorumBlockProcessor::ProcessBlock(), llmq::CQuorumBlockProcessor::ProcessCommitment(), llmq::CQuorumBlockProcessor::ProcessMessage(), llmq::CSigSharesManager::ProcessMessageSigSesAnn(), llmq::CInstantSendManager::ProcessPendingInstantSendLocks(), quorum_info(), quorum_selectquorum(), quorum_sigs_cmd(), llmq::CQuorumManager::ScanQuorums(), llmq::CSigningManager::SelectQuorumForSigning(), llmq::CDKGDebugStatus::ToJson(), llmq::CQuorumManager::UpdatedBlockTip(), CChainParams::UpdateLLMQDevnetParams(), CChainParams::UpdateLLMQTestParams(), llmq::CFinalCommitment::Verify(), llmq::CFinalCommitment::VerifyNull(), and llmq::CSigSharesManager::VerifySigSharesInv().
◆ llmqTypeChainLocks
LLMQType Consensus::Params::llmqTypeChainLocks |
Definition at line 190 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and CChainParams::UpdateLLMQChainLocks().
◆ llmqTypeInstantSend
Definition at line 191 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), llmq::CInstantSendManager::HandleNewRecoveredSig(), llmq::CInstantSendManager::ProcessPendingInstantSendLocks(), llmq::CInstantSendManager::ProcessTx(), and llmq::CInstantSendManager::TrySignInstantSendLock().
◆ nBudgetPaymentsCycleBlocks
int Consensus::Params::nBudgetPaymentsCycleBlocks |
Definition at line 140 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and IsOldBudgetBlockValueValid().
◆ nBudgetPaymentsStartBlock
int Consensus::Params::nBudgetPaymentsStartBlock |
Definition at line 139 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), GetBlockSubsidy(), IsBlockValueValid(), IsOldBudgetBlockValueValid(), and CChainParams::UpdateBudgetParameters().
◆ nBudgetPaymentsWindowBlocks
int Consensus::Params::nBudgetPaymentsWindowBlocks |
Definition at line 141 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and IsOldBudgetBlockValueValid().
◆ nGovernanceFilterElements
int Consensus::Params::nGovernanceFilterElements |
Definition at line 146 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
◆ nGovernanceMinQuorum
int Consensus::Params::nGovernanceMinQuorum |
Definition at line 145 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
◆ nHighSubsidyBlocks
int Consensus::Params::nHighSubsidyBlocks {0} |
Definition at line 186 of file params.h.
Referenced by AppInitParameterInteraction(), GetBlockSubsidy(), and CChainParams::UpdateSubsidyAndDiffParams().
◆ nHighSubsidyFactor
int Consensus::Params::nHighSubsidyFactor {1} |
Definition at line 187 of file params.h.
Referenced by AppInitParameterInteraction(), GetBlockSubsidy(), and CChainParams::UpdateSubsidyAndDiffParams().
◆ nInstantSendConfirmationsRequired
int Consensus::Params::nInstantSendConfirmationsRequired |
Definition at line 137 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), llmq::CInstantSendManager::CheckCanLock(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
◆ nInstantSendKeepLock
int Consensus::Params::nInstantSendKeepLock |
Definition at line 138 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and llmq::CInstantSendManager::UpdatedBlockTip().
◆ nMasternodeMinimumConfirmations
int Consensus::Params::nMasternodeMinimumConfirmations |
Definition at line 147 of file params.h.
Referenced by CDeterministicMNManager::BuildNewListFromBlock(), CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
◆ nMasternodePaymentsIncreaseBlock
int Consensus::Params::nMasternodePaymentsIncreaseBlock |
Definition at line 135 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and GetMasternodePayment().
◆ nMasternodePaymentsIncreasePeriod
int Consensus::Params::nMasternodePaymentsIncreasePeriod |
Definition at line 136 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and GetMasternodePayment().
◆ nMasternodePaymentsStartBlock
int Consensus::Params::nMasternodePaymentsStartBlock |
Definition at line 134 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), getblocktemplate(), and CChainParams::UpdateBudgetParameters().
◆ nMinerConfirmationWindow
uint32_t Consensus::Params::nMinerConfirmationWindow |
Definition at line 170 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and WarningBitsConditionChecker::Period().
◆ nMinimumChainWork
uint256 Consensus::Params::nMinimumChainWork |
Definition at line 181 of file params.h.
Referenced by AppInitParameterInteraction(), CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
◆ nMinimumDifficultyBlocks
int Consensus::Params::nMinimumDifficultyBlocks {0} |
these parameters are only used on devnet and can be configured from the outside
Definition at line 185 of file params.h.
Referenced by AppInitParameterInteraction(), GetNextWorkRequired(), and CChainParams::UpdateSubsidyAndDiffParams().
◆ nPowDGWHeight
int Consensus::Params::nPowDGWHeight |
Definition at line 179 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and GetNextWorkRequired().
◆ nPowKGWHeight
int Consensus::Params::nPowKGWHeight |
Definition at line 178 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and GetNextWorkRequired().
◆ nPowTargetSpacing
int64_t Consensus::Params::nPowTargetSpacing |
Definition at line 176 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CGovernanceManager::CheckPostponedObjects(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), DarkGravityWave(), DifficultyAdjustmentInterval(), GetBlockProofEquivalentTime(), getchaintxstats(), GetNextWorkRequired(), GetNextWorkRequiredBTC(), KimotoGravityWell(), CGovernanceManager::MasternodeRateCheck(), ProcessMessage(), PeerLogicValidation::SendMessages(), llmq::CDKGSessionHandler::SleepBeforePhase(), ModalOverlay::tipUpdate(), CGovernanceManager::UpdateCachesAndClean(), and BitcoinGUI::updateHeadersSyncProgressLabel().
◆ nPowTargetTimespan
int64_t Consensus::Params::nPowTargetTimespan |
Definition at line 177 of file params.h.
Referenced by CalculateNextWorkRequired(), CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), DifficultyAdjustmentInterval(), and KimotoGravityWell().
◆ nRuleChangeActivationThreshold
uint32_t Consensus::Params::nRuleChangeActivationThreshold |
Minimum blocks including miner confirmation of the total of nMinerConfirmationWindow blocks in a retargeting period, (nPowTargetTimespan / nPowTargetSpacing) which is also used for BIP9 deployments.
Default BIP9Deployment::nThresholdStart value for deployments where it's not specified and for unknown deployments. Examples: 1916 for 95%, 1512 for testchains.
Definition at line 168 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and WarningBitsConditionChecker::Threshold().
◆ nSubsidyHalvingInterval
int Consensus::Params::nSubsidyHalvingInterval |
Definition at line 133 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and GetBlockSubsidy().
◆ nSuperblockCycle
int Consensus::Params::nSuperblockCycle |
Definition at line 144 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CGovernanceManager::CheckPostponedObjects(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), GetMasternodePayment(), CSuperblock::GetNearestSuperblocksHeights(), CSuperblock::GetPaymentsLimit(), CSuperblock::IsExpired(), CSuperblock::IsValidBlockHeight(), CGovernanceManager::MasternodeRateCheck(), and CGovernanceManager::UpdateCachesAndClean().
◆ nSuperblockStartBlock
int Consensus::Params::nSuperblockStartBlock |
Definition at line 142 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CChainState::ConnectBlock(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), getblocktemplate(), CSuperblock::GetNearestSuperblocksHeights(), IsBlockPayeeValid(), IsBlockValueValid(), IsOldBudgetBlockValueValid(), CSuperblock::IsValidBlockHeight(), and CChainParams::UpdateBudgetParameters().
◆ nSuperblockStartHash
uint256 Consensus::Params::nSuperblockStartHash |
Definition at line 143 of file params.h.
Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CChainState::ConnectBlock(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().
◆ powLimit
uint256 Consensus::Params::powLimit |
Proof of work parameters.
Definition at line 173 of file params.h.
Referenced by CalculateNextWorkRequired(), CDevNetParams::CDevNetParams(), CheckProofOfWork(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), DarkGravityWave(), GetNextWorkRequired(), GetNextWorkRequiredBTC(), CSuperblock::GetPaymentsLimit(), and KimotoGravityWell().
◆ vDeployments
BIP9Deployment Consensus::Params::vDeployments[MAX_VERSION_BITS_DEPLOYMENTS] |
Definition at line 171 of file params.h.
Referenced by BIP9SoftForkDesc(), BIP9SoftForkDescPushBack(), CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), getblocktemplate(), and CChainParams::UpdateVersionBitsParameters().
The documentation for this struct was generated from the following file:
- src/consensus/params.h