![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <versionbits.h>
Public Member Functions | |
ThresholdState | GetStateFor (const CBlockIndex *pindexPrev, const Consensus::Params ¶ms, ThresholdConditionCache &cache) const |
Protected Member Functions | |
virtual bool | Condition (const CBlockIndex *pindex, const Consensus::Params ¶ms) const =0 |
virtual int64_t | BeginTime (const Consensus::Params ¶ms) const =0 |
virtual int64_t | EndTime (const Consensus::Params ¶ms) const =0 |
virtual int | Period (const Consensus::Params ¶ms) const =0 |
virtual int | Threshold (const Consensus::Params ¶ms) const =0 |
Abstract class that implements BIP9-style threshold logic, and caches results.
Definition at line 47 of file versionbits.h.
|
protectedpure virtual |
Implemented in WarningBitsConditionChecker.
Referenced by GetStateFor().
|
protectedpure virtual |
Implemented in WarningBitsConditionChecker.
Referenced by GetStateFor().
|
protectedpure virtual |
Implemented in WarningBitsConditionChecker.
Referenced by GetStateFor().
ThresholdState AbstractThresholdConditionChecker::GetStateFor | ( | const CBlockIndex * | pindexPrev, |
const Consensus::Params & | params, | ||
ThresholdConditionCache & | cache | ||
) | const |
Definition at line 27 of file versionbits.cpp.
Referenced by UpdateTip().
|
protectedpure virtual |
Implemented in WarningBitsConditionChecker.
Referenced by GetStateFor().
|
protectedpure virtual |
Implemented in WarningBitsConditionChecker.
Referenced by GetStateFor().