Bitcoin
Public Member Functions | Public Attributes | List of all members
Consensus::Params Struct Reference

#include <params.h>

Public Member Functions

int64_t DifficultyAdjustmentInterval () const
 

Public Attributes

uint256 hashGenesisBlock
 
int nSubsidyHalvingInterval
 
uint256 BIP16Exception
 
int BIP34Height
 
uint256 BIP34Hash
 
int BIP65Height
 
int BIP66Height
 
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.

Member Function Documentation

◆ DifficultyAdjustmentInterval()

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

Member Data Documentation

◆ BIP16Exception

uint256 Consensus::Params::BIP16Exception

◆ BIP34Hash

uint256 Consensus::Params::BIP34Hash

◆ BIP34Height

int Consensus::Params::BIP34Height

Block height and hash at which BIP34 becomes active

◆ BIP65Height

int Consensus::Params::BIP65Height

Block height at which BIP65 becomes active

◆ BIP66Height

int Consensus::Params::BIP66Height

Block height at which BIP66 becomes active

◆ defaultAssumeValid

uint256 Consensus::Params::defaultAssumeValid

◆ fPowAllowMinDifficultyBlocks

bool Consensus::Params::fPowAllowMinDifficultyBlocks

◆ fPowNoRetargeting

bool Consensus::Params::fPowNoRetargeting

◆ hashGenesisBlock

uint256 Consensus::Params::hashGenesisBlock

◆ nMinerConfirmationWindow

uint32_t Consensus::Params::nMinerConfirmationWindow

◆ nMinimumChainWork

uint256 Consensus::Params::nMinimumChainWork

◆ nPowTargetSpacing

int64_t Consensus::Params::nPowTargetSpacing

◆ nPowTargetTimespan

int64_t Consensus::Params::nPowTargetTimespan

◆ nRuleChangeActivationThreshold

uint32_t Consensus::Params::nRuleChangeActivationThreshold

Minimum blocks including miner confirmation of the total of 2016 blocks in a retargeting period, (nPowTargetTimespan / nPowTargetSpacing) which is also used for BIP9 deployments. Examples: 1916 for 95%, 1512 for testchains.

◆ nSubsidyHalvingInterval

int Consensus::Params::nSubsidyHalvingInterval

◆ powLimit

uint256 Consensus::Params::powLimit

Proof of work parameters

◆ vDeployments

BIP9Deployment Consensus::Params::vDeployments[MAX_VERSION_BITS_DEPLOYMENTS]

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