I think whitepaper is just a summary, so it's not very detail. While the source code is everything that make Bitcoin run, probably there's other thing that didn't mentioned in whitepaper besides halving.
POS = Proof of Scam, stay away from POS coins/tokens.
It is best to have the bitcoin github[1] as reference since all the updates and upgrades are mentioned on that repository.
To be more accurate, on lines 1752-1763.
CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
{
int halvings = nHeight / consensusParams.nSubsidyHalvingInterval;
// Force block reward to zero when right shift is undefined.
if (halvings >= 64)
return 0;
CAmount nSubsidy = 50 * COIN;
// Subsidy is cut in half every 210,000 blocks which will occur approximately every 4 years.
nSubsidy >>= halvings;
return nSubsidy;
Was it in there from the start or later added ?
To answer my own question:
Using deepgit 4.3 on Windows 7 german laptop with 2GB RAM, pagefile.sys/vmram 2 GB:
int64 CBlock::GetBlockValue(int64 nFees) const
{
int64 nSubsidy = 50 * COIN;
// Subsidy is cut in half every 4 years
nSubsidy >>= (nBestHeight / 210000);
return nSubsidy + nFees;
}
Blame for
File main.cpp
Commit e071a3f6 by sirius-m at 2009-08-30 05:46 on v0.1.5, v0.3.20, v0.3.20.01_closest, v0.3.20.2_closest
Msg First commit
Who or what is sirius-m, in short SM.
Is it really Satoshi Moto ?
There were some shenigans along the way/changes/"going deeper"
One attempt to change 210000 block halving to 150 block halving, not sure why, maybe for halving testing purposes, or preventing miners from getting too many too early.