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

#include <minerfund.h>

Inheritance diagram for MinerFundPolicy:
Collaboration diagram for MinerFundPolicy:

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 ()

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 

Definition at line 26 of file minerfund.h.

Member Function Documentation

◆ operator()()

bool MinerFundPolicy::operator() ( BlockPolicyValidationState state)

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

Definition at line 20 of file minerfund.h.

◆ m_blockIndex

const CBlockIndex& MinerFundPolicy::m_blockIndex

Definition at line 23 of file minerfund.h.

◆ m_blockReward

const Amount& MinerFundPolicy::m_blockReward

Definition at line 21 of file minerfund.h.

◆ m_consensusParams

const Consensus::Params& MinerFundPolicy::m_consensusParams

Definition at line 22 of file minerfund.h.

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