Segwit commitment to post-quantum witness data?

Jul 10 - Jul 13, 2026

  • The proposals to enhance blockchain technology with post-quantum cryptography (PQC) include several advanced modifications aimed at integrating quantum-resistant mechanisms into the existing framework.

One significant suggestion is to modify block structures by increasing block size to accommodate an extension block area. This area would be designated specifically for post-quantum signature data and could potentially mitigate economic discrepancies between different transaction paths by making initial bytes in certain transactions free of cost.

An additional layer of complexity arises with the need to introduce a new transaction identifier, termed pqwtxid, which amalgamates pqdata with traditional segwit data. Such integration necessitates substantial updates across mining and network operations, including the establishment of new block commitments and possibly a pqwtxid relay mechanism akin to the BIP339 wtxid relay. These changes would further require alterations in Peer-to-Peer (P2P) protocols to manage multiple types of identifiers, complicating compatibility with older system versions.

An alternative approach suggests embedding a commitment to pqdata within the segwit portion of a transaction input, thus maintaining the existing wtxid as the primary transaction identifier. This method would avoid major disruptions in transaction identification processes while ensuring the incorporation of essential PQC elements. However, it would lead to increased storage and bandwidth demands due to the additional data required for pqdata commitments. Optimizations at the node level or adjustments in P2P communication protocols might be necessary to manage these increased requirements efficiently.

Moreover, the concept extends to the serialization and relay of transactions within the network. A proposed system could involve assigning a unique witness style number to each transaction input depending on its type, thereby facilitating differential handling based on consensus rules. This system would allow for future expansions without imposing strict limitations on nodes that may not support newer styles due to undefined cost rules. Notably, the overall transaction weight calculation would remain anchored to traditional segwit guidelines, with additional considerations for any style-specific rules that might emerge.

These proposed enhancements highlight the technical feasibility and potential complexities involved in adapting blockchain technology to support emerging cryptographic standards. Each solution presents distinct advantages and challenges, necessitating thorough evaluation and possibly creative problem-solving to implement effectively while maintaining network efficiency and compatibility.

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