bool IsDAAEnabled(const Consensus::Params ¶ms, int nHeight)
bool IsUAHFenabled(const Consensus::Params ¶ms, int nHeight)
bool IsWellingtonEnabled(const Consensus::Params ¶ms, int32_t nHeight)
Check if May 15th, 2023 protocol upgrade has activated.
bool IsCowperthwaiteEnabled(const Consensus::Params ¶ms, int32_t nHeight)
Check if Nov 15th, 2023 protocol upgrade has activated.
static bool IsPhononEnabled(const Consensus::Params ¶ms, int32_t nHeight)
static bool IsGravitonEnabled(const Consensus::Params ¶ms, int32_t nHeight)
static bool IsAxionEnabled(const Consensus::Params ¶ms, int32_t nHeight)
bool IsAugustoEnabled(const Consensus::Params ¶ms, int64_t nMedianTimePast)
Check if May 15th, 2024 protocol upgrade has activated.
bool IsMagneticAnomalyEnabled(const Consensus::Params ¶ms, int32_t nHeight)
Check if Nov 15, 2018 HF has activated using block height.
int64_t GetIntArg(const std::string &strArg, int64_t nDefault) const
Return integer argument or default value.
The block chain is a tree shaped structure starting with the genesis block at the root,...
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Parameters that influence chain consensus.
int magneticAnomalyHeight
Block height at which the magnetic anomaly activation becomes active.
int gravitonHeight
Block height at which the graviton 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 phononHeight
Block height at which the phonon activation becomes active.
int daaHeight
Block height at which the new DAA becomes active.
int uahfHeight
Block height at which UAHF kicks in.
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.