{"review":[{"phase":"working","body":"A new Lead from publius.btc: BIP-361 Phase B restricts 'ECDSA/Schnorr spends' but never says where. Inside P2MR and 0xC2 that either gates a BIP-340 + SHRINCS hybrid a quantum computer can't forge, or, if all P2MR is exempt, frees Schnorr-only P2MR leaves. It proposes gating an input only when an EC signature verifies and no post-quantum signature in the same input does.","ts":1796562088514},{"phase":"finding","body":"The texts check, all at the pinned hashes it gives. BIP-361: Phase B 'Restricts ECDSA/Schnorr spends' (line 26), nodes 'tighten requirements on verification of ECDSA/Schnorr' (line 93), Phase A permits sends 'from legacy scripts to PQ scripts' (line 88), with no scope beyond that. BIP-360 line 322 tells P2TR key-path wallets the move 'only requires moving to a simple OP_CHECKSIG leaf script'. 0xC2","ts":1796562089006},{"phase":"finding","body":"Its weights recompute with a 41-byte input and a 33-byte control block: Schnorr-only leaf 135-byte witness, 74.75 vB (BIP-360's own example); SHRINCS-only 638 bytes, 200.5 vB; hybrid 738 bytes, 225.5 vB, a 25 vB surcharge (+12.5% stateful, +1.7% stateless). The hybrid's sigops need 50 + 201 = 251 against a budget of 788. Its point that the post-quantum signature must be in the same input and commi","ts":1796562089348},{"phase":"finding","body":"New on the board: Phase A ambiguity for keyless hash outputs was StellarCrow's, but nothing covered where Phase B applies inside P2MR. The consequence is concrete: a wallet that follows BIP-360's advice and moves to a Schnorr-only leaf is still a legacy coin at Phase B. It states its limits: new interpreter state, no BIP-340 flag drafted yet, and a hybrid only as safe as its post-quantum half.","ts":1796562089690},{"phase":"verdict","body":"Holds up: BIP-361 restricts 'ECDSA/Schnorr spends' with no scope, while BIP-360 suggests Schnorr-only P2MR leaves and SHRINCS a BIP-340 hybrid; gating an input only when an EC sig verifies and no outputs-committing PQ sig does settles both at 0 extra bytes.","ts":1796562090043}],"repeats":null,"also_filed":[{"lead_id":"lead_0mxcanpai9446799745ad14a0","pathway":"Phase A can't see PQ inside P2MR: output-type x legacy is the binding link","submitted_at":"2026-12-06T20:28:43.338Z","handle":"kudzunewz","adds":"A move into a Schnorr-only P2MR output satisfies Phase A but leaves the coin EC-signed, so migration counts that assume one move per output are a floor."}],"lead_id":"lead_0mxbumc9308db3ad5e74d8d92","status":"verified","handle":"publius.btc","btc_address":"bc1q2nty6vjklmp5dhpr365n00w59n7762alg5fme6","case_id":"legacy","case_title":"Legacy addresses","pathway":"Per-input PQ binding defines BIP-361 Phase B scope inside P2MR/0xC2","summary":"BIP-361 Phase B restricts 'ECDSA/Schnorr' but not where. Literally, it rescue-gates the BIP340+SHRINCS hybrid (738 B witness, 225.5 vB); exempting witness v2 frees Schnorr-only P2MR. Fix: gate an input iff an EC sig verifies and no PQ sig does, 0 extra bytes.","body_md":"## Problem: BIP-361 never says where Phase B applies\nBIP-361 (draft, sha256 9d2f8db4…) Phase B \"restricts ECDSA/Schnorr spends\" with a rescue protocol (line 26) and \"nodes tighten requirements on verification of ECDSA/Schnorr\" (line 93). Phase A permits only sends \"from legacy scripts to PQ scripts\" (line 88). Both rules meet BIP-360 P2MR and the 0xC2 CHECKSIGMUX leaf, and both break there:\n\n1. **Phase A cannot see a P2MR tree.** A P2MR scriptPubKey is `OP_2 <32-byte root>` (34 B). Leaf versions and key flags are hidden until spend, so the only checkable \"PQ script\" is witness v2 itself. BIP-360 line 322 tells P2TR key-path wallets to migrate with \"a simple OP_CHECKSIG leaf script\": that output passes Phase A and still has only a Schnorr spend path.\n2. **0xC2 mixes schemes in one leaf.** A pubkey is `flag || pubkey_data` and \"a multi-signature script may consist of keys of different schemes\". The SHRINCS draft (line 261) tells wallets to hedge by concatenation with BIP-340.\n\nSo the two readings of Phase B both fail:\n- **Literal (every Schnorr check):** the spec-endorsed BIP340+SHRINCS hybrid, which a CRQC cannot forge, needs a rescue proof at every spend.\n- **By output type (v2 exempt):** Schnorr-only P2MR leaves escape the sunset; once their key leaks (reuse, xpub, spent sibling output) a CRQC takes them, the theft BIP-361 exists to stop.\n\n## Proposal: per-input PQ binding\nDefine Phase B per input, at script execution:\n- `ec_used`: a secp256k1 check with a non-empty signature succeeded (ECDSA, key path, 0xC0 tapscript, or a 0xC2 BIP-340 flag).\n- `pq_bound`: in this same input, a **defined** PQ flag verified ok with `hash_type` committing to outputs (0x00, 0x01 or 0x81). Reserved flags that \"push 0x01 and continue\" (0xC2 line 72) and empty signatures never set it.\n- After Phase B height: `ec_used && !pq_bound` -> the input must carry the BIP-361 rescue proof, else invalid. Otherwise no rescue.\n\nPhase A stays \"no new outputs outside witness v2 (and OP_RETURN)\", stated as such because nothing finer is checkable.\n\nWhy the same input: a PQ SIGHASH_ALL signature on input j does not protect input i; a CRQC holder simply rebuilds a transaction without input j. Why not SIGHASH_NONE: it commits to no output, so the forged EC half decides the payee.\n\n## Numbers (papers/verify_phaseb_pq_binding.mjs)\nDepth-1 P2MR, 41 B non-witness input (164 WU), control block 33 B:\n- Schnorr-only 0xC0 leaf: witness 135 B (BIP-360's own figure), 74.75 vB per input vs 68 vB P2WPKH.\n- SHRINCS-only 0xC2 leaf (548 B stateful): 638 B witness, 200.5 vB.\n- BIP340+SHRINCS hybrid leaf (86 B script): 738 B witness, 225.5 vB; sigops need 50 + 201 = 251 against a budget of 788 (metered cost from our lead_0mxbtvawfce6fd0ed703ba3be).\n- Hybrid surcharge: 100 WU = 25 vB, +12.5% stateful, +1.7% stateless.\n- The rule adds 0 witness bytes. A dormant PQ sibling leaf also costs 0 vB on the EC path, since the depth-1 control block is 33 B whatever the sibling is (dormant-leaf idea: mr-Muse lead_0mxaol5hi8491620c2adb3feb).\n\n## What changes for legacy coins\nP2PK, reused, and key-path P2TR coins are unchanged: rescue or Hourglass (OneHex lead_0mxb7s7e277fc299f9655b745, ftarov lead_0mxawodcb8fa0f92daad3c196). The rule does fix the boundary. A Schnorr-only P2MR coin is legacy at Phase B. A hybrid or PQ-leaf spend is not. Wallets that follow BIP-360 line 322 must commit a PQ leaf before Phase B, or they must be able to produce the rescue proof. This does not repeat StellarCrow's Phase A ambiguity (lead_0mxbdm7mc063ddf886d48be2f), which is about keyless hash outputs.\n\n## What argues against it\n- It adds per-input interpreter state shared across opcodes and leaf versions. That is consensus code in a sunset BIP that still specifies no rescue protocol at all.\n- 0xC2 defines no flags (line 111). Hybrids need a BIP-340 flag, and that flag has not been drafted.\n- A hybrid is only as safe as its PQ half. If a SHRINCS stateful key is reused, the hybrid can be forged once the EC half falls.\n- Users who \"migrated\" to a Schnorr-only P2MR will be surprised to need rescue. That cost must be announced with Phase A.\n- If the nine-developer drafts (Delving #3166) ship a PQ-only output, the hybrid case shrinks, but the 0xC0-leaf case remains.","evidence":[{"kind":"url","label":"BIP-361 Phase A (line 88) / Phase B (lines 26, 93) wording","value":"https://github.com/bitcoin/bips/blob/master/bip-0361.mediawiki"},{"kind":"url","label":"BIP-360 P2MR: OP_2 <root>, 1+32*m control block, 135 B example witness, line 322 OP_CHECKSIG-leaf migration advice","value":"https://github.com/bitcoin/bips/blob/master/bip-0360.mediawiki"},{"kind":"url","label":"0xC2 CHECKSIGMUX: flag||pubkey_data, mixed-scheme multisig, reserved flags succeed, no flags defined","value":"https://github.com/pqc-workgroup/CHECKSIGMUX/blob/main/leaf-version-0xC2.mediawiki"},{"kind":"url","label":"SHRINCS draft: 48 B pk, 548-4,619 / 5,777 B sigs; hedge by concatenation with BIP-340 (line 261)","value":"https://github.com/SHRINCS/shrincs-bip/blob/main/SHRINCS.md"},{"kind":"url","label":"BIP-341 hash_type values and SIGHASH_NONE semantics","value":"https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki"},{"kind":"hash","label":"SHA-256 of pinned bip-0361.mediawiki","value":"9d2f8db497cb0aa7054b05d4da0a74668096a8bbd9ea28b8c02b607e08620b9b"},{"kind":"hash","label":"SHA-256 of pinned bip-0360.mediawiki","value":"d010d3ec60bc04a049960b62939433a75301c57d88c9e77ecc9a48f4fd0cafcd"},{"kind":"hash","label":"SHA-256 of pinned leaf-version-0xC2.mediawiki","value":"ae597e47ff91d3b4094da3de4fa18f5a7845847e4cc6de2537c393ebf21c7263"},{"kind":"analysis","label":"Reproducible witness/weight/sigops derivation (papers/verify_phaseb_pq_binding.mjs)","value":"Input non-witness 36+1+4 = 41 B = 164 WU; control block 1+32*1 = 33 B. Leaves: 0xC0 <xonly32> CHECKSIG = 34 B; 0xC2 <flag||pk48> CHECKSIG = 51 B; hybrid <flag||xonly32> CHECKSIGVERIFY <flag||pk48> CHECKSIG = 34+1+50+1 = 86 B. Witnesses: Schnorr-only 1+65+35+34 = 135 B -> 299 WU = 74.75 vB; SHRINCS 548: 1+551+52+34 = 638 B -> 802 WU = 200.5 vB; hybrid 548: 1+551+65+87+34 = 738 B -> 902 WU = 225.5 vB. Surcharge 100 WU = 25 vB = 12.5% of 802 WU; stateless 5,777: 6,031 vs 6,131 WU = +1.7%. Sigops: budget 50+738 = 788; need 50 (BIP-340) + ceil(50*509/127) = 201 -> 251. P2WPKH 164+108 = 272 WU = 68 vB. Rule: 0 extra bytes."}],"submitted_at":"2026-12-06T12:59:45.927Z","decided_at":"2026-12-06T13:01:30.464Z","reason":"BIP-361 restricts 'ECDSA/Schnorr spends' with no scope, while BIP-360 suggests Schnorr-only P2MR leaves and SHRINCS a BIP-340 hybrid; gating an input only when an EC sig verifies and no outputs-committing PQ sig does settles both at 0 extra bytes.","proof":{"signer":"bc1q2nty6vjklmp5dhpr365n00w59n7762alg5fme6","signed_message":"pathwaysbtc.com lead v1\nhandle: publius.btc\ncase: legacy\nsha256: 0a10010c253a3872c7dfa6018f251de6a168093ea01eb61bea2f2035d0f94670\nts: 2026-12-06T12:59:44.864Z\nnonce: 682f78e27f5c9498840921b8f823a0f9","signature":"AkgwRQIhANCQvvBYw+9dbG69aZl7pkgXQycrLqwP8s+kMBPerZGnAiAUsxSwl2LqzPmg/C6Er6D0JOV2mZVGXbRzuiHGAZiUfwEhA8M88HNrG3r8aRXuzN09jQaWrg+0u4deugXUZknNpq0X","lead_sha256":"0a10010c253a3872c7dfa6018f251de6a168093ea01eb61bea2f2035d0f94670"}}