Claim
Verification cost cannot distinguish Bitcoin's post-quantum signature candidates. At the 4,000,000 weight-unit block limit, a block whose every input carries a post-quantum signature verifies in under one second on a single CPU core, using a pure-JavaScript implementation: 0.09-0.16% of the 600-second block interval. The binding constraint on a post-quantum scheme is witness weight (signature size), not validation CPU. Scheme-selection arguments built on verify cost, and witness discounts justified by a "CPU budget", are not supported by measurement.
Measurement, reproducible
npm i @noble/post-quantum@0.7.1 @noble/curves@latest, Node v24.22.1, 4-core container, single thread, 200 iterations after warmup (20 for SLH-DSA, whose signing is slow), 32 random message bytes, process.hrtime.bigint() around each loop.
| scheme | pk B | sig B | verify ms | sign ms | |---|---|---|---|---| | ML-DSA-44 | 1312 | 2420 | 0.5575 | 3.08 | | ML-DSA-65 | 1952 | 3309 | 0.8869 | 4.29 | | ML-DSA-87 | 2592 | 4627 | 1.5054 | 5.29 | | SLH-DSA-SHA2-128s | 32 | 7856 | 1.1811 | 967.33 | | SLH-DSA-SHA2-128f | 32 | 17088 | 3.0320 | 45.96 | | SLH-DSA-SHA2-192s | 48 | 16224 | 1.8446 | 1980.17 | | Falcon-512 | 897 | 652 | 0.4127 | 3.17 | | secp256k1 Schnorr (reference) | 32 | 64 | 0.8961 | 1.38 |
The sizes are the published FIPS 204 / FIPS 205 values (ML-DSA-44 2420/1312, ML-DSA-65 3309/1952, ML-DSA-87 4627/2592, SLH-DSA-SHA2-128s 7856/32, 128f 17088/32, 192s 16224/48) and Falcon-512 is 652/897, so the library is not inventing parameters. The Schnorr row is the same JS stack, not libsecp256k1; it is there to show what 0.9 ms means for a scheme Bitcoin already validates.
Weight of one post-quantum input
P2MR (BIP-360) script-path input, public key inside the leaf script, depth-1 tree, signature on the stack:
- non-witness: 36 outpoint + 4 sequence + 1 empty scriptSig = 41 B x 4 WU = 164 WU
- witness: sig S + script (push prefix + pk P + 1 OP_CHECKSIG) + 33-byte control block + element length prefixes = S + P + 42
- per input = 164 + S + P + 42
| scheme | input WU | input vB | inputs per 4 MWU block | verify s per block | % of 600 s | |---|---|---|---|---|---| | ML-DSA-44 | 3940 | 985.0 | 1015 | 0.566 | 0.094% | | ML-DSA-65 | 5469 | 1367.3 | 731 | 0.648 | 0.108% | | ML-DSA-87 | 7427 | 1856.8 | 538 | 0.810 | 0.135% | | SLH-DSA-128s | 8092 | 2023.0 | 494 | 0.583 | 0.097% | | SLH-DSA-128f | 17324 | 4331.0 | 230 | 0.697 | 0.116% | | Falcon-512 | 1757 | 439.3 | 2276 | 0.939 | 0.157% |
For reference, today's P2WPKH input is 272 WU (68 vB) and a P2TR key-path input is 230 WU (57.5 vB).
The headroom, stated the other way
To make verification the binding cost, one block would have to carry 600 s of ML-DSA-44 verifies: 600 / 0.0005575 = 1.08 million signatures, about 4.2 GB of witness, roughly 1,050x the 4 MWU block weight. A witness discount for post-quantum signatures could therefore be three orders of magnitude before CPU became the constraint on a single thread, and Core validates blocks on multiple threads in optimized C. Whatever a discount is for, it is not CPU.
What this changes
- Scheme selection: decide on witness size, on assumption maturity (hash-only vs lattice), and on the element cap the new opcode must lift. Not on verify cost.
- Witness discount: it is a policy choice about bandwidth, storage and fee revenue. Any proposal that justifies a discount by bounding worst-case validation CPU should name the discount factor it needs, and measurement puts that number near 1,000x.
- Signing, not verifying, is where the candidates separate: SLH-DSA-SHA2-128s signs in 967 ms against 1.18 ms to verify (819:1), so a 32-input migration transaction signed per input costs 31 s of signer time. That is a wallet and custody constraint, not a consensus one.
- The 520-byte rule binds harder than CPU does. BIP-342 keeps a 520-byte limit on stack elements "both in the initial stack and in push opcodes", so no FIPS 204/205 signature (652-17,088 B) can reach a CHECKSIG as a stack element today. BIP-342 also says an OP_SUCCESSx-derived opcode "may uplift the limit in a softfork", which is the only route by which a post-quantum check can exist. That opcode's element cap, not block weight, is what decides whether SLH-DSA is admissible at all.
What argues against this
- These are JavaScript numbers. Optimized C is faster, which strengthens the conclusion about CPU but means the milliseconds are not a benchmark of Bitcoin Core itself.
- One machine, one run, single thread. The ratios between schemes are more robust than the absolute values, and a 4-core box is slower than the hardware a node operator would use, so the real headroom is larger, not smaller.
- Low verify cost does not make post-quantum signatures cheap for Bitcoin. They cost 8-35x the weight of a Schnorr input, which is a permanent throughput reduction. This lead argues only about which constraint binds, not that the change is free.
- A block entirely of post-quantum spends is the worst case for CPU and an unrealistic block; real blocks mix input types, so live validation cost sits below these figures.
- If a future opcode admitted unbounded signature size, the 1,000x headroom would shrink. The argument holds for the signature sizes measured here, which are the FIPS ones.