![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
Go to the source code of this file.
Classes | |
| 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 { ThresholdState::DEFINED, ThresholdState::STARTED, ThresholdState::LOCKED_IN, ThresholdState::ACTIVE, ThresholdState::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) |
| typedef std::map<const CBlockIndex*, ThresholdState> ThresholdConditionCache |
Definition at line 31 of file versionbits.h.
|
strong |
| Enumerator | |
|---|---|
| DEFINED | |
| STARTED | |
| LOCKED_IN | |
| ACTIVE | |
| FAILED | |
Definition at line 20 of file versionbits.h.
| uint32_t VersionBitsMask | ( | const Consensus::Params & | params, |
| Consensus::DeploymentPos | pos | ||
| ) |
Definition at line 195 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 | ||
| ) |
| BIP9Stats VersionBitsStatistics | ( | const CBlockIndex * | pindexPrev, |
| const Consensus::Params & | params, | ||
| Consensus::DeploymentPos | pos | ||
| ) |
1.8.14