126 million BTC? How Bitcoin’s absolute scarcity was saved

11 years ago, Bitcoin contributors prevented a supply crisis… two centuries from now

article-image

ddRender/Shutterstock and Adobe modified by Blockworks

share

This is a segment from the Supply Shock newsletter. To read full editions, subscribe.


Few things are built to stand the test of time. Bitcoin is.

Engineers design bridges to last only around 100 years. Modern-day dams might be built that only make it to half that. 

Perhaps regular maintenance could stretch those numbers by a few decades. They would still crumble much sooner than Bitcoin was ever intended to.

Today is the 11th anniversary of a testament to exactly that: BIP-42, the clutch proposal that averted a potential supply crisis 240 years from now.

Bitcoin Core contributor Pieter Wuille submitted BIP-42 on April Fool’s Day, 2014, years after Satoshi Nakamoto’s last post. BIP-42 was based on a solution proposed by Gregory Maxwell. Fittingly, it was both very serious and deeply unserious at the same time.

BIP-42 doubled as a roast of Satoshi Nakamoto (source).

As it turns out, Satoshi had made a grave but obscure error when coding the logic for bitcoin halvings. 

The block reward had been correctly set to halve every 210,000 blocks, all the way down to an unspendable fraction of a sat by the year 2140 or so. This is what makes the BTC supply predictably and provably finite.

But the code was written in such a way that it determines the mining reward using the current block height. And when the block height gets too high — much higher than it is today — Satoshi would’ve had to write special rules informing the software how to process such a calculation safely.

The exact impact of the bug isn’t really knowable, but the largest of unintended consequences would have been that the block reward reverted to its original state of 50 BTC. BTC’s supply issuance curve would be rebooted to 2009.

Left unchecked, the bug would return again and again every two and a half centuries, making for potentially infinite bitcoins over the millennia.

Bitcoin’s circulating supply would hit 126 million in the year 3417, without fixing the supply bug.

“Although it is widely believed that Satoshi was an inflation-hating goldbug, he never said this, and in fact programmed Bitcoin’s money supply to grow indefinitely, forever,” Wuille wrote.

What’s humbling is that BIP-42 aborted a cataclysmic event that would’ve occurred 10 generations from now — in the approximate year 2265, when the block height should reach 13.44 million (today, it’s under 890,000). That’s over a century after the last slice of spendable bitcoin is expected to be mined, in 2140. 

So, I suppose our great, great, great, great, great, great, great, great grandchildren will have Wuille and Maxwell to thank for making sure that’s so.

— David

Rizzo’s view, as the Bitcoin Historian

It’s nice that David can have a laugh over BIP-42. It is one of the more objectively quirky events in Bitcoin development history. That said, a more sober assessment raises thorny questions about the management of the Bitcoin software. 

One that I always linger on is the natural tension over what defines a “bug” in Bitcoin. Should we consider BIP-42 through the lens of jurisprudence, it helped enshrine two interesting views. 

  • First is the assertion that the code which BIP-42 patches is indeed a “bug” because it contradicts what Satoshi wrote, namely, that Bitcoin would have a fixed supply. 
  • Second is the view that the code is a “bug” because it contradicts what he told users to expect (creating a kind of social contract). 

There’s a truth to both assertions, but it seems to get more problematic when compared to how other code debates were handled. Take the infamous “block size,” for instance. In this case, Satoshi said it would be raised over time, and it’s also what most (if not all early users) expected.

Ergo, the unchanged block size checks similar boxes as BIP-42. Yet no action was ever taken to change it.

How to square this circle? Perhaps there’s the issue of safety. It’s true that eliminating the block size could lead to DDOS attacks, block withholding attacks, and potentially contribute to Bitcoin’s ultimate centralization. Equally, it could be said that rebooting the Bitcoin supply would constitute economic attacks. So, perhaps this was what swayed the decision.

I talked to Luke Jr. about this, and here’s what he had to say:

“It was the behaviour everyone expected. And also there was no guarantee future CPUs would have the previous behavior for the existing code either.”

Unfortunately, due to the tone of the patch, however, we might never know what all the participants had to say.


Get the news in your inbox. Explore Blockworks newsletters:

Tags

Decoding crypto and the markets. Daily, with Byron Gilliam.

Upcoming Events

Old Billingsgate

Mon - Wed, October 13 - 15, 2025

Blockworks’ Digital Asset Summit (DAS) will feature conversations between the builders, allocators, and legislators who will shape the trajectory of the digital asset ecosystem in the US and abroad.

Industry City | Brooklyn, NY

TUES - THURS, JUNE 24 - 26, 2025

Permissionless IV serves as the definitive gathering for crypto’s technical founders, developers, and builders to come together and create the future.If you’re ready to shape the future of crypto, Permissionless IV is where it happens.

Brooklyn, NY

SUN - MON, JUN. 22 - 23, 2025

Blockworks and Cracked Labs are teaming up for the third installment of the Permissionless Hackathon, happening June 22–23, 2025 in Brooklyn, NY. This is a 36-hour IRL builder sprint where developers, designers, and creatives ship real projects solving real problems across […]

recent research

Research Report Templates.png

Research

Maple Finance has successfully navigated significant market challenges through its strategic pivot to secured lending (Maple v2) and the launch of its Syrup product. Syrup has become a primary growth driver, delivering sustainable, outperforming stablecoin yields and rapidly increasing TVL. The upcoming custody-first Bitcoin staking product (istBTC) presents another significant avenue for expansion. Crucially, Maple has achieved operational profitability, a key inflection point that, combined with a fully vested token and active buyback mechanism, strengthens its investment case. While valuation metrics suggest potential undervaluation relative to peers and growth, the primary forward-looking risk identified is the long-term sustainability of its current high-take-rate collateral staking revenue model.

article-image

Prediction markets show that people bet in anticipation of things happening far too often

article-image

The agency’s final deadline is in October

article-image

Higher inflation historically lags behind tariff implementation, so don’t celebrate just yet

article-image

VanEck launches its first tokenized fund after financial giants convene at SEC roundtable

article-image

The “GameFi” platform that began its development while part of Zynga is launching another NFT collection

article-image

Funds disagree about which metrics matter, but agree fundamentals are key