Nov 20 - Nov 24, 2026
In anticipation of such technological advances, proactive steps such as the adoption of post-quantum (PQ) output types and the migration of funds are essential to protect assets. However, given the likelihood that not every user will complete these migrations, there is an urgent need for robust Post-Quantum Recovery Protocols. These protocols would introduce new consensus rules, providing additional spending conditions for existing unspent transaction outputs (UTXOs) to defend against potential theft after a quantum breakthrough.
Post-Quantum Recovery Protocols can be classified into Prepared and Unprepared schemes. Prepared recovery requires preemptive user action or data commitment before the arrival of "Q-day," when quantum computers could potentially undermine current cryptographic methods. Unprepared recovery, in contrast, operates without the necessity for prior user intervention and is designed to function independently of specific PQ output formats, thereby increasing its applicability across the network.
Understanding the nature of recovery secrets is crucial to designing effective protocols. Accidental secrets include public keys and scripts that, while not immediately granting control over coins, may be exposed without immediate risk as long as current cryptographic standards remain secure. Examples comprise public keys hidden behind hashed output types such as P2PKH, P2WPKH, P2SH, and P2WSH, as well as BIP32 extended public keys and internal keys related to P2TR outputs. Essential secrets, on the other hand, confer direct ownership of coins and include BIP32 seeds, brainwallet passphrases, or private scalar preimages. Most contemporary wallets employ BIP39 seed phrases to generate BIP32 master keys, but deviations from this standard can introduce vulnerabilities.
A fundamental dilemma arises when selecting between accidental and essential secrets for recovery mechanisms. Exclusive reliance on essential secrets risks rendering some coins permanently inaccessible, particularly for those created prior to BIP32 or lacking proof of provenance. Conversely, depending solely on accidental secrets exposes coins to increased risk of theft since public keys and scripts might be disclosed outside the blockchain, making them susceptible to malicious access. This challenge transcends technical considerations and involves a philosophical balance between the destruction of some coins and the potential for others to be stolen.
One approach to mitigate these risks is the introduction of "recovery eras." Under this framework, spending requirements for UTXOs evolve over time. Initially, only transactions authenticated using essential secrets would be allowed, affording diligent users a secure window to recover their assets. After this period, accidental secrets could be used for recovery, permitting broader access at the cost of heightened theft risk. Alternatively, eras could be tailored dynamically according to the age of each UTXO, granting extended protection to older, less active coins.
Multisignature (multisig) outputs introduce additional complexities. In traditional M-of-N multisig configurations, requiring accidental secrets for recovery lowers the threshold for spending, possibly allowing a single co-signer to act unilaterally. Requiring essential secrets, however, increases the danger of lost funds if even one participant cannot provide the necessary information. Given the inherent trust among multisig participants, utilizing accidental secrets may be appropriate in many scenarios, but the decision hinges on whether the priority lies in preventing co-signer theft or ensuring continued fund accessibility.
A recent analysis of Bitcoin’s UTXO set at block 975,019 provides quantitative insights into the exposure landscape. Outputs are considered devoid of accidental secrets if their public key appears directly in the output script or has already been revealed through a confirmed transaction. At this block, 6,942,209 BTC—accounting for 34.5% of all unspent BTC—are in outputs with no accidental secret remaining. Including P2TR outputs brings this total to 7,164,754 BTC, or 35.6%. The breakdown reveals 5,227,522 BTC in P2PKH, P2WPKH, P2SH, and P2WSH outputs with keys or scripts on chain; 1,714,619 BTC in P2PK outputs; and minor amounts in bare multisig and other categories. In contrast, 12,941,835 BTC, representing 64.4% of unspent BTC, reside in outputs where accidental secrets remain undisclosed. Details and methodology for these statistics are available on the method page, with further classification accessible via the UTXO census at block 975,019.
It is important to note that off-chain disclosure of secrets—such as providing xpubs to servers—can shift outputs from protected to exposed status. Furthermore, on-chain data does not reveal
TLDR
We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project.
Give Feedback