mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-27 03:33:27 -03:00
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:
commit
07becec31c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue