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

#include <preconsensus.h>

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

Public Member Functions

 PreConsensusPolicy (const CBlockIndex &blockIndex, const CBlock &block, const CTxMemPool *mempool)
 
bool operator() (BlockPolicyValidationState &state) override EXCLUSIVE_LOCKS_REQUIRED(m_mempool -> cs)
 
- Public Member Functions inherited from ParkingPolicy
virtual ~ParkingPolicy ()
 

Private Attributes

const CBlockm_block
 
const CBlockIndexm_blockIndex
 
const CTxMemPoolm_mempool
 

Detailed Description

Definition at line 15 of file preconsensus.h.

Constructor & Destructor Documentation

◆ PreConsensusPolicy()

PreConsensusPolicy::PreConsensusPolicy ( const CBlockIndex blockIndex,
const CBlock block,
const CTxMemPool mempool 
)
inline

Definition at line 22 of file preconsensus.h.

Member Function Documentation

◆ operator()()

bool PreConsensusPolicy::operator() ( BlockPolicyValidationState state) -> cs)
overridevirtual

Implements ParkingPolicy.

Definition at line 11 of file preconsensus.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_block

const CBlock& PreConsensusPolicy::m_block
private

Definition at line 17 of file preconsensus.h.

◆ m_blockIndex

const CBlockIndex& PreConsensusPolicy::m_blockIndex
private

Definition at line 18 of file preconsensus.h.

◆ m_mempool

const CTxMemPool* PreConsensusPolicy::m_mempool
private

Definition at line 19 of file preconsensus.h.


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