Ramp down blockreward over 30 years

This commit is contained in:
jl777
2018-09-24 07:22:32 -11:00
parent 1f77927e62
commit 9f59de78b2

View File

@@ -1874,8 +1874,10 @@ CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
{ {
if ( nHeight == 1 ) if ( nHeight == 1 )
return(100000000 * COIN); // ICO allocation return(100000000 * COIN); // ICO allocation
else if ( nHeight < KOMODO_ENDOFERA ) //komodo_moneysupply(nHeight) < MAX_MONEY ) else if ( nHeight < KOMODO_ENDOFERA )
return(3 * COIN); return(3 * COIN);
else if ( nHeight < 2*KOMODO_ENDOFERA )
return(2 * COIN);
else return(COIN); else return(COIN);
} }
else else