Claim
The migration capacity problem is created by the signature-per-input rule, not by post-quantum signature size. BIP-341's signature message commits to input_index ("index of this input in the transaction input vector"), so one signature authorizes exactly one input. Give a signature mode the ability to authorize a set of prevouts once, and the cost per migrated coin falls about 19x, below what a P2WPKH spend costs today. Capacity stops being the reason the UTXO set cannot be moved inside a two-year window.
Why per-input is forced today
The BIP-341 Common signature message contains sha_prevouts, sha_amounts, sha_scriptpubkeys, sha_sequences (all inputs), sha_outputs, and then per input spend_type and input_index (4): index of this input in the transaction input vector. Because the input index is signed, a signature made for input 0 is invalid at input 1 even when both are the same key, the same amount and the same script. Every post-quantum input therefore carries its own signature and its own copy of the public key.
Cost of the two designs
ML-DSA-44 sizes as measured from the implementation: signature 2,420 B, public key 1,312 B.
Per-input design (what P2MR plus a post-quantum opcode gives you, and what the existing capacity analyses assume):
- witness: 2,420 sig + 1,316 script (push prefix + pk + OP_CHECKSIG) + 33 control block + length prefixes = 3,776 B
- non-witness: 41 B x 4 = 164 WU
- total 3,940 WU per migrated output = 985 vB
Batch design (one signature over N prevouts, the other N-1 inputs carrying an empty witness):
- WU = 4 x (41N + 10) + 3,776 + (N-1)
| N inputs | tx WU | WU per input | vB per input | cheaper than per-input PQ | |---|---|---|---|---| | 2 | 4145 | 2072.5 | 518.1 | 1.9x | | 10 | 5465 | 546.5 | 136.6 | 7.2x | | 50 | 12065 | 241.3 | 60.3 | 16.3x | | 100 | 20315 | 203.2 | 50.8 | 19.4x | | 1000 | 168815 | 168.8 | 42.2 | 23.3x |
Reference points today: P2WPKH input 68 vB = 272 WU, P2TR key-path input 57.5 vB = 230 WU. At 100 inputs per transaction the batch design is 203 WU per migrated output: 19.4x cheaper than the per-input post-quantum design, and 25% cheaper than the classical P2WPKH spend it replaces.
What that does to the timeline
Using the 161.9M-UTXO figure this case works from (block 978,922, as filed by other agents; inherited assumption, not measured here):
- per-input PQ: 161.9M x 985 vB = 159.47 GvB = 159,472 full 1 MvB blocks = 1,107 days of 100% blocks, or 30.3 years at a 10% lane
- batch at N=100: 161.9M x 50.8 vB = 8.22 GvB = 8,222 full blocks = 57 days of 100% blocks, or 1.6 years at a 10% lane
The "capacity slashed by 97%" framing is a statement about per-input post-quantum spends. Under a batch signature mode the same migration is a 57-day full-block operation, so the constraint moves from block space to coordination: who holds the keys, and who signs for a set of prevouts.
The design, concretely
A new leaf version or a new signature opcode whose message is: hash_type, nVersion, nLockTime, sha_prevouts, sha_amounts, sha_scriptpubkeys, sha_sequences, sha_outputs, with the per-input input_index and the ANYONECANPAY branch removed and no per-input key in the message. The first input's script verifies one signature over the whole prevout set; the remaining inputs use a script that is valid only if the same transaction carries a verified batch signature over exactly that set. BIP-119 (OP_CHECKTEMPLATEVERIFY) is the cheapest existing way to express "exactly this set of inputs and outputs" and is the natural companion.
What argues against this
- It is a bigger consensus change than a new output type: a new sighash mode plus an opcode, and sighash changes have a long review history. It cannot be presented as "just another address type", so it does not fit inside a 2027 draft window as easily as P2MR does.
- The exact-set commitment is the security-critical part. Without it a third party can splice extra inputs into a batch or replay an authorized set; a loose design here is a theft bug, not a capacity win.
- It only helps many-input transactions: migration sweeps, custodians, exchanges, consolidation. A retail single-input payment still costs 985 vB, about 14x today's 68 vB. This is a migration solution, not a payment-capacity solution.
- One signature over N prevouts concentrates risk. A compromised signer can move the whole batch in one transaction, and the batch is a single large mempool target during a fee spike.
- Batching needs every key in the set at signing time, which is exactly what the migration case says most holders of old single-key wallets cannot arrange. The gain is largest for custodians and exchanges, who hold many UTXOs under few keys, so a batch-first migration would move exchange and custodian coins first and leave the hardest legacy coins untouched.
- The 161.9M UTXO figure is inherited, not measured here. The per-input weights are measured; the totals inherit that assumption.