Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Consensus::Params Struct Reference

Parameters that influence chain consensus. More...

#include <params.h>

Collaboration diagram for Consensus::Params:
[legend]

Public Member Functions

std::chrono::seconds PowTargetSpacing () const
 
int64_t DifficultyAdjustmentInterval () const
 
int DeploymentHeight (BuriedDeployment dep) const
 

Public Attributes

BlockHash hashGenesisBlock
 
int nSubsidyHalvingInterval
 
int BIP16Height
 Block height at which BIP16 becomes active.
 
int BIP34Height
 Block height and hash at which BIP34 becomes active.
 
BlockHash BIP34Hash
 
int BIP65Height
 Block height at which BIP65 becomes active.
 
int BIP66Height
 Block height at which BIP66 becomes active.
 
int CSVHeight
 Block height at which CSV (BIP68, BIP112 and BIP113) becomes active.
 
int uahfHeight
 Block height at which UAHF kicks in.
 
int daaHeight
 Block height at which the new DAA becomes active.
 
int magneticAnomalyHeight
 Block height at which the magnetic anomaly activation becomes active.
 
int gravitonHeight
 Block height at which the graviton activation becomes active.
 
int phononHeight
 Block height at which the phonon activation becomes active.
 
int axionHeight
 Block height at which the axion activation becomes active.
 
int wellingtonHeight
 Block height at which the wellington activation becomes active.
 
int cowperthwaiteHeight
 Block height at which the Cowperthwaite activation becomes active.
 
int augustoActivationTime
 Unix time used for MTP activation of 15 Nov 2024 12:00:00 UTC upgrade.
 
int schumpeterActivationTime
 Unix time used for MTP activation of 15 May 2025 12:00:00 UTC upgrade.
 
bool enableMinerFund
 Enable or disable the miner fund by default.
 
bool enableStakingRewards
 Enable or disable the staking rewards by default.
 
uint256 powLimit
 Proof of work parameters.
 
bool fPowAllowMinDifficultyBlocks
 
bool fPowNoRetargeting
 
int64_t nDAAHalfLife
 
int64_t nPowTargetSpacing
 
int64_t nPowTargetTimespan
 
uint256 nMinimumChainWork
 
BlockHash defaultAssumeValid
 

Detailed Description

Parameters that influence chain consensus.

Definition at line 34 of file params.h.

Member Function Documentation

◆ DeploymentHeight()

int Consensus::Params::DeploymentHeight ( BuriedDeployment  dep) const
inline

Definition at line 91 of file params.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DifficultyAdjustmentInterval()

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

Definition at line 85 of file params.h.

Here is the caller graph for this function:

◆ PowTargetSpacing()

std::chrono::seconds Consensus::Params::PowTargetSpacing ( ) const
inline

Definition at line 82 of file params.h.

Member Data Documentation

◆ augustoActivationTime

int Consensus::Params::augustoActivationTime

Unix time used for MTP activation of 15 Nov 2024 12:00:00 UTC upgrade.

Definition at line 65 of file params.h.

◆ axionHeight

int Consensus::Params::axionHeight

Block height at which the axion activation becomes active.

Definition at line 59 of file params.h.

◆ BIP16Height

int Consensus::Params::BIP16Height

Block height at which BIP16 becomes active.

Definition at line 38 of file params.h.

◆ BIP34Hash

BlockHash Consensus::Params::BIP34Hash

Definition at line 41 of file params.h.

◆ BIP34Height

int Consensus::Params::BIP34Height

Block height and hash at which BIP34 becomes active.

Definition at line 40 of file params.h.

◆ BIP65Height

int Consensus::Params::BIP65Height

Block height at which BIP65 becomes active.

Definition at line 43 of file params.h.

◆ BIP66Height

int Consensus::Params::BIP66Height

Block height at which BIP66 becomes active.

Definition at line 45 of file params.h.

◆ cowperthwaiteHeight

int Consensus::Params::cowperthwaiteHeight

Block height at which the Cowperthwaite activation becomes active.

Definition at line 63 of file params.h.

◆ CSVHeight

int Consensus::Params::CSVHeight

Block height at which CSV (BIP68, BIP112 and BIP113) becomes active.

Definition at line 47 of file params.h.

◆ daaHeight

int Consensus::Params::daaHeight

Block height at which the new DAA becomes active.

Definition at line 51 of file params.h.

◆ defaultAssumeValid

BlockHash Consensus::Params::defaultAssumeValid

Definition at line 89 of file params.h.

◆ enableMinerFund

bool Consensus::Params::enableMinerFund

Enable or disable the miner fund by default.

Definition at line 70 of file params.h.

◆ enableStakingRewards

bool Consensus::Params::enableStakingRewards

Enable or disable the staking rewards by default.

Definition at line 73 of file params.h.

◆ fPowAllowMinDifficultyBlocks

bool Consensus::Params::fPowAllowMinDifficultyBlocks

Definition at line 77 of file params.h.

◆ fPowNoRetargeting

bool Consensus::Params::fPowNoRetargeting

Definition at line 78 of file params.h.

◆ gravitonHeight

int Consensus::Params::gravitonHeight

Block height at which the graviton activation becomes active.

Definition at line 55 of file params.h.

◆ hashGenesisBlock

BlockHash Consensus::Params::hashGenesisBlock

Definition at line 35 of file params.h.

◆ magneticAnomalyHeight

int Consensus::Params::magneticAnomalyHeight

Block height at which the magnetic anomaly activation becomes active.

Definition at line 53 of file params.h.

◆ nDAAHalfLife

int64_t Consensus::Params::nDAAHalfLife

Definition at line 79 of file params.h.

◆ nMinimumChainWork

uint256 Consensus::Params::nMinimumChainWork

Definition at line 88 of file params.h.

◆ nPowTargetSpacing

int64_t Consensus::Params::nPowTargetSpacing

Definition at line 80 of file params.h.

◆ nPowTargetTimespan

int64_t Consensus::Params::nPowTargetTimespan

Definition at line 81 of file params.h.

◆ nSubsidyHalvingInterval

int Consensus::Params::nSubsidyHalvingInterval

Definition at line 36 of file params.h.

◆ phononHeight

int Consensus::Params::phononHeight

Block height at which the phonon activation becomes active.

Definition at line 57 of file params.h.

◆ powLimit

uint256 Consensus::Params::powLimit

Proof of work parameters.

Definition at line 76 of file params.h.

◆ schumpeterActivationTime

int Consensus::Params::schumpeterActivationTime

Unix time used for MTP activation of 15 May 2025 12:00:00 UTC upgrade.

Definition at line 67 of file params.h.

◆ uahfHeight

int Consensus::Params::uahfHeight

Block height at which UAHF kicks in.

Definition at line 49 of file params.h.

◆ wellingtonHeight

int Consensus::Params::wellingtonHeight

Block height at which the wellington activation becomes active.

Definition at line 61 of file params.h.


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