Changeset View
Changeset View
Standalone View
Standalone View
src/consensus/activation.h
Show All 16 Lines | |||||
bool IsDAAEnabled(const Config &config, const CBlockIndex *pindexPrev); | bool IsDAAEnabled(const Config &config, const CBlockIndex *pindexPrev); | ||||
/** Check if Nov 15, 2018 HF has activated using block height. */ | /** Check if Nov 15, 2018 HF has activated using block height. */ | ||||
bool IsMagneticAnomalyEnabled(const Config &config, int32_t nHeight); | bool IsMagneticAnomalyEnabled(const Config &config, int32_t nHeight); | ||||
/** Check if Nov 15, 2018 HF has activated using previous block index. */ | /** Check if Nov 15, 2018 HF has activated using previous block index. */ | ||||
bool IsMagneticAnomalyEnabled(const Config &config, | bool IsMagneticAnomalyEnabled(const Config &config, | ||||
const CBlockIndex *pindexPrev); | const CBlockIndex *pindexPrev); | ||||
/** Check if May 15th, 2019 protocol upgrade has activated. */ | |||||
bool IsGreatWallEnabled(const Config &config, const CBlockIndex *pindexPrev); | |||||
/** Check if Nov 15th, 2019 protocol upgrade has activated. */ | /** Check if Nov 15th, 2019 protocol upgrade has activated. */ | ||||
bool IsGravitonEnabled(const Config &config, const CBlockIndex *pindexPrev); | bool IsGravitonEnabled(const Config &config, const CBlockIndex *pindexPrev); | ||||
#endif // BITCOIN_CONSENSUS_ACTIVATION_H | #endif // BITCOIN_CONSENSUS_ACTIVATION_H |