Dogecoin Core
1.14.2
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
struct | BIP9DeploymentInfo |
class | AbstractThresholdConditionChecker |
Abstract class that implements BIP9-style threshold logic, and caches results. More... | |
struct | VersionBitsCache |
Typedefs | |
typedef std::map< const CBlockIndex *, ThresholdState > | ThresholdConditionCache |
Enumerations | |
enum | ThresholdState { THRESHOLD_DEFINED , THRESHOLD_STARTED , THRESHOLD_LOCKED_IN , THRESHOLD_ACTIVE , THRESHOLD_FAILED } |
Functions | |
ThresholdState | VersionBitsState (const CBlockIndex *pindexPrev, const Consensus::Params ¶ms, Consensus::DeploymentPos pos, VersionBitsCache &cache) |
int | VersionBitsStateSinceHeight (const CBlockIndex *pindexPrev, const Consensus::Params ¶ms, Consensus::DeploymentPos pos, VersionBitsCache &cache) |
uint32_t | VersionBitsMask (const Consensus::Params ¶ms, Consensus::DeploymentPos pos) |
Variables | |
const struct BIP9DeploymentInfo | VersionBitsDeploymentInfo [] |
typedef std::map<const CBlockIndex*, ThresholdState> ThresholdConditionCache |
Definition at line 31 of file versionbits.h.
enum ThresholdState |
Enumerator | |
---|---|
THRESHOLD_DEFINED | |
THRESHOLD_STARTED | |
THRESHOLD_LOCKED_IN | |
THRESHOLD_ACTIVE | |
THRESHOLD_FAILED |
Definition at line 20 of file versionbits.h.
uint32_t VersionBitsMask | ( | const Consensus::Params & | params, |
Consensus::DeploymentPos | pos | ||
) |
Definition at line 175 of file versionbits.cpp.
ThresholdState VersionBitsState | ( | const CBlockIndex * | pindexPrev, |
const Consensus::Params & | params, | ||
Consensus::DeploymentPos | pos, | ||
VersionBitsCache & | cache | ||
) |
int VersionBitsStateSinceHeight | ( | const CBlockIndex * | pindexPrev, |
const Consensus::Params & | params, | ||
Consensus::DeploymentPos | pos, | ||
VersionBitsCache & | cache | ||
) |
|
extern |
Definition at line 1 of file versionbits.cpp.