33 std::vector<CTxDestination>
bool IsAxionEnabled(const Consensus::Params ¶ms, const CBlockIndex *pindexPrev)
Check if November 15th, 2020 protocol upgrade has activated.
static CTxDestination BuildDestination(const std::string &dest)
static const CTxDestination & GetMinerFundDestination()
bool GetBoolArg(const std::string &strArg, bool fDefault) const
Return boolean argument or default value.
static const std::string MAIN
BIP70 chain name strings (main, test or regtest)
bool enableMinerFund
Enable or disable the miner fund by default.
static constexpr int MINER_FUND_RATIO
Percentage of the block reward to be sent to the fund.
Amount GetMinerFundAmount(const Amount &coinbaseValue)
std::unique_ptr< CChainParams > CreateChainParams(const std::string &chain)
Creates and returns a std::unique_ptr<CChainParams> of the chosen chain.
CTxDestination DecodeDestination(const std::string &addr, const CChainParams ¶ms)
Parameters that influence chain consensus.
The block chain is a tree shaped structure starting with the genesis block at the root...
boost::variant< CNoDestination, PKHash, ScriptHash > CTxDestination
A txout script template with a specific destination.
std::vector< CTxDestination > GetMinerFundWhitelist(const Consensus::Params ¶ms, const CBlockIndex *pindexPrev)