Bitcoin's Quantum Conundrum: A Race Against Time to Safeguard 6.9 Million Coins
Not all aspects of bitcoin are vulnerable to quantum computer attacks. The process of bitcoin mining, which involves adding new blocks to the blockchain, utilizes a type of mathematics called hashing that quantum computers are unable to break. As a result, the ledger itself and the rule that new bitcoins can only be created through mining would remain intact in the event of a quantum attack. The blockchain would continue to function, and new blocks would still be produced. However, ownership of bitcoins would be at risk. Bitcoin wallets rely on a different type of mathematics that converts a private key into a public address. This math works in one direction but not the other, and it is the only thing that prevents someone else from spending your coins. A quantum algorithm known as Shor's algorithm can bypass this mathematics, and a recent paper by Google demonstrated that the attack could be carried out with significantly fewer resources than previously thought. This article, the final installment in a series on quantum computing, explores the potential risks, the measures bitcoin has taken to address them, and whether the network can coordinate a major security upgrade before quantum computers become powerful enough to pose a threat. Approximately 6.9 million bitcoins, or about one-third of all mined coins, are stored in wallets whose public keys are visible on the blockchain. These coins are vulnerable to quantum attacks, and a successful attack could result in the theft of these funds. The 2021 Taproot upgrade inadvertently increased the vulnerability by publishing the key protecting any remaining bitcoin at an address after a transaction. While there are ongoing debates and proposals among bitcoin developers, no concrete plan has emerged to address the quantum threat. In contrast, Ethereum has had a formal quantum-resistant program in place since 2018 and is actively working on migrating its security to quantum-resistant mathematics. The lack of a coordinated response from bitcoin developers is largely due to the network's governance culture, which emphasizes decentralization and resistance to change. The biggest challenge in implementing effective solutions is the need for decisions that the network has historically avoided, such as freezing old address formats or allowing exposed coins to be moved to new quantum-safe addresses. The fate of Satoshi Nakamoto's approximately 1 million bitcoins, which have remained untouched since the network's early days, is a prime example of the difficulties in finding a solution. The future of bitcoin's security hangs in the balance, and the question remains whether the network can coordinate a major security upgrade before it's too late.