Bitcoin ABC 0.30.7
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
RTTPolicy Class Reference

#include <rtt.h>

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

Public Member Functions

 RTTPolicy (const Consensus::Params &consensusParams, const CBlockIndex &blockIndex)
 
bool operator() (BlockPolicyValidationState &state) override
 
- Public Member Functions inherited from ParkingPolicy
virtual ~ParkingPolicy ()
 
virtual bool operator() (BlockPolicyValidationState &state)=0
 

Private Attributes

const Consensus::Paramsm_consensusParams
 
const CBlockIndexm_blockIndex
 

Detailed Description

Definition at line 22 of file rtt.h.

Constructor & Destructor Documentation

◆ RTTPolicy()

RTTPolicy::RTTPolicy ( const Consensus::Params consensusParams,
const CBlockIndex blockIndex 
)
inline

Definition at line 28 of file rtt.h.

Member Function Documentation

◆ operator()()

bool RTTPolicy::operator() ( BlockPolicyValidationState state)
overridevirtual

Implements ParkingPolicy.

Definition at line 21 of file rtt.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_blockIndex

const CBlockIndex& RTTPolicy::m_blockIndex
private

Definition at line 25 of file rtt.h.

◆ m_consensusParams

const Consensus::Params& RTTPolicy::m_consensusParams
private

Definition at line 24 of file rtt.h.


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