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) {
110 if (pindexPrev ==
nullptr) {
118 int64_t nMedianTimePast) {
119 return nMedianTimePast >=
gArgs.
GetIntArg(
"-augustoactivationtime",
125 if (pindexPrev ==
nullptr) {
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,...
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 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.