Skip to main content

Bitcoin History Part 10: The 184 Billion BTC Bug

Bitcoin History Part 10: The 184 Million BTC Bug

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

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.

The post Bitcoin History Part 10: The 184 Billion BTC Bug appeared first on Bitcoin News.



from Bitcoin News https://ift.tt/2TlYmfJ

Comments

Popular posts from this blog

Mt Gox Creditors Updated, Trustee Says Rehabilitation Custodian Is ‘Currently Preparing to Make Repayments’

On August 31, 2022, the Mt Gox trustee Nobuaki Kobayashi explained in a recent letter that the rehabilitation custodian is “currently preparing to make repayments” to Mt Gox creditors. Trustee Updates Mt Gox Creditors — Repayment Date and Exchange Still Unknown Last week speculation and rumors concerning the release of 140K bitcoin ( BTC ) from Mt Gox littered social media platforms and headlines. Bitcoin.com News covered the situation six days ago as a number of people and Mt Gox creditors called the rumors “ fake news .” During that same period of time, a bitcoin whale transferred 10,000 BTC to unknown wallets, and a 2018 annotation , heuristics, and clustering methods show the funds likely originated from the June 2011 Mt Gox hacks. Following the mysterious whale transfer, last Wednesday, Mt Gox published an official update from the court trustee Nobuaki Kobayashi that explains the court is “currently preparing to make repayments” to creditors. Mt Gox creditors have been wait...

Fidelity Discusses Bitcoin as Portfolio Insurance — Could Soon Stand in ‘Stark Contrast’ to Path Fiat Currencies Take

Fidelity Digital Assets, a subsidiary of Fidelity Investments, says that bitcoin could be considered portfolio insurance. The firm notes that the cryptocurrency “may soon stand in stark contrast to the path that the rest of the world and fiat currencies may take — namely the path of increased supply, additional currency creation, and central bank balance sheet expansion.” Fidelity Says Bitcoin Could Be Portfolio Insurance Fidelity Digital Assets, a subsidiary of Fidelity Investments, recently published a research study titled “The Rising Dollar and Bitcoin.” The research outlines “how bitcoin could be considered portfolio insurance” as the rising dollar impacts global currency markets. “The strengthening U.S. dollar is wreaking havoc among other countries and may put pressure on the Federal Reserve to soon reverse its tightening monetary actions, something that has precedent based on 1985’s Plaza Accord,” Fidelity explained. In addition, “more monetary debasement may be needed to ...

Economists Discuss Russia, China Potentially Developing Gold-Backed Currency That Could Undermine US Dollar

Economists have weighed in on reports that China and Russia may be developing a new gold-backed currency that could undermine the U.S. dollar’s status as the world’s primary reserve currency. Russia and China May Be Developing Gold-Backed Currency Several experts have shared their views on Russia and China potentially creating a new gold-baked currency, Fox Business reported Saturday, emphasizing that China has been buying up huge quantities of gold while Russia was forced off the U.S. dollar due to sanctions imposed on the country following its invasion of Ukraine. The news outlet noted that some experts have cautioned that these moves, along with the closer relationship that has developed between Moscow and Beijing, point to the likelihood of China attempting to launch a gold-backed currency. However, neither Russia nor China has officially confirmed plans for such a currency. Craig Singleton, senior fellow at the Foundation for Defense of Democracies and a former U.S. diplomat,...