BIP-34
Block v2, Height in Coinbase.
Makes every block record its height, its place in the chain, inside the payment that rewards the miner.
Adding the height makes each block and its reward payment unique. The change was rolled out with a vote by version number: once 950 of the last 1,000 blocks used the new version, older-version blocks were rejected.
Read BIP-34 in full on GitHubAll BIPs