6#ifndef BITCOIN_CONSENSUS_PARAMS_H
7#define BITCOIN_CONSENSUS_PARAMS_H
104 return std::numeric_limits<int>::max();
constexpr bool ValidDeployment(BuriedDeployment dep)
A BlockHash is a unqiue identifier for a block.
Parameters that influence chain consensus.
BlockHash defaultAssumeValid
int magneticAnomalyHeight
Block height at which the magnetic anomaly activation becomes active.
int BIP65Height
Block height at which BIP65 becomes active.
bool enableStakingRewards
Enable or disable the staking rewards by default.
int CSVHeight
Block height at which CSV (BIP68, BIP112 and BIP113) becomes active.
int gravitonHeight
Block height at which the graviton activation becomes active.
int axionHeight
Block height at which the axion activation becomes active.
int64_t DifficultyAdjustmentInterval() const
int BIP16Height
Block height at which BIP16 becomes active.
int wellingtonHeight
Block height at which the wellington activation becomes active.
int phononHeight
Block height at which the phonon activation becomes active.
int BIP34Height
Block height and hash at which BIP34 becomes active.
int nSubsidyHalvingInterval
uint256 nMinimumChainWork
int daaHeight
Block height at which the new DAA becomes active.
int64_t nPowTargetTimespan
BlockHash hashGenesisBlock
int BIP66Height
Block height at which BIP66 becomes active.
uint256 powLimit
Proof of work parameters.
int schumpeterActivationTime
Unix time used for MTP activation of 15 May 2025 12:00:00 UTC upgrade.
int uahfHeight
Block height at which UAHF kicks in.
int DeploymentHeight(BuriedDeployment dep) const
bool enableMinerFund
Enable or disable the miner fund by default.
int cowperthwaiteHeight
Block height at which the Cowperthwaite activation becomes active.
int64_t nPowTargetSpacing
std::chrono::seconds PowTargetSpacing() const
int augustoActivationTime
Unix time used for MTP activation of 15 Nov 2024 12:00:00 UTC upgrade.
bool fPowAllowMinDifficultyBlocks