mirror of
https://github.com/AskDavis/Casinotest.git
synced 2026-01-01 05:05:57 -08:00
added upper boundary to block reward reduction to ensure 63 million coins maximum
This commit is contained in:
@@ -1110,7 +1110,13 @@ int64 static GetBlockValue(int nHeight, int64 nFees)
|
|||||||
|
|
||||||
// Permantently reduce the number of mined coins to 10 after block 620000
|
// Permantently reduce the number of mined coins to 10 after block 620000
|
||||||
if(nHeight > 620000){
|
if(nHeight > 620000){
|
||||||
nSubsidy = 10 * COIN;
|
if(nHeight < 3756000){
|
||||||
|
nSubsidy = 10 * COIN;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
nSubsidy = 0 * COIN;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user