5 #ifndef BITCOIN_CONSENSUS_ACTIVATION_H 6 #define BITCOIN_CONSENSUS_ACTIVATION_H 42 #endif // BITCOIN_CONSENSUS_ACTIVATION_H bool IsGravitonEnabled(const Consensus::Params ¶ms, const CBlockIndex *pindexPrev)
Check if Nov 15th, 2019 protocol upgrade has activated.
bool IsPhononEnabled(const Consensus::Params ¶ms, const CBlockIndex *pindexPrev)
Check if May 15th, 2020 protocol upgrade has activated.
bool IsAxionEnabled(const Consensus::Params ¶ms, const CBlockIndex *pindexPrev)
Check if November 15th, 2020 protocol upgrade has activated.
bool IsMagneticAnomalyEnabled(const Consensus::Params ¶ms, int32_t nHeight)
Check if Nov 15, 2018 HF has activated using block height.
bool IsDAAEnabled(const Consensus::Params ¶ms, const CBlockIndex *pindexPrev)
Check if DAA HF has activated.
bool IsUAHFenabled(const Consensus::Params ¶ms, const CBlockIndex *pindexPrev)
Check if UAHF has activated.
Parameters that influence chain consensus.
The block chain is a tree shaped structure starting with the genesis block at the root...
const CChainParams & Params()
Return the currently selected parameters.