Bitcoin ABC 0.30.5
P2P Digital Currency
Namespaces | Functions
minerfund.h File Reference
#include <script/standard.h>
#include <util/hasher.h>
#include <unordered_set>
Include dependency graph for minerfund.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Consensus
 

Functions

Amount GetMinerFundAmount (const Consensus::Params &params, const Amount &coinbaseValue, const CBlockIndex *pprev)
 
std::unordered_set< CTxDestination, TxDestinationHasherGetMinerFundWhitelist (const Consensus::Params &params)
 
bool CheckMinerFund (const Consensus::Params &params, const std::vector< CTxOut > &coinbaseTxOut, const Amount &blockReward, const CBlockIndex *pprev)
 Returns false if there is an invalid miner fund. More...
 

Function Documentation

◆ CheckMinerFund()

bool CheckMinerFund ( const Consensus::Params params,
const std::vector< CTxOut > &  coinbaseTxOut,
const Amount blockReward,
const CBlockIndex pprev 
)

Returns false if there is an invalid miner fund.

True otherwise.

Definition at line 59 of file minerfund.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMinerFundAmount()

Amount GetMinerFundAmount ( const Consensus::Params params,
const Amount coinbaseValue,
const CBlockIndex pprev 
)

Definition at line 22 of file minerfund.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMinerFundWhitelist()

std::unordered_set< CTxDestination, TxDestinationHasher > GetMinerFundWhitelist ( const Consensus::Params params)

Definition at line 51 of file minerfund.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: