5#ifndef BITCOIN_MINERFUND_H
6#define BITCOIN_MINERFUND_H
11#include <unordered_set>
22 const Amount &coinbaseValue,
25std::unordered_set<CTxDestination, TxDestinationHasher>
32 const std::vector<CTxOut> &coinbaseTxOut,
const CChainParams & Params()
Return the currently selected parameters.
The block chain is a tree shaped structure starting with the genesis block at the root,...
An output of a transaction.
bool CheckMinerFund(const Consensus::Params ¶ms, const std::vector< CTxOut > &coinbaseTxOut, const Amount &blockReward, const CBlockIndex *pprev)
Returns false if there is an invalid miner fund.
std::unordered_set< CTxDestination, TxDestinationHasher > GetMinerFundWhitelist(const Consensus::Params ¶ms)
Amount GetMinerFundAmount(const Consensus::Params ¶ms, const Amount &coinbaseValue, const CBlockIndex *pprev)
Parameters that influence chain consensus.