Public key recovery for EC leaves in P2MR (BIP-360)

Posted by starius

Nov 4, 2026/08:03 UTC

When evaluating multisig structures and their optimization within the context of script trees, it is common practice to compare them with P2WPKH (Pay-to-Witness-Public-Key-Hash) at a depth-1 elliptic curve (EC) leaf. Depth-1 EC leaves are typically used for standard operations and cooperative scenarios, especially when coins are managed with multisignature arrangements. This approach ensures that the most frequently accessed or utilized conditions remain easily accessible, thereby streamlining regular transactions.

Optimizing the script tree by positioning the EC leaf closer to the root, specifically at depth-1, is logical due to its frequent usage prior to any exceptional event, referred to as “the Q day.” By structuring the tree in this manner, efficiency is improved both in terms of computation and transaction size, which are critical factors in blockchain implementations.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiDecoding BitcoinWarnet
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project.

Give Feedback