A Bitcoin miner pays itself through the block's coinbase transaction, which may claim at most the block subsidy plus the fees of the block's transactions. Nodes reject a block whose coinbase claims more than that total.
Sources and checks
T1Bitcoin Core src/validation.cpp, ConnectBlock coinbase limitSource code, says this directly
CAmount blockReward = nFees + GetBlockSubsidy(pindex->nHeight, params.GetConsensus());
ConnectBlock, blockReward and bad-cb-amount, read 2026-11-20
T1Bitcoin Core src/validation.cpp, ConnectBlock coinbase limitSource code, says this directly
if (block.vtx[0]->GetValueOut() > blockReward && state.IsValid()) {
ConnectBlock, the check that rejects an overpaying coinbase, read 2026-11-20
bitcoin/bitcoin at f498a5a671 contains this text in src/validation.cpp, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/validation.cpp | grep -nF 'CAmount blockReward = nFees + GetBlockSubsidy(pindex->nHeight, params.GetConsensus());'Checked at block 976,783, 20 Nov 2026, 20:55 UTC: recheck, quotes 2/2, code 1/1
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