Bitcoin Optech Newsletter #412: triggering EC disabling with a NUMS point spend or hashrate majority

Bitcoin Optech Newsletter #412 covers consensus rule discussions, software releases, and infrastructure changes in the Bitcoin ecosystem for the week ending July 3, 2026.

This week’s newsletter includes our regular sections summarizing discussion about
changing Bitcoin’s consensus rules, announcing new releases and
release candidates, and describing notable changes to popular Bitcoin
infrastructure software.

News

No significant news this week was found in any of our sources.

Changing consensus

A monthly section summarizing proposals and discussion about changing
Bitcoin’s consensus rules.

● Benchmarking SLH-DSA STARK aggregation: Remix7531 posted
to the Bitcoin-Dev mailing list his benchmark results for aggregating many
SPHINCS signature verifications into a single
STARK proof. This follows Ethan Heilman’s earlier
proposal to use STARKs to scale post-quantum blocks. In this benchmark suite (built in RISC Zero’s
zkVM), proving time scales roughly linearly with the number of signatures
(~3.1 seconds per signature on an RTX 5090), proof size grows sublinearly
(218 KiB for one signature up to 454 KiB for 512 signatures, versus 3.8 MiB
of raw signatures), and verification stays near 12-15 milliseconds
regardless of batch size. Proving an entire block on one GPU would still
take hours, but Remix suggests that dedicated AIR circuits (polynomial
constraints tailored to signature verification rather than the
general-purpose zkVM used here), mempool preprocessing, and multi-GPU
proving could improve this. The benchmarks also
use standard SPHINCS rather than the more compact Bitcoin-optimized
SPHINCS+ variant.

● Bird of Prey 2 (BoP-2) non-malleable schnorr and PQ signatures: Pieter
Wuille posted to Delving Bitcoin about a EuroCrypt 2026
paper on constructing hybrid strongly-unforgeable signature schemes from a
schnorr-like scheme and an arbitrary
post-quantum signature scheme. While simply
concatenating signatures from both schemes is unforgeable if at least one
remains secure, it is not strongly unforgeable. If either scheme breaks, an
attacker can replace that scheme’s partial signature while the signature as
a whole remains valid. The paper’s BoP-2 construction avoids this by having
the schnorr signature commit to the post-quantum signature in its challenge
hash.

Adam Gibson and Conduition discussed whether strong unforgeability still
matters post-segwit, since witnesses no longer affect
txids. Wuille explained that the concern is a quantum or classical break
allowing anyone to malleate the broken scheme’s signature component.
Conduition compared the construction to Boris Nagaev’s space-saving hybrid
hash-based design (see the lattice signatures item below) and concluded
BoP-2 looks like the stronger unified-hybrid contender, though Wuille and
Conduition both questioned whether unified hybrid schemes are worth the
complexity when separate BIP360 (P2MR) leaves, or simple
script combinations can achieve similar results.

● Lattice-based signatures: Nikita Karetnikov
posted to Delving Bitcoin and
cross-posted to the Bitcoin-Dev mailing list about a
Blockstream blog post comparing post-quantum signature
families, where lattice-based schemes appear favorable on size and
functionality. He inquired as to why Bitcoin post-quantum work has focused
on hash-based signatures instead.

Conduition replied that hash-based signatures remain
attractive for Bitcoin because of weaker security assumptions,
implementation simplicity, fast verification, and suitability as a long-term
fallback. Mikhail Kudinov noted that while naïvely, lattice-based signatures
often require floating point computations, Falcon’s floating-point
operations can be simulated with integers. Conduition and Jesse Posner
discussed whether unified hybrid schnorr+lattice schemes are necessary
versus achieving similar security with separate BIP360 (P2MR) leaves. On
the other hand, Boris Nagaev described space savings from treating hybrid
signing as a single construction rather than a simple concatenation of
multiple signature schemes, since they could likely share certain required
randomizing parameters, for example.

● Public key recovery for P2MR EC leaves: starius
posted to Delving Bitcoin a proposal to add a
recoverable elliptic curve (EC) key leaf type to BIP360 (P2MR). The idea
is to recover the EC public key from the schnorr
signature. The public key is committed to in P2MR merkle tree instead of a
script, and the schnorr signature challenge is modified to include the
merkle root and control block instead of the public key itself. Because both
the merkle root and control block are known both at signing and verification
time, the signature can be verified without knowledge of the public key,
and then the public key’s inclusion in the merkle root can be verified via
the control block. Using this technique, a depth-1 schnorr leaf witness
shrinks from 135 bytes to 100 bytes, between the size of a P2TR key spend and a P2WPKH spend, at the cost of giving
up BIP340 batch verification. starius and Conduition explained that
including the control block in the challenge prevents a related-key attack
when multiple such leaves share a tree. Pieter Wuille reviewed the
construction favorably. Anthony Towns, Pieter Wuille, and Conduition
discussed implications for BIP32 derivation,
batch-verification discounts, and the interaction with Conduition’s
depth-zero tree ban (depth-zero recoverable leaves could match P2TR witness sizes without a post-quantum fallback). starius explained
that this should be folded into BIP360 before activation because it changes
witness parsing rules.

