![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
Threshold condition checker that triggers when unknown versionbits are seen on the network. More...
Public Member Functions | |
| WarningBitsConditionChecker (int bitIn) | |
| int64_t | BeginTime (const Consensus::Params ¶ms) const override |
| int64_t | EndTime (const Consensus::Params ¶ms) const override |
| int | Period (const Consensus::Params ¶ms) const override |
| int | Threshold (const Consensus::Params ¶ms) const override |
| bool | Condition (const CBlockIndex *pindex, const Consensus::Params ¶ms) const override |
Public Member Functions inherited from AbstractThresholdConditionChecker | |
| BIP9Stats | GetStateStatisticsFor (const CBlockIndex *pindex, const Consensus::Params ¶ms) const |
| Returns the numerical statistics of an in-progress BIP9 softfork in the current period. More... | |
| ThresholdState | GetStateFor (const CBlockIndex *pindexPrev, const Consensus::Params ¶ms, ThresholdConditionCache &cache) const |
| Returns the state for pindex A based on parent pindexPrev B. More... | |
| int | GetStateSinceHeightFor (const CBlockIndex *pindexPrev, const Consensus::Params ¶ms, ThresholdConditionCache &cache) const |
| Returns the height since when the ThresholdState has started for pindex A based on parent pindexPrev B, all blocks of a period share the same. More... | |
Private Attributes | |
| int | bit |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractThresholdConditionChecker | |
| virtual int | MinActivationHeight (const Consensus::Params ¶ms) const |
Threshold condition checker that triggers when unknown versionbits are seen on the network.
Definition at line 1494 of file validation.cpp.
|
inlineexplicit |
Definition at line 1500 of file validation.cpp.
|
inlineoverridevirtual |
Implements AbstractThresholdConditionChecker.
Definition at line 1502 of file validation.cpp.
|
inlineoverridevirtual |
Implements AbstractThresholdConditionChecker.
Definition at line 1507 of file validation.cpp.
|
inlineoverridevirtual |
Implements AbstractThresholdConditionChecker.
Definition at line 1503 of file validation.cpp.
|
inlineoverridevirtual |
Implements AbstractThresholdConditionChecker.
Definition at line 1504 of file validation.cpp.
|
inlineoverridevirtual |
Implements AbstractThresholdConditionChecker.
Definition at line 1505 of file validation.cpp.
|
private |
Definition at line 1497 of file validation.cpp.