Bitcoin Core  24.99.0
P2P Digital Currency
Public Member Functions | List of all members
TestDelayedActivationConditionChecker Class Reference
Inheritance diagram for TestDelayedActivationConditionChecker:
Collaboration diagram for TestDelayedActivationConditionChecker:

Public Member Functions

int MinActivationHeight (const Consensus::Params &params) const override
- Public Member Functions inherited from TestConditionChecker
int64_t BeginTime (const Consensus::Params &params) const override
int64_t EndTime (const Consensus::Params &params) const override
int Period (const Consensus::Params &params) const override
int Threshold (const Consensus::Params &params) const override
bool Condition (const CBlockIndex *pindex, const Consensus::Params &params) const override
ThresholdState GetStateFor (const CBlockIndex *pindexPrev) const
int GetStateSinceHeightFor (const CBlockIndex *pindexPrev) const
- Public Member Functions inherited from AbstractThresholdConditionChecker
BIP9Stats GetStateStatisticsFor (const CBlockIndex *pindex, const Consensus::Params &params, 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, const Consensus::Params &params, ThresholdConditionCache &cache) const
 Returns the state for pindex A based on parent pindexPrev B. More...
int GetStateSinceHeightFor (const CBlockIndex *pindexPrev, const Consensus::Params &params, 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...

Additional Inherited Members

Detailed Description

Definition at line 46 of file versionbits_tests.cpp.

Member Function Documentation

◆ MinActivationHeight()

int TestDelayedActivationConditionChecker::MinActivationHeight ( const Consensus::Params params) const

Reimplemented from AbstractThresholdConditionChecker.

Definition at line 49 of file versionbits_tests.cpp.

The documentation for this class was generated from the following file: