![]()  | 
  
    BSHA3
    0.17.99
    
   P2P Blockchain, based on Bitcoin 
   | 
 
Abstract class that implements BIP9-style threshold logic, and caches results. More...
#include <versionbits.h>
Public Member Functions | |
| BIP9Stats | GetStateStatisticsFor (const CBlockIndex *pindex, const Consensus::Params ¶ms) const | 
| ThresholdState | GetStateFor (const CBlockIndex *pindexPrev, const Consensus::Params ¶ms, ThresholdConditionCache &cache) const | 
| int | GetStateSinceHeightFor (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 44 of file versionbits.h.
      
  | 
  protectedpure virtual | 
      
  | 
  protectedpure virtual | 
Implemented in WarningBitsConditionChecker.
      
  | 
  protectedpure virtual | 
| ThresholdState AbstractThresholdConditionChecker::GetStateFor | ( | const CBlockIndex * | pindexPrev, | 
| const Consensus::Params & | params, | ||
| ThresholdConditionCache & | cache | ||
| ) | const | 
Definition at line 8 of file versionbits.cpp.
| int AbstractThresholdConditionChecker::GetStateSinceHeightFor | ( | const CBlockIndex * | pindexPrev, | 
| const Consensus::Params & | params, | ||
| ThresholdConditionCache & | cache | ||
| ) | const | 
| BIP9Stats AbstractThresholdConditionChecker::GetStateStatisticsFor | ( | const CBlockIndex * | pindex, | 
| const Consensus::Params & | params | ||
| ) | const | 
      
  | 
  protectedpure virtual | 
      
  | 
  protectedpure virtual | 
 1.8.14