Pathway: P2MR-SHRINCS-1. Carry a hash-based signature (SHRINCS over SHA-256, NIST cat 1, stateful where state can live and stateless where it cannot) in BIP-360's P2MR output type (segwit v2), verified by one new opcode in a new tapscript leaf version, with four parameter profiles instead of one signature. Every number below is recomputed by numbers.py in the public gist; the serialisation formula (weight = 4·base + 2 + witness) reproduces four independently published throughput figures (0.50 / 0.36 / 0.48 / 3.04 TPS) before being used for anything else.
Decisions
- Scheme family — hash-based, not lattice, not hybrid-by-default. Coins must survive unspent for decades; the security of those coins should rest on SHA-256, the assumption Bitcoin already stakes its mining, address hashing and taproot commitments on. A latent lattice break is the one failure that cannot be repaired after the fact. Hybrid Schnorr+ML-DSA is kept only as an optional leaf.
- Parameter set — SHRINCS-SHA256 with four profiles: P1 hardware wallet stateful 548–580 B (pk 48 B); P2 restored/backup device ~3,000 B (budget 1,000); P3 desktop/mobile stateless 2^40 ~4,496 B; P4 Lightning 2^32 ~4,336 B. Security: 128-bit classical / 64-bit quantum. The draft's table gives 548–4,619 B stateful and 5,777 B stateless; I use 548 B (pessimistic) throughout and flag that Blockstream's worked example reaches 324 B at q=1.
- Sizes vs the standardised options: ML-DSA-44 pk 1,312 / sig 2,420 (FIPS 204 Table 2); SLH-DSA-SHA2-128s pk 32 / sig 7,856 (FIPS 205); SHRINCS 548/48 stateful, 4,336/48 stateless.
- Verify cost: ≤0.483 SHA-256 compressions per vB (stateful 255–509, stateless 467–2,792 per signature) ⇒ ≤483,000 compressions per 4 MWU block = 0.05–0.48 s single-core, the same order as a full block of Schnorr verifications. This is what keeps a future block-size debate separable.
- Output type and witness version: segwit v2,
OP_2 PUSH32 <32-byte merkle root>, addressbc1z, key path removed (BIP-360 P2MR). Taproot cannot be fixed by practice: every P2TR output is a tweaked public key, so a CRQC spends it through the key path without ever seeing a script; removing that path is consensus. - Script placement: new leaf version 0xC2 + single opcode OP_CHECKSHRINCS (0xBB), leaf
<48-byte pk> OP_CHECKSHRINCS(50 B). Not a general "verify any hash-based signature" opcode (that would freeze parameters into consensus). Upgrade hook: BIP-341 already makes an unrecognised leaf version succeed without execution, so old nodes accept and the fork enforces. - Cost of one spend (1-in/1-out): P2WPKH 438 WU/110 vB; P2TR key path 111 vB; P2MR+SHRINCS-548 1,015 WU/254 vB (2.31×); P2MR+ML-DSA-44 4,155 WU/1,039 vB (9.45×); P2MR+ML-DSA-65 12.92×; P2MR+SLH-DSA-128s 18.88×.
- Wallet derivation: hash-based keys have no homomorphic structure, so BIP-32 unhardened derivation does not exist for them (MuSig, threshold signatures and silent payments go with it). Hardened-only seed →
SHRINCS.KeyGen; the state counter is stored outside the seed in rollback-resistant storage, never backed up, never restored, never exported. Descriptorshrncs(<seed fp>, <state id>). No xpub can exist, which incidentally removes the "xpub leaks every pubkey in the account" long-exposure hole BIP-360's glossary names. - Hardware support: dedicated signing device owns the counter; on seed restore it must refuse the stateful path and emit the stateless profile; the watching wallet independently checks a candidate signature for state reuse before broadcast. A 4,336-byte signature is 5,781 base64 chars ≈ 12 animated-QR frames versus 1 today — the strongest argument for the compact path existing.
- Accounting: OP_CHECKSHRINCS is not a sigop; define a verify-cost class calibrated to item 4 plus a per-block cap, or a hash-based block becomes a cheap verification-DoS lever.
- Relation to BIP-360: BIP-360 explicitly stops at the carrier ("does not include the introduction of post-quantum signature schemes"). P2MR alone cannot be spent against a quantum attacker and rescues nothing already on chain; shipping it first means two flag days and two wallet migrations. Ship both halves in one activation.
- Optional hybrid leaf: depth-1 P2MR tree with a Schnorr leaf beside the PQ leaf = a dormant option, +32 bytes of merkle path per spend, Schnorr leaf short-exposure-vulnerable and one-shot. Off for cold storage.
Interactions
- migration (the binding constraint). Per-UTXO cost: P2WPKH 68 vB, SHRINCS 200 vB, ML-DSA-44 985 vB, SLH-DSA-128s 2,023 vB. For the 161,901,880 UTXOs in the set at block 978,910 (2026-12-05), migration at 100 % block saturation takes 77 / 225 / 1,108 / 2,275 days. Ali's second clock is two years: SHRINCS fits in 225 days, ML-DSA-44 needs 3.0 years and does not fit at all. Standardness compounds it:
MAX_STANDARD_TX_WEIGHT400,000 WU allows ~590 SHRINCS inputs per batch but ~104 ML-DSA-44 inputs. - legacy. Nothing here saves an exposed key: >34 % of supply had a public key on chain by 2026-03-01 (BIP-361). The signature choice is a cost multiplier on BIP-361's rescue: Phase B requires a PQ signature BIP and its rescue spends are 2.3× (SHRINCS) or 9.4× (ML-DSA-44) today's weight. This case is the critical path for legacy.
- no-fork. SHRINCS's compactness needs q≈1, i.e. the one-shot/no-reuse discipline the no-fork case can start now; without it wallets sit in the stateless profile at 0.6–0.69 TPS. The no-fork route's only forward primitive, a PQ pubkey pre-registration, is a 32-byte hash of our 48-byte pk — cheap either way, but the migration cost behind it is what discriminates.
- tradeoffs. Corallo's group promises drafts by end of Jan 2027 (scheme + Script integration + output type) and advises tapscript paths + SLH-DSA/SHRINCS; this proposal is that shape. Taproot took 22–25 months from public drafts to activation (block 709,632, 2021-11-14), so this lands 2028–2029 against Ali's ~2-year window. The gap is only closable by the no-fork case plus starting wallet/hardware work before the fork exists.
- Ali's 10 %: reproduces at 10.6 % (1,039 vB vs 110 vB) once the 1,312-byte pk, the output and overhead are counted; his 2,420/64 ratio is signature-only and would predict 2.6 %. Under this proposal the same spend is 254 vB = 43 % of today's throughput (Blockstream's average shape: 3.05 vs 6.55 TPS).
- What I would change: item 2. If migration misses the window, raise the state budget (4,619 B top of range is still cheaper than ML-DSA-44) and force omnibus exchange keys onto batched stateless paths; if hardware cannot be trusted with counters, drop to stateless-only at 0.60–0.69 TPS. Items 5 and 6 I would defend last — every other case depends on them.
What argues against it
Statefulness is a hardware-grade hazard: the specification forbids backing up, restoring or exporting counters, and Blockstream describes restoring an old backup silently rolling the counter back and reusing state, which can lose funds; the stateless fallback costs 8× the bytes exactly when the user is already in trouble. 64-bit quantum security is thin for a 30-year asset (cat 1 = "as hard as AES-128 search", halved by Grover). The stateless component uses a non-standard SLH-DSA parameter set (2^40), forfeiting the NIST-standardised argument that is ML-DSA's and SLH-DSA's strongest asset. There is no Bitcoin Core PR, no consensus review history, and the security proof is work in progress. Even the good case is 2.3× worse than Schnorr, permanently. And the wrong-bet risk cuts both ways: if lattices hold, Bitcoin paid 2.3× and a state-management hazard for nothing; if they break after adoption, everything on ML-DSA is lost. A new address type (bc1z) also needs every exchange, custodian, pool and hardware vendor to ship, plus a derivation scheme with no xpub that breaks watch-only workflows.