![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
Public Member Functions | |
| explicit (false) TestConditionChecker(const Consensus | |
| ~TestConditionChecker () override=default | |
| ThresholdState | StateFor (const CBlockIndex *pindexPrev) const |
| int | StateSinceHeightFor (const CBlockIndex *pindexPrev) const |
| void | clear () |
Public Member Functions inherited from VersionBitsConditionChecker | |
| VersionBitsConditionChecker (const Consensus::BIP9Deployment &dep) | |
| VersionBitsConditionChecker (const Consensus::Params ¶ms, Consensus::DeploymentPos id) | |
| uint32_t | Mask () const |
| bool | Condition (int32_t nVersion) const |
Public Member Functions inherited from AbstractThresholdConditionChecker | |
| virtual | ~AbstractThresholdConditionChecker ()=default |
| BIP9Stats | GetStateStatisticsFor (const CBlockIndex *pindex, std::vector< bool > *signalling_blocks=nullptr) const |
| Returns the numerical statistics of an in-progress BIP9 softfork in the period including pindex If provided, signalling_blocks is set to true/false based on whether each block in the period signalled. More... | |
| ThresholdState | GetStateFor (const CBlockIndex *pindexPrev, ThresholdConditionCache &cache) const |
| Returns the state for pindex A based on parent pindexPrev B. More... | |
| int | GetStateSinceHeightFor (const CBlockIndex *pindexPrev, 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 | |
| ThresholdConditionCache | cache |
Additional Inherited Members | |
Protected Member Functions inherited from VersionBitsConditionChecker | |
| int64_t | BeginTime () const override |
| int64_t | EndTime () const override |
| int | MinActivationHeight () const override |
| int | Period () const override |
| int | Threshold () const override |
| bool | Condition (const CBlockIndex *pindex) const override |
| virtual bool | Condition (const CBlockIndex *pindex) const =0 |
| virtual int64_t | BeginTime () const =0 |
| virtual int64_t | EndTime () const =0 |
| virtual int | MinActivationHeight () const |
| virtual int | Period () const =0 |
| virtual int | Threshold () const =0 |
Definition at line 19 of file versionbits_tests.cpp.
|
overridedefault |
|
inline |
Definition at line 31 of file versionbits_tests.cpp.
|
inline |
Definition at line 26 of file versionbits_tests.cpp.
|
inline |
|
inline |
|
mutableprivate |
Definition at line 22 of file versionbits_tests.cpp.