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

#include <stakingrewards.h>

Inheritance diagram for StakingRewardsPolicy:
Collaboration diagram for StakingRewardsPolicy:

Public Member Functions

 StakingRewardsPolicy (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 CBlockIndexm_blockIndex

Detailed Description

Definition at line 14 of file stakingrewards.h.

Constructor & Destructor Documentation

◆ StakingRewardsPolicy()

StakingRewardsPolicy::StakingRewardsPolicy ( const CBlockIndex blockIndex,
const CBlock block,
const Amount blockReward 

Definition at line 21 of file stakingrewards.h.

Member Function Documentation

◆ operator()()

bool StakingRewardsPolicy::operator() ( BlockPolicyValidationState state)

Implements ParkingPolicy.

Definition at line 23 of file stakingrewards.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_block

const CBlock& StakingRewardsPolicy::m_block

Definition at line 16 of file stakingrewards.h.

◆ m_blockIndex

const CBlockIndex& StakingRewardsPolicy::m_blockIndex

Definition at line 18 of file stakingrewards.h.

◆ m_blockReward

const Amount& StakingRewardsPolicy::m_blockReward

Definition at line 17 of file stakingrewards.h.

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