Bitcoin ABC  0.22.13
P2P Digital Currency
minerfund.h
Go to the documentation of this file.
1 // Copyright (c) 2020 The Bitcoin developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_MINERFUND_H
6 #define BITCOIN_MINERFUND_H
7 
8 #include <amount.h>
9 #include <script/standard.h>
10 
11 #include <vector>
12 
13 class CBlockIndex;
14 
15 namespace Consensus {
16 struct Params;
17 }
18 
19 Amount GetMinerFundAmount(const Amount &coinbaseValue);
20 
21 std::vector<CTxDestination>
23  const CBlockIndex *pindexPrev);
24 
25 #endif // BITCOIN_MINERFUND_H
Definition: amount.h:17
Parameters that influence chain consensus.
Definition: params.h:59
Amount GetMinerFundAmount(const Amount &coinbaseValue)
Definition: minerfund.cpp:18
The block chain is a tree shaped structure starting with the genesis block at the root...
Definition: blockindex.h:23
const CChainParams & Params()
Return the currently selected parameters.
std::vector< CTxDestination > GetMinerFundWhitelist(const Consensus::Params &params, const CBlockIndex *pindexPrev)
Definition: minerfund.cpp:34