Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Functions
activation.cpp File Reference
#include <consensus/activation.h>
#include <chain.h>
#include <common/args.h>
#include <consensus/params.h>
Include dependency graph for activation.cpp:

Go to the source code of this file.

Functions

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

Function Documentation

◆ IsAugustoEnabled() [1/2]

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

Definition at line 123 of file activation.cpp.

Here is the call graph for this function:

◆ IsAugustoEnabled() [2/2]

bool IsAugustoEnabled ( const Consensus::Params params,
int64_t  nMedianTimePast 
)

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

Definition at line 117 of file activation.cpp.

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

◆ IsAxionEnabled() [1/2]

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

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

Definition at line 82 of file activation.cpp.

Here is the call graph for this function:

◆ IsAxionEnabled() [2/2]

static bool IsAxionEnabled ( const Consensus::Params params,
int32_t  nHeight 
)
static

Definition at line 78 of file activation.cpp.

Here is the caller graph for this function:

◆ IsCowperthwaiteEnabled() [1/2]

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

Definition at line 108 of file activation.cpp.

Here is the call graph for this function:

◆ IsCowperthwaiteEnabled() [2/2]

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

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

Definition at line 104 of file activation.cpp.

Here is the caller graph for this function:

◆ IsDAAEnabled() [1/2]

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:

◆ IsDAAEnabled() [2/2]

bool IsDAAEnabled ( const Consensus::Params params,
int  nHeight 
)

Definition at line 24 of file activation.cpp.

Here is the caller graph for this function:

◆ IsGravitonEnabled() [1/2]

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:

◆ IsGravitonEnabled() [2/2]

static bool IsGravitonEnabled ( const Consensus::Params params,
int32_t  nHeight 
)
static

Definition at line 51 of file activation.cpp.

Here is the caller graph for this function:

◆ IsMagneticAnomalyEnabled() [1/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:

◆ IsMagneticAnomalyEnabled() [2/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:

◆ IsPhononEnabled() [1/2]

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:

◆ IsPhononEnabled() [2/2]

static bool IsPhononEnabled ( const Consensus::Params params,
int32_t  nHeight 
)
static

Definition at line 65 of file activation.cpp.

Here is the caller graph for this function:

◆ IsUAHFenabled() [1/2]

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:

◆ IsUAHFenabled() [2/2]

bool IsUAHFenabled ( const Consensus::Params params,
int  nHeight 
)

Definition at line 11 of file activation.cpp.

Here is the caller graph for this function:

◆ IsWellingtonEnabled() [1/2]

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

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

Definition at line 95 of file activation.cpp.

Here is the call graph for this function:

◆ IsWellingtonEnabled() [2/2]

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

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

Definition at line 91 of file activation.cpp.

Here is the caller graph for this function: