Dash Core  0.12.2.1
P2P Digital Currency
Consensus::Params Struct Reference

#include <params.h>

Public Member Functions

int64_t DifficultyAdjustmentInterval () const
 

Public Attributes

uint256 hashGenesisBlock
 
int nSubsidyHalvingInterval
 
int nMasternodePaymentsStartBlock
 
int nMasternodePaymentsIncreaseBlock
 
int nMasternodePaymentsIncreasePeriod
 
int nInstantSendKeepLock
 
int nBudgetPaymentsStartBlock
 
int nBudgetPaymentsCycleBlocks
 
int nBudgetPaymentsWindowBlocks
 
int nBudgetProposalEstablishingTime
 
int nSuperblockStartBlock
 
int nSuperblockCycle
 
int nGovernanceMinQuorum
 
int nGovernanceFilterElements
 
int nMasternodeMinimumConfirmations
 
int nMajorityEnforceBlockUpgrade
 
int nMajorityRejectBlockOutdated
 
int nMajorityWindow
 
int BIP34Height
 
uint256 BIP34Hash
 
uint32_t nRuleChangeActivationThreshold
 
uint32_t nMinerConfirmationWindow
 
BIP9Deployment vDeployments [MAX_VERSION_BITS_DEPLOYMENTS]
 
uint256 powLimit
 
bool fPowAllowMinDifficultyBlocks
 
bool fPowNoRetargeting
 
int64_t nPowTargetSpacing
 
int64_t nPowTargetTimespan
 
uint256 nMinimumChainWork
 
uint256 defaultAssumeValid
 

Detailed Description

Parameters that influence chain consensus.

Definition at line 43 of file params.h.

Member Function Documentation

◆ DifficultyAdjustmentInterval()

int64_t Consensus::Params::DifficultyAdjustmentInterval ( ) const
inline

Definition at line 82 of file params.h.

Referenced by GetNetworkHashPS(), and GetNextWorkRequiredBTC().

Member Data Documentation

◆ BIP34Hash

uint256 Consensus::Params::BIP34Hash

◆ BIP34Height

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().

◆ defaultAssumeValid

uint256 Consensus::Params::defaultAssumeValid

◆ fPowAllowMinDifficultyBlocks

◆ fPowNoRetargeting

bool Consensus::Params::fPowNoRetargeting

◆ hashGenesisBlock

◆ nBudgetPaymentsCycleBlocks

int Consensus::Params::nBudgetPaymentsCycleBlocks

◆ nBudgetPaymentsStartBlock

int Consensus::Params::nBudgetPaymentsStartBlock

◆ nBudgetPaymentsWindowBlocks

int Consensus::Params::nBudgetPaymentsWindowBlocks

◆ nBudgetProposalEstablishingTime

int Consensus::Params::nBudgetProposalEstablishingTime

◆ nGovernanceFilterElements

int Consensus::Params::nGovernanceFilterElements

◆ nGovernanceMinQuorum

int Consensus::Params::nGovernanceMinQuorum

◆ nInstantSendKeepLock

int Consensus::Params::nInstantSendKeepLock

◆ nMajorityEnforceBlockUpgrade

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().

◆ nMajorityRejectBlockOutdated

int Consensus::Params::nMajorityRejectBlockOutdated

◆ nMajorityWindow

int Consensus::Params::nMajorityWindow

◆ nMasternodeMinimumConfirmations

◆ nMasternodePaymentsIncreaseBlock

int Consensus::Params::nMasternodePaymentsIncreaseBlock

◆ nMasternodePaymentsIncreasePeriod

int Consensus::Params::nMasternodePaymentsIncreasePeriod

◆ nMasternodePaymentsStartBlock

int Consensus::Params::nMasternodePaymentsStartBlock

◆ nMinerConfirmationWindow

uint32_t Consensus::Params::nMinerConfirmationWindow

◆ nMinimumChainWork

uint256 Consensus::Params::nMinimumChainWork

◆ nPowTargetSpacing

◆ nPowTargetTimespan

◆ nRuleChangeActivationThreshold

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().

◆ nSubsidyHalvingInterval

int Consensus::Params::nSubsidyHalvingInterval

◆ nSuperblockCycle

◆ nSuperblockStartBlock

◆ powLimit

◆ vDeployments


The documentation for this struct was generated from the following file: