QRAMP addition: Alternative to legacy freeze: “quarantine-mode” legacy spends via two-phase destination commitment

138 views
Skip to first unread message

bnv

unread,
Jan 13, 2026, 7:07:34 PMJan 13
to bitco...@googlegroups.com
Hi Everyone,

I’d like feedback on a concept that I want to frame explicitly as an *alternative* to “freeze/sunset legacy signatures” in QRAMP (Quantum‑Resistant Address Migration Protocol) or similar migration planning.

Instead of making legacy ECDSA spends invalid after a cutoff, we could place them into a **quarantine mode**:
- Legacy UTXOs remain spendable after post-quantum (PQ) activation,
- but only via a **two-phase commit→spend** flow that prevents destination-substitution even if the legacy private key can be derived quickly after pubkey reveal.

High-level:
1) **Commit phase (on-chain):** publish a commitment that binds the eventual spend outputs (preferably the full output set: amounts + scriptPubKeys) and becomes valid only after ≥K confirmations.
2) **Spend phase (on-chain):** a legacy spend is valid only if it presents (a) proof that a matching commitment was mined and is mature, and (b) the spend’s outputs match the committed template.

Key feasibility constraint: this must be **consensus-enforced without historical tx lookups** (pruned nodes / no txindex). So the spend likely needs to carry an SPV-style inclusion proof for the commit (txid + merkle branch to a block header + ≥K depth rule).

A critical UX point is **fee sponsorship**: a receiver/exchange/service can publish the commit tx and pay fees, while the legacy holder authorizes the commitment off-chain (signature over the commitment hash), avoiding the “I can’t safely fee-pay Phase 1” problem.

Short design note + diagram (please replace with your links):
- Markdown: https://github.com/bnavf/bitcoinqp/blob/main/two_phase_destination_commitment.md
- Diagram: https://github.com/bnavf/bitcoinqp/blob/main/two_phase_destination_commitment.svg

Questions for the list:
1) Is there an existing proposal that already captures this “quarantine-mode legacy spends” framing?
2) What’s the most reasonable way to do commitment inclusion/maturity proofs without creating an indexer-dependent consensus rule?
3) Is binding the *full output set* sufficient to rule out practical destination-substitution variants?

Thanks for any critique or pointers.
Best,
Bnav

Giulio Golinelli

unread,
Jan 18, 2026, 8:57:05 AMJan 18
to Bitcoin Development Mailing List

Hi Bnav, thank you for sharing your idea.

I’ve reviewed the markdown document, and while I can see how it could address the destination-substitution hijack problem, I think a much larger issue still remains: unspent UTXOs.
In your protocol, Phase 2 (the transaction phase) still requires the spender to produce a classical ECDSA signature. This inevitably reveals the public key and puts the corresponding private key at risk.
A sufficiently capable quantum attacker would likely not need to race a live transaction during mining or while it sits in the mempool. Instead, they could recover private keys from already-revealed public keys offline and then sweep all remaining unspent UTXOs associated with those keys at his leisure.
From a technological standpoint, this kind of offline key-recovery attack against exposed public keys is likely to become feasible earlier than a real-time transaction hijack scenario. That said, assuming a quantum-resistant commitment scheme and the necessary protocol mechanics (to be defined and evaluated), I can see how the construction would work for its intended, narrower purpose.

Let me know if you agree/disagree,
Giulio

bnv

unread,
Jan 19, 2026, 9:33:11 PMJan 19
to Giulio Golinelli, Bitcoin Development Mailing List
Hi Gulio,

Thank you for the feedback!

I agree with all what you said but the intention of the proposal not to secure the address from where we are sending funds but to avoid the race between legitimate sender and a quantum attacker.

Of course, the transaction MUST shift ALL coins from old address to a new one and the address MUST not be never used again for receiving any coins. That is very old recommendation which probably was promoted even by Satoshi itself!

Why I have written that QRAMP addition: I am not happy with QRAMP proposal to freeze old coins sitting on old addresses. With that addition we retain possibility to send these coins to new addresses for indefinite time.

Thank you!
Bnav

 

Sent with Proton Mail secure email.

--
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/28f8d816-cc97-4913-8912-0aa955d3322cn%40googlegroups.com.

Giulio Golinelli

unread,
Jan 19, 2026, 9:33:22 PMJan 19
to bnv, Bitcoin Development Mailing List
Sure, sorry if I made those remarks but I just wanted us sure on the same page.

I agree with you that suddenly freeze coins of people is not good. Ideally speaking the best would be an automatic conversion of all classic addresses to post-quantum ones at Q-day - without the need of any action from owners. This could be achieved via forced transactions of all unspent funds to the new addresses. Of course this comes with practical limitations (eg private key sharing..).

Anyways I am open to explore all possible solutions and if you need help formalizing your solution you can count on me. We can start with an overleaf project.

Giulio
Reply all
Reply to author
Forward
0 new messages