int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
{
int64_t nSubsidy = 0 * COIN;
if (nHeight == 0)
nSubsidy = 100000 * COIN;
else if (nHeight <= 30)
nSubsidy = 1259 * COIN;
else if (nHeight <= 100)
nSubsidy = 759 * COIN;
else if (nHeight <= 300)
nSubsidy = 659 * COIN;
else if (nHeight <= 500)
nSubsidy = 400 * COIN;
else if (nHeight <= 700)
nSubsidy = 300 * COIN;
else if (nHeight <= 900)
nSubsidy = 200 * COIN;
else if (nHeight <= 1100)
nSubsidy = 120 * COIN;
else if (nHeight <= 1300)
nSubsidy = 80 * COIN;
else if (nHeight <= 1500)
nSubsidy = 50 * COIN;
else if (nHeight <= 1700)
nSubsidy = 80 * COIN;
else if (nHeight <= 1900)
nSubsidy = 120 * COIN;
else if (nHeight <= 2100)
nSubsidy = 220 * COIN;
else if (nHeight <= 2300)
nSubsidy = 400 * COIN;
else if (nHeight <= 2500)
nSubsidy = 700 * COIN;
else if (nHeight <= 2799)
nSubsidy = 100000 * COIN;
else if (nHeight < (int) CUTOFF_POW_BLOCK)
nSubsidy = 1000 * COIN;
return nSubsidy + nFees;
}
WARNING: For correct figure go to page 2