![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
| struct | VBDeploymentInfo |
| struct | BIP9Stats |
| 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) |
| BIP9Stats | VersionBitsStatistics (const CBlockIndex *pindexPrev, const Consensus::Params ¶ms, Consensus::DeploymentPos pos) |
| 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 VBDeploymentInfo | 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 | ||
| ) |
| 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 | ||
| ) |
| BIP9Stats VersionBitsStatistics | ( | const CBlockIndex * | pindexPrev, |
| const Consensus::Params & | params, | ||
| Consensus::DeploymentPos | pos | ||
| ) |
| const struct VBDeploymentInfo VersionBitsDeploymentInfo[] |
Definition at line 8 of file versionbits.cpp.
1.8.11