5 #ifndef BITCOIN_MINERFUND_H
6 #define BITCOIN_MINERFUND_H
11 #include <unordered_set>
22 const Amount &coinbaseValue,
25 std::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.
Amount GetMinerFundAmount(const Consensus::Params ¶ms, const Amount &coinbaseValue, const CBlockIndex *pprev)
std::unordered_set< CTxDestination, TxDestinationHasher > GetMinerFundWhitelist(const Consensus::Params ¶ms)
Parameters that influence chain consensus.