mirror of
https://github.com/dashpay/dash.git
synced 2024-12-30 22:35:51 +01: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
@ -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…
Reference in New Issue
Block a user