Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
WarningBitsConditionChecker Class Reference

Threshold condition checker that triggers when unknown versionbits are seen on the network. More...

Inheritance diagram for WarningBitsConditionChecker:
[legend]
Collaboration diagram for WarningBitsConditionChecker:
[legend]

Public Member Functions

 WarningBitsConditionChecker (int bitIn)
 
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
 
- Public Member Functions inherited from AbstractThresholdConditionChecker
BIP9Stats GetStateStatisticsFor (const CBlockIndex *pindex, const Consensus::Params &params) const
 
ThresholdState GetStateFor (const CBlockIndex *pindexPrev, const Consensus::Params &params, ThresholdConditionCache &cache) const
 
int GetStateSinceHeightFor (const CBlockIndex *pindexPrev, const Consensus::Params &params, ThresholdConditionCache &cache) const
 

Private Attributes

int bit
 

Additional Inherited Members

Detailed Description

Threshold condition checker that triggers when unknown versionbits are seen on the network.

Definition at line 1838 of file validation.cpp.

Constructor & Destructor Documentation

WarningBitsConditionChecker::WarningBitsConditionChecker ( int  bitIn)
inline

Definition at line 1844 of file validation.cpp.

Member Function Documentation

int64_t WarningBitsConditionChecker::BeginTime ( const Consensus::Params params) const
inlineoverridevirtual

Implements AbstractThresholdConditionChecker.

Definition at line 1846 of file validation.cpp.

bool WarningBitsConditionChecker::Condition ( const CBlockIndex pindex,
const Consensus::Params params 
) const
inlineoverridevirtual

Implements AbstractThresholdConditionChecker.

Definition at line 1851 of file validation.cpp.

int64_t WarningBitsConditionChecker::EndTime ( const Consensus::Params params) const
inlineoverridevirtual

Implements AbstractThresholdConditionChecker.

Definition at line 1847 of file validation.cpp.

int WarningBitsConditionChecker::Period ( const Consensus::Params params) const
inlineoverridevirtual

Implements AbstractThresholdConditionChecker.

Definition at line 1848 of file validation.cpp.

int WarningBitsConditionChecker::Threshold ( const Consensus::Params params) const
inlineoverridevirtual

Implements AbstractThresholdConditionChecker.

Definition at line 1849 of file validation.cpp.

Member Data Documentation

int WarningBitsConditionChecker::bit
private

Definition at line 1841 of file validation.cpp.


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