static const int64_t MAX_MONEY = 50000000 * COIN;
int64_t nSubsidy = 1 * COIN;
if(pindexBest->nHeight <= 1)
{
nSubsidy = 300000 * COIN; // Initilised static pre-mine.
}
else if(pindexBest->nHeight < 500) // First halving - Activated instamine protection
{
nSubsidy = 1 * COIN; // ~500
}
else if(pindexBest->nHeight < 1000000) // Second halving - Initilised normal blockchain
{
nSubsidy = 10 * COIN; // ~10m
}
else if(pindexBest->nHeight < 1001000) // Third halving - Superblock wards | Happy Birthday Lux 1 Year | 10/10/2018 | 30 LUX/block reward
{
nSubsidy = 30 * COIN; // ~30,000 reward to miner
}
else if(pindexBest->nHeight < 5000000) // Last halving - Re-activate normal blockchain
{
nSubsidy = 10 * COIN; // ~10m
}
else if(pindexBest->nHeight < 6000000) // PoW end block 6m - Reduce block reward | Automatic initilised new blockchain after 6m blocks
{
nSubsidy = 10 * COIN; // ~10m
}
else
{
nSubsidy = 1 * COIN;
}