Bitcoin ABC  0.24.7
P2P Digital Currency
Functions | Variables
minerfund.cpp File Reference
#include <minerfund.h>
#include <chainparams.h>
#include <consensus/activation.h>
#include <currencyunit.h>
#include <key_io.h>
#include <util/system.h>
#include <validation.h>
Include dependency graph for minerfund.cpp:

Go to the source code of this file.

Functions

Amount GetMinerFundAmount (const Amount &coinbaseValue)
 
static CTxDestination BuildDestination (const std::string &dest)
 
static const CTxDestinationGetMinerFundDestination ()
 
std::vector< CTxDestinationGetMinerFundWhitelist (const Consensus::Params &params, const CBlockIndex *pindexPrev)
 

Variables

static constexpr int MINER_FUND_RATIO = 8
 Percentage of the block reward to be sent to the fund. More...
 

Function Documentation

◆ BuildDestination()

static CTxDestination BuildDestination ( const std::string &  dest)
static

Definition at line 23 of file minerfund.cpp.

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

◆ GetMinerFundAmount()

Amount GetMinerFundAmount ( const Amount coinbaseValue)

Definition at line 19 of file minerfund.cpp.

Here is the caller graph for this function:

◆ GetMinerFundDestination()

static const CTxDestination& GetMinerFundDestination ( )
static

Definition at line 28 of file minerfund.cpp.

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

◆ GetMinerFundWhitelist()

std::vector<CTxDestination> GetMinerFundWhitelist ( const Consensus::Params params,
const CBlockIndex pindexPrev 
)

Definition at line 40 of file minerfund.cpp.

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

Variable Documentation

◆ MINER_FUND_RATIO

constexpr int MINER_FUND_RATIO = 8
staticconstexpr

Percentage of the block reward to be sent to the fund.

Definition at line 17 of file minerfund.cpp.