Bitcoin ABC  0.22.13
P2P Digital Currency
Namespaces | Functions
activation.h File Reference
#include <cstdint>
Include dependency graph for activation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Consensus
 

Functions

bool IsUAHFenabled (const Consensus::Params &params, const CBlockIndex *pindexPrev)
 Check if UAHF has activated. More...
 
bool IsDAAEnabled (const Consensus::Params &params, const CBlockIndex *pindexPrev)
 Check if DAA HF has activated. More...
 
bool IsMagneticAnomalyEnabled (const Consensus::Params &params, int32_t nHeight)
 Check if Nov 15, 2018 HF has activated using block height. More...
 
bool IsMagneticAnomalyEnabled (const Consensus::Params &params, const CBlockIndex *pindexPrev)
 Check if Nov 15, 2018 HF has activated using previous block index. More...
 
bool IsGravitonEnabled (const Consensus::Params &params, const CBlockIndex *pindexPrev)
 Check if Nov 15th, 2019 protocol upgrade has activated. More...
 
bool IsPhononEnabled (const Consensus::Params &params, const CBlockIndex *pindexPrev)
 Check if May 15th, 2020 protocol upgrade has activated. More...
 
bool IsAxionEnabled (const Consensus::Params &params, const CBlockIndex *pindexPrev)
 Check if November 15th, 2020 protocol upgrade has activated. More...
 

Function Documentation

◆ IsAxionEnabled()

bool IsAxionEnabled ( const Consensus::Params params,
const CBlockIndex pindexPrev 
)

Check if November 15th, 2020 protocol upgrade has activated.

Definition at line 78 of file activation.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsDAAEnabled()

bool IsDAAEnabled ( const Consensus::Params params,
const CBlockIndex pindexPrev 
)

Check if DAA HF has activated.

Definition at line 28 of file activation.cpp.

Here is the call graph for this function:

◆ IsGravitonEnabled()

bool IsGravitonEnabled ( const Consensus::Params params,
const CBlockIndex pindexPrev 
)

Check if Nov 15th, 2019 protocol upgrade has activated.

Definition at line 56 of file activation.cpp.

Here is the call graph for this function:

◆ IsMagneticAnomalyEnabled() [1/2]

bool IsMagneticAnomalyEnabled ( const Consensus::Params params,
int32_t  nHeight 
)

Check if Nov 15, 2018 HF has activated using block height.

Definition at line 37 of file activation.cpp.

Here is the caller graph for this function:

◆ IsMagneticAnomalyEnabled() [2/2]

bool IsMagneticAnomalyEnabled ( const Consensus::Params params,
const CBlockIndex pindexPrev 
)

Check if Nov 15, 2018 HF has activated using previous block index.

Definition at line 42 of file activation.cpp.

Here is the call graph for this function:

◆ IsPhononEnabled()

bool IsPhononEnabled ( const Consensus::Params params,
const CBlockIndex pindexPrev 
)

Check if May 15th, 2020 protocol upgrade has activated.

Definition at line 69 of file activation.cpp.

Here is the call graph for this function:

◆ IsUAHFenabled()

bool IsUAHFenabled ( const Consensus::Params params,
const CBlockIndex pindexPrev 
)

Check if UAHF has activated.

Definition at line 15 of file activation.cpp.

Here is the call graph for this function: