what's this for, the premine/crowdsale?
then block 22...
block 32..
44..
and that's all before ANY pos difficulty. this is more coins than the premine.. what's the deal here??
// coin base reward
int64_t GetProofOfWorkReward(int nHeight, int64_t nFees)
{
int64_t nSubsidy = 0 * COIN;
if (nHeight == 1)
{
nSubsidy = 200000 * COIN;
}
else if (nHeight > 1 && nHeight <= 100)
{
nSubsidy = 0.01 * COIN;
}
return nSubsidy + nFees;
}
// coin stake reward
int64_t GetProofOfStakeReward(const CBlockIndex* pindexPrev, int64_t nCoinAge, int64_t nFees)
{
int64_t nSubsidy = 5 * COIN;
if (pindexBest->nHeight+1 > 100 && pindexBest->nHeight+1 <= 5000)
{
nSubsidy = 50 * COIN;
}
else if (pindexBest->nHeight+1 > 5000 && pindexBest->nHeight+1 <= 20000)
{
nSubsidy = 25 * COIN;
}
else if (pindexBest->nHeight+1 > 20000 && pindexBest->nHeight+1 <= 50000)
{
nSubsidy = 20 * COIN;
}
else if (pindexBest->nHeight+1 > 50000 && pindexBest->nHeight+1 <= 100000)
{
nSubsidy = 15 * COIN;
}
else if (pindexBest->nHeight+1 > 100000 && pindexBest->nHeight+1 <= 200000)
{
nSubsidy = 10 * COIN;
}
else if (pindexBest->nHeight+1 > 200000)
{
nSubsidy = 5 * COIN;
}
return nSubsidy + nFees;
}
Hope this helps
If you do not understand the code, then for your benefit all explanation is provided by dev in simple terms in the announcement. Just read it. After all, not everyone is "Technical".