Changeset View
Changeset View
Standalone View
Standalone View
src/consensus/activation.h
Show All 26 Lines | |||||
/** 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 Consensus::Params ¶ms, | bool IsMagneticAnomalyEnabled(const Consensus::Params ¶ms, | ||||
const CBlockIndex *pindexPrev); | const CBlockIndex *pindexPrev); | ||||
/** Check if Nov 15th, 2019 protocol upgrade has activated. */ | /** Check if Nov 15th, 2019 protocol upgrade has activated. */ | ||||
bool IsGravitonEnabled(const Consensus::Params ¶ms, | bool IsGravitonEnabled(const Consensus::Params ¶ms, | ||||
const CBlockIndex *pindexPrev); | const CBlockIndex *pindexPrev); | ||||
/** Check if May 15th, 2020 protocol upgrade has activated. */ | |||||
bool IsPhononEnabled(const Consensus::Params ¶ms, | |||||
const CBlockIndex *pindexPrev); | |||||
#endif // BITCOIN_CONSENSUS_ACTIVATION_H | #endif // BITCOIN_CONSENSUS_ACTIVATION_H |