@ghostlander said in Trying to understand the supply of FTC:
const int nForkThree = 204639;
int64 GetBlockValue(int nHeight, int64 nFees) {
int64 nSubsidy = 200 * COIN;if(nHeight >= nForkThree || (fTestNet))
// Halving subsidy happens every 2,100,000 blocks. The code below takes account for the // fact that the first 204,639 blocks took 2.5 minutes and after changed to 1 minute. nSubsidy >>= (nHeight + 306960) / 2100000; return nSubsidy + nFees;
nSubsidy = 80 * COIN;}
[{‘end’: 204638, ‘reward’: 200, ‘start’: 1}, // 40,927,600
{‘end’: 2100000 - 306960, ‘reward’: 80, ‘start’: 204638 + 1}, // 127,072,160
{‘end’: 4200000 - 306960, ‘reward’: 40.0, ‘start’: 2100000 - 306960 + 1}, // 84,000,000
{‘end’: 6300000 - 306960, ‘reward’: 20.0, ‘start’: 4200000 - 306960 + 1}, // 42,000,000
{‘end’: 8400000 - 306960, ‘reward’: 10.0, ‘start’: 6300000 - 306960 + 1}, // 21,000,000
{‘end’: 10500000 - 306960, ‘reward’: 5.0, ‘start’: 8400000 - 306960 + 1}, // 10,500,000
{‘end’: 12600000 - 306960, ‘reward’: 2.5, ‘start’: 10500000 - 306960 + 1}, // 5,250,000
{‘end’: 14700000 - 306960, ‘reward’: 1.25, ‘start’: 12600000 - 306960 + 1}, // 2,625,000
{‘end’: 16800000 - 306960, ‘reward’: 0.625, ‘start’: 14700000 - 306960 + 1}, // 1,312,500
{‘end’: 18900000 - 306960, ‘reward’: 0.3125, ‘start’: 16800000 - 306960 + 1}, // 656,250
{‘end’: 21000000 - 306960, ‘reward’: 0.15625, ‘start’: 18900000 - 306960 + 1}] // 328,125
and 328,125 additionalTotal is 335,999,760 coins.
Thanks for the info!