BIP 34 requires each block's height as the first item of its coinbase scriptSig, a rule its stated motivation ties to enforcing block and transaction uniqueness. Bitcoin Core's mainnet parameters set BIP34Height to block 227,931.
Sources and checks
T1BIP 34, Block v2, Height in CoinbaseBIP, says this directly
Add height as the first item in the coinbase transaction's scriptSig, and increase block version to 2.
Specification, read 2026-11-20
T1BIP 34, Block v2, Height in CoinbaseBIP, says this directly
Enforce block and transaction uniqueness, and assist unconnected block validation.
Motivation, read 2026-11-20
T1Bitcoin Core src/kernel/chainparams.cpp, BIP34HeightSource code, says this directly
consensus.BIP34Height = 227931;
CMainParams, BIP34Height, read 2026-11-20
bitcoin/bitcoin at f498a5a671 contains this text in src/kernel/chainparams.cpp, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/kernel/chainparams.cpp | grep -nF 'consensus.BIP34Height = 227931;'Block 227,931 has hash 000000000000024b...
Run it yourself
bitcoin-cli getblockhash 227931BIP 34's Status is "Deployed" on the default branch.
Run it yourself
curl -s https://raw.githubusercontent.com/bitcoin/bips/master/bip-0034.mediawiki | grep -m1 -E '^ *Statuss?:'Checked at block 976,783, 20 Nov 2026, 20:55 UTC: recheck, quotes 3/3, code 2/2, chain 1/1 (esplora pair agreed)
History
Nothing is edited silently; every revision keeps what it replaced.
- 20 Nov 2026, 16:20 UTCblock 976,753
Published Revision 1, run 2026-11-20-seed-halvings-and-supply