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

#include <minerfund.h>

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

Public Member Functions

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

Private Attributes

const CBlockm_block
 
const Amountm_blockReward
 
const Consensus::Paramsm_consensusParams
 
const CBlockIndexm_blockIndex
 

Detailed Description

Definition at line 18 of file minerfund.h.

Constructor & Destructor Documentation

◆ MinerFundPolicy()

MinerFundPolicy::MinerFundPolicy ( const Consensus::Params consensusParams,
const CBlockIndex blockIndex,
const CBlock block,
const Amount blockReward 
)
inline

Definition at line 26 of file minerfund.h.

Member Function Documentation

◆ operator()()

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

Implements ParkingPolicy.

Definition at line 11 of file minerfund.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_block

const CBlock& MinerFundPolicy::m_block
private

Definition at line 20 of file minerfund.h.

◆ m_blockIndex

const CBlockIndex& MinerFundPolicy::m_blockIndex
private

Definition at line 23 of file minerfund.h.

◆ m_blockReward

const Amount& MinerFundPolicy::m_blockReward
private

Definition at line 21 of file minerfund.h.

◆ m_consensusParams

const Consensus::Params& MinerFundPolicy::m_consensusParams
private

Definition at line 22 of file minerfund.h.


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