aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2015-04-01 16:03:11 +0200
committerJorge Timón <jtimon@jtimon.cc>2015-05-15 16:12:30 +0200
commit935bd0a447834fa48c218ddae2a5d835a67979ef (patch)
tree1d45c3edbc3208a22894a2e6bef1743550a5b81c /src/main.h
parentac75bafafdc394f60f819ede18181682eb5aa662 (diff)
downloadbitcoin-935bd0a447834fa48c218ddae2a5d835a67979ef.tar.xz
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.h2
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.