17 if (pindexPrev ==
nullptr) {
30 if (pindexPrev ==
nullptr) {
44 if (pindexPrev ==
nullptr) {
58 if (pindexPrev ==
nullptr) {
71 if (pindexPrev ==
nullptr) {
84 if (pindexPrev ==
nullptr) {
97 if (pindexPrev ==
nullptr) {
105 int64_t nMedianTimePast) {
106 return nMedianTimePast >=
gArgs.
GetIntArg(
"-wellingtonactivationtime",
112 if (pindexPrev ==
nullptr) {
static bool IsGluonEnabled(const Consensus::Params ¶ms, int32_t nHeight)
bool IsWellingtonEnabled(const Consensus::Params ¶ms, int64_t nMedianTimePast)
Check if May 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)
static bool IsUAHFenabled(const Consensus::Params ¶ms, int nHeight)
bool IsMagneticAnomalyEnabled(const Consensus::Params ¶ms, int32_t nHeight)
Check if Nov 15, 2018 HF has activated using block height.
static bool IsDAAEnabled(const Consensus::Params ¶ms, int nHeight)
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,...
int64_t GetMedianTimePast() const
int nHeight
height of the entry in the chain. The genesis block has height 0
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 wellingtonActivationTime
Unix time used for MTP activation of 15 May 2023 12:00:00 UTC upgrade.
int gluonHeight
Block height at which the gluon 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.