diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2015-04-01 16:03:11 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2015-05-15 16:12:30 +0200 |
commit | 935bd0a447834fa48c218ddae2a5d835a67979ef (patch) | |
tree | 1d45c3edbc3208a22894a2e6bef1743550a5b81c /src/main.h | |
parent | ac75bafafdc394f60f819ede18181682eb5aa662 (diff) |
Chainparams: Refactor: Decouple main::GetBlockValue() from Params() [renamed GetBlockSubsidy]
Remove redundant getter CChainParams::SubsidyHalvingInterval()
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index fcbc4075d2..07a709b75c 100644 --- a/src/main.h +++ b/src/main.h @@ -202,7 +202,7 @@ std::string GetWarnings(std::string strFor); bool GetTransaction(const uint256 &hash, CTransaction &tx, uint256 &hashBlock, bool fAllowSlow = false); /** Find the best known block, and make it the tip of the block chain */ bool ActivateBestChain(CValidationState &state, CBlock *pblock = NULL); -CAmount GetBlockValue(int nHeight, const CAmount& nFees); +CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams); /** * Prune block and undo files (blk???.dat and undo???.dat) so that the disk space used is less than a user-defined target. |