BTC $71,807
2026 Bull Run Is Building Start trading with 5% OFF all fees
Sign Up Now
BTC $71,807
Bull Run 2026 | 5% Off Fees Open your Binance account today
Sign Up

Bitcoin History Part 10: The 184 Billion BTC Bug

Bitcoin History Part 10: The 184 Billion BTC Bug

- Advertisement -

There was something unusual about Bitcoin block 74638. It was Core developer Jeff Garzik who first spotted it, commenting on the “quite strange” transaction outputs, which stood at 92233720368.54 BTC apiece. That wasn’t meant to happen. Within an hour, another forum user had started a thread titled “overflow bug serious” in which he implored “We need a fix asap.” It was Aug. 15, 2010, and Bitcoin had just encountered its biggest bug yet.

Also read: Bitcoin History Part 9: Mt. Gox Is Born

Bitcoin Encounters a Very Big Bug

Bitcoin had already endured at least four major bugs or vulnerabilities prior to the integer overflow bug that led to 184 billion BTC being created out of thin air. The Bitcoin wiki lists 40 bugs of varying degrees of severity, with the most recent discovered in February 2019. CVE-2010-5139, however, was unlike anything the Bitcoin community had ever encountered in 2010 — or has seen since.

Bitcoin History Part 10: The 184 Billion BTC Bug

- Advertisement -

The bug that Garzik, among others, uncovered in block 74638 was Bitcoin’s first inflation bug. Given that the cryptocurrency’s total supply is meant to be capped at 21 million, the addition of 184 billion coins was a major problem to put it mildly. An integer overflow had caused a negative total transaction value. As Bitcointalk forum user Ifm explained:

Normally the inputs are equal to the outputs of a transaction. The exception is when there is a ‘fee’ charged for the transaction. The net allows anyone to voluntarily pay any amout for a fee. So when the sum was negative the difference from the input looked like a fee. It slipped thru all the checks.

An unknown attacker had discovered the bug and used it to generate a ridiculously high number of bitcoins. Had they set their sights on a more modest total, it is possible their exploit might have lain undiscovered for longer than the 90 minutes it took for the scheme to be spotted. Once discovered, it was inevitable that a patch would be rushed through, and so it came to pass. Within two hours of Common Vulnerability and Exposure 2010-5139 striking, Core developers Gavin Andresen and Satoshi Nakamoto were on the case, and the 184 billion BTC transaction was purged from block 74638.

Bitcoin History Part 10: The 184 Billion BTC Bug

“Once more than 50% of the node power is upgraded and the good chain overtakes the bad, the 0.3.10 nodes will make it hard for any bad transactions to get any confirmations,” reassured Satoshi. Bitcoin’s creator took a bug of this magnitude seriously, and posted more than a dozen times in the thread devoted to its discovery and eradication. Within five months of the incident, Satoshi would leave the community he founded for good. In his wake, he left a cryptocurrency that would prove strong enough to survive the next eight years and beyond.

Bitcoin History is a multipart series from news.Bitcoin.com charting pivotal moments in the evolution of the world’s first and finest cryptocurrency. Read part nine here.


Images courtesy of Shutterstock.


Need to calculate your bitcoin holdings? Check our tools section.

Bitcoin History Part 10: The 184 Billion BTC Bug
Kai Sedgwick

Kai’s been playing with words for a living since 2009 and bought his first bitcoin at $19. It’s long gone. He’s previously written white papers for blockchain startups and is especially interested in P2P exchanges and DNMs.

Source

Previous Articles:

- Advertisement -
Ad
Altseason Is Loading. Don't watch from the sidelines.
SOL $90.51
DOGE $0.0963
LINK $9.02
SUI $1.00
5% off fees when you sign up
Start Trading
Ad
Pay Less on Every Trade. For Life.
$10K/mo volume Save $60/yr
$50K/mo volume Save $300/yr
$100K/mo volume Save $600/yr
5% off all trading fees when you sign up
Claim Your Discount

Latest News

Anthropic Hits $1 Trillion Valuation on Secondary Markets

Secondary market trades now value AI firm Anthropic at approximately $1 trillion, surpassing OpenAI's...

Lightning Network’s Mexican Standoff Paralyzes BTC Routing

Bitcoin’s Lightning Network is locked in a recurring liquidity "Mexican standoff" where routing nodes...

120 Crypto Firms Urge US Senate to Pass Market Structure Bill

More than 120 crypto industry entities have urged US Senate Banking Committee leaders to...

Bitwarden CLI Compromised by Checkmarx Supply Chain Attack

The official Bitwarden CLI package on npm was compromised, distributing a malicious version that...

Netflix Announces New $25 Billion Stock Buyback

Netflix authorized a new $25 billion stock buyback following a 13% weekly decline in...

Must Read

Sushiswap vs Uniswap, What are the differences between these dex?

It's no secret that the world of decentralized exchanges has exploded in recent years. Many of you are probably wondering what the difference is...
Ad
Altseason Is Loading. These 4 coins are trending right now.
SOL $92.12
DOGE $0.0950
LINK $9.02
SUI $1.02
5% off spot fees when you sign up
Start Trading