5 #ifndef BITCOIN_MINERFUND_H
6 #define BITCOIN_MINERFUND_H
11 #include <unordered_set>
23 std::unordered_set<CTxDestination, TxDestinationHasher>
32 const std::vector<CTxOut> &coinbaseTxOut,
33 const Amount &blockReward);
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 CBlockIndex *pindexPrev, const std::vector< CTxOut > &coinbaseTxOut, const Amount &blockReward)
Returns false if there is an invalid miner fund.
std::unordered_set< CTxDestination, TxDestinationHasher > GetMinerFundWhitelist(const Consensus::Params ¶ms, const CBlockIndex *pindexPrev)
Amount GetMinerFundAmount(const Amount &coinbaseValue)
Parameters that influence chain consensus.