● Aligning privacy incentives in P2MR: Conduition posted
to the Bitcoin-Dev mailing list a proposed BIP360 (P2MR) change to
require every P2MR control block to include at least one 32-byte merkle
authentication path (i.e. ban depth-zero script trees). Depth-zero trees
make some protocols requiring only a single script path more efficient in
P2MR than P2TR, creating a perverse incentive to skip
cooperative signing paths and making some contract protocols easier to
fingerprint on chain.

Antoine Poinsot agreed this would address that privacy concern but still
prefers P2TRv2 for mass migration because typical
single-key P2MR spends cost roughly 15% more than P2TRv2 (possibly less with
key recovery discussed above). Pieter Wuille argued that pre-quantum
adoption incentives matter more than long-term post-quantum efficiency and
that P2TRv2 better minimizes migration costs. He also noted that P2MR only
makes sense if users can rely on a future soft fork disabling elliptic
curve paths within P2MR. Conduition predicted similarly low voluntary
migration rates for either design and noted an upcoming witness-size
optimization for common elliptic curve spends (see the next item). Hayashi
suggested an additional witness discount on P2MR schnorr
leaves to further close the cost gap.

● Prohibit merkle internal node preimages that encode minimal 64-byte transactions:
Jeremy Rubin posted to the Bitcoin-Dev mailing list a
draft BIP proposing an alternative to the consensus cleanup (BIP54) rule making 64-byte witness-stripped
transactions consensus-invalid. Instead of banning the transactions
themselves, Rubin’s rule would invalidate any block whose transaction merkle
tree contains an internal node preimage with the byte layout of a minimal
one-input, one-output, witness-stripped transaction. This targets the same
merkle tree vulnerability at the
internal-node boundary while preserving potentially useful 64-byte
transactions (see Newsletter #408). SPV verifiers would
need to reject proofs whose branch preimages match the forbidden pattern.
The draft includes miner recovery guidance (reorder or drop offending
transactions) and notes that accidental violations should be rare.

Several responses preferred the simpler outright 64-byte transaction ban of
BIP54. Antoine Poinsot argued that any system securing value already validates
these transactions properly, so the distinction Rubin draws matters little in
practice. Matt Corallo noted this would require miners to change their
block-building software or risk producing invalid blocks. Murch pointed out
that occasionally adding a one-byte padding is a smaller burden than making
every node check thousands of hashes during block validation. Sjors Provoost
suggested deferring a cleaner fix to a future block-header format change.

● Triggering EC disabling with a NUMS point spend or hashrate majority: Pieter Wuille
wrote to the Bitcoin-Dev mailing list about codifying the
expected future disabling of elliptic curve (EC) spending paths within new
post-quantum output types such as BIP360
(P2MR) and P2TRv2. Without consensus-enforced triggers,
users won’t be confident that EC spending will actually be disabled,
undermining the quantum-resistance story for output types that initially
allow cheap EC spends.

Wuille proposed two mechanisms bundled with the introducing soft fork:
tripwire (P2XX-T), which disables EC paths in the new output type after
any successful OP_CHECKSIG spend proves secp256k1 is broken,
putting a non-confiscatory upper bound on EC availability; and miner
lockdown (P2XX-ML), which lets a hashrate majority activate the same
disabling through a separately signaled soft fork with a very long
activation window. Boris Nagaev supported tripwire but raised false-positive
concerns for miner lockdown after large classical thefts. Sjors Provoost
suggested long delays and user migration back to P2TR as a
remedy. Conduition supported tripwire, noted that the proof need not be
mined on-chain, and warned that early miner lockdown could be
fee-incentivized. Wuille clarified that disabling must cover all EC usage
within the output type (not just key paths) and that hybrid signing should
use dedicated opcodes rather than arbitrary script combinations to ensure
spendability post-EC disabling.

Releases and release candidates

New releases and release candidates for popular Bitcoin infrastructure
projects. Please consider upgrading to new releases or helping to test
release candidates.


Comments (0)
Loading comments...
Opening sign-in…