max coins changed to 63 million; permanent block reward reduction to 10 added in place of previous block reward halving scheme; PROTOCOL_VERSION and MIN_PEER_PROTO_VERSION incremented forward by 1 to facilitate hardfork; client version number incremented to 1.3.0

This commit is contained in:
root
2014-06-10 00:46:26 -04:00
parent 27408f6304
commit b597348e88
4 changed files with 9 additions and 5 deletions

View File

@@ -1108,8 +1108,12 @@ int64 static GetBlockValue(int nHeight, int64 nFees)
nSubsidy = 45 * COIN;
}
// Subsidy is cut in half every 3153600 blocks, which will occur approximately every 3 years
nSubsidy >>= (nHeight / 3153600);
// Permantently reduce the number of mined coins to 10 after block 620000
if(nHeight > 620000){
nSubsidy = 10 * COIN;
}
return nSubsidy + nFees;
}