Merge pull request #1608 from runeksvendsen/master

Update the comment in GetBlockValue() to better reflect the uncertainty about the time interval between subsidy reductions
This commit is contained in:
Gregory Maxwell 2012-07-18 06:13:52 -07:00
commit 07becec31c

View File

@ -828,7 +828,7 @@ int64 static GetBlockValue(int nHeight, int64 nFees)
{ {
int64 nSubsidy = 50 * COIN; int64 nSubsidy = 50 * COIN;
// Subsidy is cut in half every 4 years // Subsidy is cut in half every 210000 blocks, which will occur approximately every 4 years
nSubsidy >>= (nHeight / 210000); nSubsidy >>= (nHeight / 210000);
return nSubsidy + nFees; return nSubsidy + nFees;