The last stack element is called the control block c, and must have length 1 + 32 * m, for a value of m that is an integer between 0 and 128, inclusive. Fail if it does not have such a length.
The last stack element is called the control block c, and must have length 1 + 32 * m, for a value of m that is an integer between 1 and 128, inclusive. Fail if it does not have such a length.
<height> CLTV <pubkey> CHECKSIG, the devs may actually have incentive not to add a cooperative spending path, because the cooperative path would actually be less-efficient than just using the non-cooperative path as the single leaf of a depth-zero tree. This leads to easy fingerprinting of scripting protocols, less privacy for everyone else, and undoes a key design goal of P2TR.The value of taproot is that its design natively adds [a cooperative spending path] *for free* to every contracting protocol, and not only adds it for free but *forces* every contracting protocol to carry at least some of the cost if they decline to do this. This results in a massive net privacy win across the entire Bitcoin ecosystem...
a goal of taproot is *privacy* while offering efficiency for the common (all-sign) case. That is generally true across contracting protocols and makes things net-cheaper with a taproot-style system where you hit the common case often. This is another reason why P2MR is quite a loss
--
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/Q8YTY1ArMzia7tRvcZ5v769WPxCMxAl_0rUy-byOBjBcTd4HXj7IB7Yt4gxLbKqk7EXFWy-PuGB6QtI28qRjE5Vob-l44UmBH6L8aXInoSk%3D%40proton.me.
It's important to consider that in any scenario where Bitcoin as we know it survives a CRQC, the vast majority of users would have had to migrate to an output type that includes an escape hatch long before we could have been reasonably certain that a CRQC would materialize. Therefore we should not assume that the vast majority of users strongly desire to migrate to an escape-hatch output type. (In fact, i think it would actually be reasonable to assume none have a strong desire to do so. This is because everyone has an incentive for everybody to migrate, but there is little incentive for each individual to migrate if nobody else does.)
Therefore any additional barrier to encourage users to opt into an escape-hatch output type is working against CRQC risk mitigation.
any additional barrier to encourage users to opt into an escape-hatch output type is working against CRQC risk mitigation. And i think the additional costs of using P2MR compared to P2TRv2 is one of them.
Hi Antoine, thanks for the feedback. Glad to hear you're receptive!It's important to consider that in any scenario where Bitcoin as we know it survives a CRQC, the vast majority of users would have had to migrate to an output type that includes an escape hatch long before we could have been reasonably certain that a CRQC would materialize. Therefore we should not assume that the vast majority of users strongly desire to migrate to an escape-hatch output type. (In fact, i think it would actually be reasonable to assume none have a strong desire to do so. This is because everyone has an incentive for everybody to migrate, but there is little incentive for each individual to migrate if nobody else does.)Therefore any additional barrier to encourage users to opt into an escape-hatch output type is working against CRQC risk mitigation.All else being equal, whether we use P2MR or P2TRv2 I believe we will end up with roughly the same (small) fraction of the UTXO set migrated by Q-day. I believe this because address format adoption is always slow even with good incentives. Even after 7 years and plenty of incentives to migrate, P2TR still secures only a small fraction of the UTXO-set compared to P2(W)PKH, and a tiny fraction (0.75%) of the supply. See this 2025 report from mempool.space and this 2025 report from Galaxy Digital. Incentivizing adoption doesn't always lead to adoption, so why expect it to do so with P2TRv2? It doesn't offer any incentive over P2TR beyond a shallow promise of maybe-some-day-quantum-security.
Here's my timeline prediction, with the above precedent in mind. We deploy a PQ output type, some minority of UTXOs migrate to it. When the first confirmed ECDLP break is proven (e.g. if someone breaks a NUMS point) or suspected (someone stole Satoshi's coins), then we will deploy a rescue protocol which we hopefully prepared in advance to protect the majority procrastinator UTXOs. Maybe we disable EC spending at the same time (a valid option for either P2MR or P2TRv2). Then there will be a brief fork-war (hard or soft) revolving around the question of how to handle Satoshi's coins. After that IDK what happens, but I expect Bitcoin will survive if we prepare adequately today by deploying a quantum-safe address format and PQ signature scheme, and develop rescue protocols for later activation to move laggards over to PQ wallets.
Whether we pick P2MR or P2TRv2 today, neither choice will affect the early stages of this plot-line very much, so we might as well optimize for the long-term future, and P2MR wins out there.
any additional barrier to encourage users to opt into an escape-hatch output type is working against CRQC risk mitigation. And i think the additional costs of using P2MR compared to P2TRv2 is one of them.I have good news for you: there is an optimization to BIP360 which would make single-signer Schnorr spending significantly (32 bytes) cheaper. It's not my idea so I don't want to jump the gun in explaining the details, but expect another mailing list post soon with more info.
as far as compelling reasons go, I think the quantum resistance debate is quite different from P2TR adoption. As Q-fear grows, I suspect there will be increasingly loud and hard-to-ignore voices (and possibly regulation...) to adopt post quantum cryptography technology stacks.
No offense, but this sounds like a fairly depressing scenario to me. If an ECDLP break happens before even a large majority of the "active" economy adopts Q-safe outputs, I don't think there is much of an interesting future for Bitcoin. Leaving many users' coins vulnerable to theft will undermine short-term trust in the currency, possibly fatally so. The alternative, burning significant amounts of users' coins will be seen as confiscation that undermines the long-term stability value proposition bitcoin has, as it would be indistinguishable from a PQC altcoin that imports some fairly arbitrary subset of Bitcoin's UTXO set (see also https://antoinep.com/posts/quantum_risk_mitigation/, where Antoine makes that point in more detail).
It's possible to allow a Merkle tree whose leaves are either EC keys or scripts, and then allow spending from the key-leaves by revealing the path and a signature, but recover the expected public key from the signature. That needs a variation of BIP340 that doesn't commit to the public keys (which may break some of the proofs of higher-level schemes, but as long as there is no ANYPREVOUT like functionality, the message implicitly commits to the output so that may be fine). But even with that, efficiency is 32 bytes worse than P2TR, because in a Q-safe setting with at least one additional PQC branch, you have at least 32 bytes of Merkle path. Is this what you have in mind?
A reasonable intersection of both opinions could be further witness discount of EC Schnorr of P2MR (Segwit v2).
Further 2x witness discount (total 8x witness discount) makes P2MR EC-spend transaction cost almost at par with P2TRv2 key-spend path.
Hey Pieter, nice to hear from you too on this.Do you have any take on the OP idea about P2MR depth restrictions?
If PQ fear is indeed such a strong motivating factor as you hypothesize, wouldn't this be an argument against P2TRv2? P2TRv2 isn't quantum-resistant by default but P2MR is. Personally, if I thought a CRQC is imminent, I would rather sell my coins or stow them in a P2WSH address than migrate to an address format which requires a follow-up fork to be secure.To borrow a phrase, P2TRv2 bears a systemic risk (solving the fork timing problem), whereas P2MR has only local risk (address reuse, which btw would also be solved if we could solve fork-timing). Antoine drew this comparison on his post too but we apparently disagree on which is preferable.
Users and devs can control local risk with very simple software tweaks (to avoid address reuse) but they can't do anything about systemic risks.
This is why I prefer P2MR. If the fork-timing problem can be solved conclusively then maybe P2TRv2 would be viable, but as you've alluded to, we have yet to hear any passable solution that doesn't require a cooperative CRQC.
I lack data, but I suspect that by Q-day most coins will have some knowledge-asymmetry with a CRQC (hash preimages, BIP32 parent keys, hidden P2TR script paths, etc) and so can be rescued with simple commit/reveal protocols - no heavy ZK machinery or hard-forks needed.
With that in mind, then it doesn't really matter how many recoverable coins migrate before Q-day, does it? If you can assume P2TRv2's PQ-security promise will be deployed on-time, then you can also assume any BIP32 wallet in-use today can be rescued. What we really must care about is migrating the unrecoverable fraction of coins (e.g. JBOK wallets with exposed pubkeys). These should already be rare and will only become rarer as more time passes.
On a more positive note, if we can someday say "Look, quantum computers appeared and screwed some people over, but most people can recover their coins as long as they fulfill any one of these common criteria," then that seems like Bitcoin's unique value and confiscation resistance is surprisingly intact to me. Certainly better than certain other altcoin migrations I've seen in the past, but I guess this is a subjective question, and everyone will have their own opinion.
I think it improves one aspect of the incentive differences (relative costs within the output type for common vs. uncommon). The key recovery idea improves another (relative costs w.r.t. P2TR in the common case). Even with both, the result is still worse than P2TR today in both aspects (key-based spend is still more expensive compared to P2TR, and the incentive for key-based over script-based spend is weaker within P2MR).
my reasoning is primarily that the "Never" and/or "Immediately" options are just insufficient with current technology for any worthwhile migration attempt (independent of which commitment structure is used), and thus that we simply need the "Later" option.
Once you accept that, there is a secondary line of reasoning about which specific structure(s) are , and that is where taproot-based constructions come out ahead by having better incentives in the short- to medium term (the numbers above mean essentially less/zero economical friction).
There is one technical difference where the specific commitment structure matters: P2MR ("Merkle-Never") can be used in a Q-safe way and a hypothetical "Taproot-Never" cannot (which includes P2TRv2, if you don't believe in being able to rely on the future narrow disabling), which seems to be the primary reason people like it. However, I think this is extremely restrictive, and simply not an option for most users, because it means:
- Not using wallet indexing services that transmit public keys/xpubs.
- ...
And if you accept that at least a "Later" option is needed, I think adding more PQC options actually weakens it! If some people have their coins in "Never" or "Now" outputs in a PQC-safe manner (subject to the restriction / costs those bring), then that reduces the incentive to get the "Later" narrow EC freeze to occur, and indirectly reduces the value of that output type.
I don't understand this, can you elaborate? Having a knowledge-asymmetry seems like something that matters for ZK machinery.
P and message m, I publish H(P) and H(P, m) at time T. Then I reveal (P, m) at time T+1. A verifier checks H(P, m) was published first, and confirms there exist no earlier reveals for P (by looking for H(P)). This confirms I must have also approved the message m. A similar mechanism is used as the core coin authentication system of FawkesCoin. There are complexities to handle especially regarding censorship attacks, but ultimately it's doable.It sounds like you're really saying that the systemic migration to PQC is something that will happen through a commit/reveal, not through what we're discussing now. So what is the point of having something like P2MR or P2TRv2 in the near term?
--
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+...@googlegroups.com.
my reasoning is primarily that the "Never" and/or "Immediately" options are just insufficient with current technology for any worthwhile migration attempt (independent of which commitment structure is used), and thus that we simply need the "Later" option.Also agreed. Though I take things a step further as I suspect we will also be forced to restrict legacy coins by deploying a rescue protocol, but so far i'm following w.r.t the new output type. Whether it's P2MR or P2TRv2, EC disabling will be highly desirable.
Once you accept that, there is a secondary line of reasoning about which specific structure(s) are , and that is where taproot-based constructions come out ahead by having better incentives in the short- to medium term (the numbers above mean essentially less/zero economical friction).This is where you lose me. Why does P2TRv2 incentivize migration better than P2MR? You'd have to assume EC disabling will happen and will be timed perfectly. Then assume everyone using Bitcoin will have utter confidence in this TBD timing solution, and no reason to doubt it will work perfectly.
Even then, AFAICT the only distinction to the lay user between P2MR and P2TRv2 is that P2TRv2 is more efficient pre-Q-day, and P2MR is more efficient afterward, and both by about the same margin: 32 witness bytes (counting Boris' EC recovery improvement). That's 8 vbytes per Schnorr spend - less than a cent at current rates.
Theorycrafting for a second here. It's reasonable to conjecture fee rates will be much higher post-Q-day, and thus P2MR's 32 byte advantage over P2TRv2 will yield significant savings for end-users in absolute terms. If fee rates inflate 10x higher after Q-day, then 8 vbytes becomes significant (100 sats per spend or more). In other words, the P2TRv2 internal key will be much more expensive to a user after Q-day than P2MR's PQ leaf script hash will be to a user today.
I think our disagreement comes from your assumption we must always time the disabling fork perfectly to coincide with Q-day. On the other hand, I expect we will not solve the fork timing problem, so an EC disable fork will be a messy, panicked affair, arriving possibly quite late (months or years after Q-day). With P2MR, at least holders who used it properly will have shelter, and those who didn't will have an opportunity to move coins somewhere safe to ride things out.
And if you accept that at least a "Later" option is needed, I think adding more PQC options actually weakens it! If some people have their coins in "Never" or "Now" outputs in a PQC-safe manner (subject to the restriction / costs those bring), then that reduces the incentive to get the "Later" narrow EC freeze to occur, and indirectly reduces the value of that output type.Interesting. It sounds like you're arguing that because P2TRv2 is blatantly PQ-vulnerable, it will incentivize future bitcoin users to lock it down later. I mean yes, that's technically true, but that would be like putting a spike on the steering wheels of cars, to incentivize drivers to wear seatbelts.
Should we really bet the entire network on that incentive working out? Even if you're right and we all want very-badly to deploy EC disabling later, how can we know we'll time it correctly?
Remember, it's not just me you have to convince.
You'd have to convince everyone to deploy and then adopt P2TRv2 today under the public knowledge that it is insecure and their coins are more likely to be stolen. That's a hard sell.
How does one pitch P2TRv2 to users? "It will be quantum secure one day we promise because everyone is incentivized to fix it later as Bitcoin will die if we don't."How do you pitch P2MR? "It's quantum secure if you use it correctly."
The simplest example is a hash preimage. With preimageP and messagem, I publishH(P) andH(P, m) at timeT. Then I reveal(P, m) at timeT+1. A verifier checksH(P, m) was published first, and confirms there exist no earlier reveals forP (by looking forH(P)). This confirms I must have also approved the messagem. A similar mechanism is used as the core coin authentication system of FawkesCoin. There are complexities to handle especially regarding censorship attacks, but ultimately it's doable.
Because consensus changes take years to deploy, and we're running out of those. Many people seem to think so at least, I'm no physicist.
Essentially yes though, I expect the majority of holders will probably migrate to PQ addresses via rescue protocols, either on Bitcoin or a fork thereof. Even if we can't come to consensus and deploy a new output type, we'll still be able to rescue most coins. It's just that we'd have nowhere to rescue them to, so we ought to make PQ wallets available soon, so we're not in a rush to build them later when we need them. If a PQ wallet can use cheap EC signatures while they're still trustworthy, all the better
I really appreciate you all taking the time to have this important discussion together and still keeping things civil. The discussion on this thread has branched out from PQ migration destinations into also discussing confiscatory retroactive upgrades, like rescue protocols. I think, as per Antoine's recent thread, it's a mistake to conflate the two subjects, so this first email is just going to focus on designing secure PQ output types, and I'll include responses to the retroactive stuff in a separate message.
----------
I feel like we've all been pulled deep into the weeds of forecasting different quantum doom scenarios here. I'm gonna try to pick out the key disagreement we are dancing around, and examine it more closely.
Sipa's comment here:
I can't imagine we don't get at least a year's worth of notice in the form of breakthroughs on simpler QC problems.
...is emblematic of an assumption baked into the security of P2TRv2: That we can predict Q-day. Unfortunately, no one - not even quantum computing experts, let alone the Bitcoin community - can reliably predict when Q-day will happen, if it even happens at all. I think this is the core problem we need to dissect.
On one hand, if we assume we'll be able to predict Q-day in advance, then we can get away with a lot: Use maximally efficient EC key-spending (P2TRv2) till the last moment, then disable EC. Deploy P2MR with only PQ sigs, and everyone can slowly migrate to use PQ sigs on P2MR. That'd be the ideal world.
But we may or may not live in that world. We have no certainty that such large technological leaps will happen slowly and behave predictably. Could the world in 1944 (outside Los Alamos) have confidently predicted the first use of an atomic bomb in 1945? Could the world in 2006 (outside Apple) have confidently predicted the iPhone would debut in 2007? How many of us in 2021 would have bet on LLMs or stable diffusion appearing? What the odds today on net-positive fusion energy for 2027? In many cases, even the innovators building these things couldn't have foreseen their success more than a few weeks in advance.
On the other hand, we also have no certainty a leap will happen quickly, or that it will happen at all. AJ highlighted some great quotes from the google paper which suggest it might happen quickly... but for all we know, maybe there's some "Great Filter" that stalls QC scaling around X Toffoli gates, or at n qubits.
Ultimately we just don't know one way or the other. AJ put it very well here:
Picking when Q-day will occur, either individually for determining your own security posture, or collectively for organising a consensus change seems very difficulty: it involves evaluating both complex state of the art physics research, but also estimating the covert abilities of national governments and the incentives to attack bitcoin prior to revealing their capabilities. To me, that doesn't bode well for a smooth and fast deployment of a consensus change in advance of problems occuring.
With that in mind, i will now attempt an argument for P2MR based on the premise that Q-day is unpredictable (at least for now).
I follow sipa's more general belief that a follow-up EC disable soft-fork for the new output type is desirable, to reduce harm after Q-Day from EC pubkey exposure. We all seem to agree there.
However, I strongly doubt that we (the entire bitcoin community) will be able to time such a fork correctly. By "correctly", I mean: within a few days before, but no later than Q-day (the first day a CRQC would be able to start stealing coins).
Why am I so strict about the timing? Consider if we accepted AJ's definition of perfect timing,
FWIW, I would define "timed perfectly" precisely as "EC disabling fork happens before Q-day". Maybe allowing some additional months of EC-efficiency would be a win while not taking out too much migration time, but for me "perfection" here means "no one who upgraded lost money via quantum-related vulnerabilities".
...with which sipa seems to agree:
FWIW, I don't think the P2TRv2 EC-disabling fork needs to be timed perfectly. The expectation should be just that it happens before Q-day, and when it looks inevitable or the fear about that is large enough
I disagree. If we disable EC months in advance of Q-day, and if we do so only for the new output type, then it will likely backfire. During those months, a subset of coins will regress back to using classical wallets - P2TR, P2WPKH, etc - for many reasons. Maybe they think CRQCs are not a real threat yet. Maybe they think they can predict Q-day better than we did, and don't want to pay the extra sats for larger PQ signatures until then. Maybe they need EC for a specific protocol and haven't finished migrating their code to PQ yet. Who knows. But the longer the duration between EC disabling and the first verifiable proof of CRQCs (likely to arrive on or after Q-day), the more opportunity and incentive there will be for users to regress back to a place of vulnerability.
Thus if we entirely rely on EC disabling for the security of the new output type, as in P2TRv2, we should time such a deployment perfectly: Any later and all users are vulnerable. Too much earlier, and users are incentivized to regress.
Also recall that "we disable" really means "the entire community agrees to disable". If dictatorial power were vested in the hands of a well-informed autist with a Dark-Forest-style Big Red Button, then maybe they'd have a chance to react to Q-day. But an entire decentralized network, fraught with misinformation and polarized politics? Not likely, unless we can build and deploy a trustless, unattended canary in advance of Q-day, which somehow doesn't require a cooperative CRQC. That seems implausible today but I would welcome any evidence to the contrary.
And so, since timing is hard, I assert that we should prefer P2MR over P2TRv2 because we are confident P2MR is sound even if the EC disable fork is deployed late (after Q-day).
With P2MR, we at least have some wiggle-room in our timing of the EC disabling soft-fork. Maybe not a lot - depends on how much users expose their EC leaves - but perhaps enough to give us time to react while the CRQC gets busy cracking exposed keys.
As to the question of P2MR's "friction" that sipa claims discourages migration, I think this is a low-impact point in the debate and I have no rebuttal, except that a temporary tax of 32 weight units per input seems a small price for insurance against theft/devaluation of one's entire stack. I suspect P2MR's current popularity - even before Boris' EC recovery idea - is driven by that sentiment. If anything I'd argue that P2TRv2's timing-sensitivity would have an even sharper chilling effect and would curb migration progress much more than P2MR's 32 extra weight units would.
Maybe I am wrong, and 32 WU/input is a significant factor impacting user behavior before Q-day. If so, this amplifies my earlier point that deploying EC disabling too early will incentivize regression to classical addresses, and we would need to be even more careful in our timing: The pre-Q-day efficiency gap between EC and PQ sigs is much wider than the gap between P2MR and P2TRv2.
With my main argument made, I'd like to respond to individual points and questions:
I have reservations too about the "Later" EC-disabling soft fork expectations about P2TRv2, but they're not about whether the future Bitcoin ecosystem can coordinate a softfork; that seems almost trivial if not doing so poses an existential threat, and could be done within a few months if it's expected and designed already. I'm more worried about it not being adopted due to indifference/friction, or being abused/misused.
Interesting, what gives you confidence that we'll be able to coordinate and time it correctly? Assuming everyone agrees and wants to, how would we go about it?
Bitcoin can only meaningfully survive a systemic risk of this nature through collective action
Agreed! I think we just disagree about which collective actions are most important, and we have differing confidence in the feasibility of those actions and their timing.
This focus on allowing individual users the ability to safeguard their coins just feels like a red herring: I'm not worried about my own coins being stolen. I'm worried about (fear of) a CRQC undermining trust in the currency as a whole, or through a fear-driven consensus change the ecosystem destroying its own values beforehand.
I second AJ:
While I appreciate your point, I also feel that "allowing individual users the ability to safeguard their coins" is pretty close to the entire point of Bitcoin. :)
Sovereign control of value is the core promise of Bitcoin.
However, sipa's argument is also very valid. We need to do everything we can to preserve overall integrity of the entire UTXO set, as much as is humanly possible. This preserves trust in the currency as a whole.
We can have both, by deploying P2MR with PQ sigs to secure those who can migrate in time, and then an EC disabling follow-up, maybe with rescue protocols to secure procrastinators. This protects as many UTXOs as I think are possible with current knowledge, and is not as sensitive to timing as if we used P2TRv2.
I understand the feeling of urgency, but this seems like a "we must do something, this is something, thus we must do it!" approach that just gives people the impression something is being done, without fundamentally tackling the hard problem of actually migrating Bitcoin, and leaving that harder problem to a (to me) very undesirable, but still unspecified future. And solving that harder problem will inevitably need another consensus change later, so it doesn't help with the "running out of years" problem if you believe those take too long.
I also dislike that class of argument. People use it all the time here to justify half-baked "solutions" to quantum problems. But that's not what I was saying in my point.
The act of migration itself is indeed a very complex task, vastly different from designing the migration paths. We can't start working on the latter until we have the former. So no, working on a migration path is really important and does help with "running out of years", because if we did nothing we'd have nowhere to migrate coins to, or we'd have to rush something out in a hurry when it is urgently needed.
Of course, if you believe it's the only possible future, I understand you'd come to a different conclusion. But is it really? Do you think this isn't a plausible future:
...
There are many other possible futures. Some are minor variations of these two scenarios. Some are fairly bad independently of the choice between P2MR or P2TRv2 (e.g. Q-day comes before any substantial migration). Some are mostly fine regardless (e.g. everyone has time to migrate to later P2QR isogeny stuff, or just no CRQC ever). But these two in particular, I think have a much better chance of happening with P2TRv2 than P2MR, because far more people can just adopt it with low friction.
- Isogenies (or something else) get a ton more attention, implementations get more efficient, gain well-studied features like tweaking and homomorphic derivation, get far better confidence in their security.
I hope you'll be as excited I as I am to learn that isogenies already have tweaking/derivation! See my own post here and this paper released just 10 days ago which proves the idea secure.
- A (not-quite-CR)-QC breaks 128-bit ECDLP, say.
n with only sqrt(n) work today. For example, in 2016 these researchers broke a 117-bit binary-field curve using FPGAs, and this paper's authors broke a 112-bit prime-field curve using a cluster of 200 playstations! Personally, that leaves me at a minimum very skeptical of the utility of introducing either P2MR or P2TRv2 (etc) approaches that don't also introduce a quantum-safe spending path on day one.
Preserving bitcoin as a personally-possessible inflation resistant store of value seems both possible and worth caring about, even if other constraints means that many people can't afford to personally hold it (and have to go through ETFs/exchanges/banks) and that it can't be used for day-to-day transactions. Would be very disappointing if true, and even given Q-day in a few years I expect we could do better than just that, but it doesn't feel like a throw-in-the-towel event to me.
regards,
conduition
--
You received this message because you are subscribed to a topic in the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bitcoindev/p8AVEmAtWdA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bitcoindev+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/ajN9be00Br-O3-9R%40erisian.com.au.
In either case, I consider anything that requires hardcoding specific wallet designs (BIP32 or otherwise) into Bitcoin's consensus rules (and only allowing those coins to survive) to be squarely in disaster-recovery land. It feels like embracing arbitrariness, and giving up on the permissionlessness that makes Bitcoin interesting
It's fair to say such a solution is arbitrary, insofar as the knowledge asymmetries like BIP32 CKD are arbitrary. But can you propose any alternatives which are not arbitrary?
I would not count hoping for majority migration to be a valid solution. We ought to consider and plan for the contingency that migration to the PQ output type is underwhelming, even if that is not the best outcome, because such an outcome is still likely even if the new output type were magically 10x cheaper and more private than P2TR.
My impression is that your approach is to have an answer for many possible futures, including ones where Q-day arrives within just a few years. But optimizing for disaster-recovery also means reducing the chances of preserving Bitcoin as we know it in the scenarios where a successful migration is still possible. And if Q-day does arrive that soon, I don't see what we can do today that would preserve Bitcoin in a form we care about anyway. By accepting that, we can focus on the futures where our choices today can still materially improve the outcome.
Mostly yes. I gotta agree with AJ's quote here. In chess, one wins by forcing the worst possible outcome to be victory. In probabilistic games, one wins by maximizing the chance of success and minimizing the cost of failure. We should be doing the same thing here.
A quantum "disaster recovery" scenario, as you put it, is absolutely worth optimizing for IMO, because with our current trajectory it seems very plausible, and yet its severe consequences can be mostly mitigated at little cost. I don't think we should abandon such survivable scenarios just because they're less palatable than others.
I dispute that rescue protocols would discourage PQ migration. Quite the opposite: They force PQ migration even for inactive users, by turning vulnerable UTXOs into PQ-safe ones retroactively.
Even if rescue protocols do massively discourage migration to PQ outputs, this would be of little consequence exactly because rescue protocols would exist (which is their beauty). Even in the most extreme case where we deploy a PQ output type and exactly nobody migrates to it, we can still use rescue protocols to achieve the same rate of ownership-preservation as if all quantum-recoverable coins (BIP32, hashed addr, etc) had migrated to PQ outputs immediately. It'll be less efficient and more awkward, but far from hopeless.
Again, the real target demographic that we need to focus on migrating is the quantum unrecoverable subset, i.e. coins which have no quantum-hard knowledge asymmetry, like satoshi's coins, P2PK wallets, and JBOK wallets with exposed pubkeys. If we expect to have rescue protocols, then we don't really care what address format these coins move to, as long as it's to something quantum-recoverable. But convincing them to move at all seems hard, because their owners are probably dead or the keys are lost. How to handle such coins after Q-day is an open question, and it seems to boil down to the good old "freeze-or-steal" debate.
If Q-day comes before migration can reach meaningful levels (what those are is probably a matter of perspective), then I think there isn't much of an interesting future for Bitcoin anyway.
The future is only as interesting as we make it. Even if Q-Day comes before most coins migrate, we have an opportunity to make that future interesting, using rescue protocols. Maybe some folks don't want to work on them or would rather sell their coins first, and that's totally valid, but I implore you to at least keep your mind open to the possible futures that rescue protocols open up, because it is unclear exactly which future we are bound for and I'd rather that neutral internet money still exists in each of them.
We have to play the cards we are dealt, and right now we've been dealt a very fortunate hand because of BIP32 (thanks to you sipa!): Most users have at least some secret knowledge that a CRQC cannot forge, and that's a pretty awesome privilege, one which even extends to other blockchains whose wallets use BIP32, or its derivatives. You should be very proud of that IMO 🙂
Disaster-recovery: neither the "predictable/planned consensus change" of Later nor the "everyone takes responsiblity for their own funds" works, and the only way to avoid a large percentage of bitcoin becoming a reward for quantum research is to replace EC spend paths with a ZK proof of knowledge of a BIP32 seed or similar, requiring a hard fork.
@AJ rescue protocols can be deployed via soft fork, because we'd be constricting rules and not relaxing them. We'd require any EC spends to also satisfy the rescue protocol in addition to the existing consensus rules (signatures etc). Of course, there might be external reasons to deploy it as a hard fork, e.g. to roll back mass theft if we don't time things right, or to disentangle from quantum-theft advocates, but I think we should aim for soft fork compatibility if possible.
the "quantum-safe" hard-fork variant of bitcoin would be fairly described as a utxo-bootstrapped altcoin, would compete in the market with the "quantum-unsafe" bitcoin thatexisting nodes would continue to follow, and possibly there would be many slightly varying such altcoins competing with each other, eg on exactly what height the utxo snapshot was taken or what coins become spendable. It would not be a fun time for holders of affected utxos.
regards,
conduition
On Wednesday, June 17th, 2026 at 11:20 PM, Anthony Towns a...@erisian.com.au wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bitcoindev/p8AVEmAtWdA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bitcoindev+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/ajN9be00Br-O3-9R%40erisian.com.au.