mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 21:42:47 +01:00
Added 7% production decline per year, effective block 210240
This commit is contained in:
parent
07c99052ed
commit
0f2c10e18a
@ -1108,9 +1108,12 @@ int64 static GetBlockValue(int nBits, int nHeight, int64 nFees)
|
||||
if (nSubsidy < 1) nSubsidy = 1;
|
||||
}
|
||||
|
||||
//printf("height %u diff %4.2f reward %i \n", nHeight, dDiff, nSubsidy);
|
||||
// printf("height %u diff %4.2f reward %i \n", nHeight, dDiff, nSubsidy);
|
||||
nSubsidy *= COIN;
|
||||
|
||||
// yearly decline of production by 7% per year, projected 21.3M coins max by year 2050.
|
||||
for(int i = 210240; i <= nHeight; i += 210240) nSubsidy *= 0.93;
|
||||
|
||||
return nSubsidy + nFees;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user