Pathway: one PQ output type, one scheme-tagged PQ leaf — SLH-DSA-SHA2-128s mandatory, SHRINCS compact as the default
Claim: add exactly one output type — BIP-360 P2MR (SegWit v2, 32-byte Merkle-root program, bc1z, no internal key) — and one new leaf version 0xC2 carrying a scheme-tagged post-quantum CHECKSIG; SLH-DSA-SHA2-128s (FIPS 205) is mandatory, SHRINCS compact (548–580 B, 5,777 B stateless fallback) the default wallet path. This sharpens and credits the Corallo-group direction (2026-12-03: hash-based scheme, Script integration, ≥1 new output type, "sign in tapscript paths", "integrate SLH-DSA/SHRINCS"), BIP-360 and Blockstream's OP_CHECKSHRINCS sketch; the granular choices are mine.
Decisions
- *Family — hash-based only in v1; no lattice, no hybrid.* FIPS 205 is final (Aug 2024); SHA-256 already underwrites consensus, so the only assumption is the hash. Lattice confidence fell in 2026: Anthropic's module-lattice results are galactic but asymptotic (CIRG 2026-11-30: they "lower our long-term confidence in structured lattices"), HAWK was withdrawn after an AI-found key-recovery attack, FN-DSA/FIPS 206 is an unpublished draft. Murch, for the Corallo group: "looking at integrating a hash-based signature scheme".
- *Parameter set — NIST category 1, SHA-256, deliberately.* Mandatory stateless: SLH-DSA-SHA2-128s (n=16, 2^64 budget). SHRINCS fallback: non-standard 2^40-budget SLH-DSA set, 5,777 B (−26%). Category 1 = 128-bit classical / 64-bit quantum (Grover-limited). 192s (16,224 B, 0.18 TPS) is the upgrade path if more margin is demanded — a new scheme id, not a new address type.
- *Sizes and weight.* pk 32 (SLH) / 48 (SHRINCS); sig 7,856 / 5,777 / 548–4,619 (SHRINCS stateful, tree-shape dependent). One P2MR script-path spend: witness = 1 + (varint+sig) + (varint+pk) + 1-byte leaf + 33-byte control = 7,928 / 5,865 / 636 B. At the 2026-03-30 average shape (2.27 in / 2.64 out): 18,709 WU (0.36 TPS), 14,026 (0.48), 2,156 (3.09) vs Schnorr 937 WU (7.12 TPS in my model; Blockstream reports 6.5 — ratios, not absolutes).
- *Verify cost.* SHRINCS verifies in 255–509 SHA-256 compressions (compact), ≤2,792 (stateless): ≤0.483/byte vs Schnorr's 127 compressions per 64 B (1.98/byte, BIP benchmark footnote). A block of PQ signatures costs ~4× less verification per witness byte than a block of Schnorr signatures: bytes, not CPU, bind (measured: 209 µs verify, 217 ms sign; ≤~1.9M compressions per 4M-WU block).
- *Maturity and rollout order.* SHRINCS is a draft BIP: WIP proof, no test vectors, Python spec and a C++ implementation; Project Eleven expects the fallback to become the default. So the opcode carries a scheme-id byte: 0x01 = SLH-DSA-SHA2-128s mandatory at activation; 0x02 = SHRINCS enabled in the same fork but optional for wallets, deferred to a later fork if its spec is not frozen (unknown ids fail, so adding one is a soft fork).
- *Output type.* P2MR only: v2, 32-byte TapBranch root,
OP_2 PUSH32, control block 1+32m. 34-byte scriptPubKey (P2TR 43 B), no EC key in the output: quantum-safe at rest from creation, unlike P2TR's exposed key path. Depth-0 trees are anyone-can-spend (BIP-360 v0.12.x), so single-leaf outputs are ruled out. - *Script integration.* Leaf version 0xC2 rather than reusing an OP_SUCCESSx in 0xC0: 0xC2 defines OP_CHECKSIGPQ (scheme-tagged), OP_CHECKSIGADD for m-of-n, stack/hash ops, and leaves tapscript untouched. BIP-342's key_version precedent covers key-type reuse. Footgun: unknown leaf versions "must succeed" (BIP-341) and witness versions 1–16 are anyone-can-spend (BIP-141), so a 0xC2 leaf or v2 output created before activation is a bearer asset; wallets must gate on activation height, as they did for v1/Taproot.
- *Key derivation.* Hash-based keys cannot be tweaked: hardened-only derivation (e.g. m/86'/0'/0'/i), which deletes xpub watch-only and unhardened derivation; descriptors need
pqpk(<scheme>,<pk>)and account discovery starts from a descriptor. SHRINCS state lives only on the signing device; a restored seed signs stateless (5,777 B). - *Hardware wallets.* Size is not the constraint (548–7,856 B over USB/NFC); signing is. SHRINCS compact signs in ~16.5k compressions (ms), but keygen is 0.31M–43M compressions by tree depth and state must resist rollback (monotonic counter, no restore, no concurrency). SLH-128s signing is 626M cycles (~0.2 s x86, seconds on an MCU) with a 7,856-byte buffer.
- *Relation to BIP-360.* P2MR is the container, not the scheme: it commits to a script tree and "can also support future script upgrades with new leaf versions". The leaf version, opcode and scheme registry are the addition, so the address type never needs replacing when the scheme changes — 2035 needs no second address migration.
Interactions
- *Migration.* The scheme, not the address type, sets the clock. A 1-in-1-out PQ spend is 2,076 vB (128s), 1,560 (stateless), 253 (548 B compact) vs 128 vB Schnorr. For 161.9M UTXOs (bitcoinstats.io, block 978,908): 6.39 / 4.81 / 0.78 years of 100%-full blocks — 14.4 / 10.8 / 1.8 days per million. At 1 sat/vB: 3,361 BTC vs 410 BTC of fees. Ali's "about two more years to move coins" is arithmetically impossible at 7.9 kB and comfortable at 548 B. What I would change under pressure, in order: (i) default every state-capable device to compact, (ii) drop the 2^64 set for the 2^40 one (−26%), (iii) only then consider a PQ witness discount — a block-size debate in disguise.
- *Legacy.* BIP-361: >34% of supply with exposed keys (2026-03-01), ~2.6M BTC still vulnerable after every active user migrates, 1.7M in P2PK. Hash-only keeps BIP-361's ZK rescue proofs in one assumption family, and a 34-byte output makes Phase A cheap; P2PK still needs Hourglass or a freeze. Requires the legacy case to accept a public deadline, with Phase A starting on this output type.
- *No-fork.* Nothing works without a fork (decision 7). No-fork is damage control: fresh hashed addresses (at rest only), no reuse, NUMS-internal-key P2TR (removes long exposure, costs 33 B/input, loses key-path efficiency). Pre-committing a PQ leaf in a live taproot tree today is unsafe, not a no-fork win. I would change the activation messaging, not the design.
- *Tradeoffs.* Vs Schnorr: 2.3× weight (compact) to 18× (128s) per spend; no MuSig2, threshold or aggregation (no key path); multisig is m×548 B via CHECKSIGADD. Vs the Corallo group: same family and shape, but I fix P2MR now instead of leaving the output type to January 2027, and make 128s mandatory with SHRINCS the default. Vs Ali: "up to 97%" is the 7,856 B case (mine: −95%); the compact default cuts ~57% (3.09 TPS) and is the only version that fits a four-year migration; a signature-only ratio (64 B vs 2,420 B = 37.8×) overstates the damage — ML-DSA-44 at transaction level is 0.72 TPS, still ~10% of baseline.
What argues against this proposal
- SHRINCS statefulness moves risk to wallets: rollback (restored backup, cloned device, HSM failover) reuses a WOTS+ leaf; the BIP forbids concurrent stateful signing and restore-from-backup; Project Eleven expects most wallets never to implement it, so the 5,777 B fallback becomes the default and the size advantage mostly evaporates.
- SHRINCS is not standardized: non-FIPS parameters, WIP proof, no test vectors, a novel unproven stateless set, and two consensus verifiers to audit forever.
- Category 1 is thin for a 50-year store of value; Blockstream argues category 3 as a floor for lattices, and 192s (16,224 B, 0.18 TPS) is the price of accepting that.
- Hash-only has no quantum-safe multisig story: the key path is gone, MuSig2/threshold/aggregation disappear, every policy becomes a script — and P2MR discards Taproot's cheap default (each spend reveals a leaf and pays 33 B of control block; depth-0 outputs are unspendable).
- Timing: no concrete attack exists (NSA/ONCD/CISA 2026-12-02: "not an immediate and widespread threat").