Jul 10 - Nov 27, 2026
A central proposal involves expanding block size by introducing an extension area for PQ signature data and related overheads such as those required for elliptic curve cryptography (ECC) spends. By allocating free initial bytes per input, this model aims to harmonize the economic costs of less-used ECC paths with mainstream transaction types like p2wpkh and p2tr, thus fostering broader adoption of advanced cryptographic schemes without disproportionately penalizing users.
Integrating a dedicated witness area for PQ signatures is technically feasible but introduces significant infrastructural changes. For instance, if a new transaction identifier (pqwtxid) encapsulates both traditional segwit and PQ data, mining and relay mechanisms must be updated. This includes new block commitments in coinbase transactions and possibly specialized relay features as outlined in BIP339. Such changes would also require modifications to peer-to-peer logic, increasing compatibility challenges with legacy nodes. An alternative approach embeds a commitment to PQ data within the existing segwit area, maintaining backward compatibility while incurring manageable increases in bandwidth and storage due to additional commitment bytes. Node-level or protocol optimizations can mitigate these incremental costs, preserving overall network efficiency.
The evolution of transaction formats hinges on a flexible style system, assigning each transaction input a style number that denotes its witness type—segwit as style 0, pqdata as style 1, and more for future extensions. Serialization now incorporates a flag byte to distinguish standard from extended transactions. Each input’s style byte allows for precise processing and backward compatibility through a “collapse” mechanism, where unsupported styles are replaced by a simplified format that facilitates secure network operation even among heterogeneous node capabilities. Transaction identifiers and weight calculations adhere to established rules but adapt to reflect new style-specific requirements. Strict validation ensures only compliant witness formats are accepted, reinforcing security and consistency across evolving transaction types.
A key architectural innovation is the introduction of an annex field—a supplementary commitment area within the witness structure. This annex can encapsulate diverse transaction attributes (such as per-input locktimes or block assertions) and facilitate protocol extensibility without altering core witness encodings. The annex design supports multiple entries per input, reducing complexity in future upgrades and enabling nuanced transaction controls. When nodes encounter unfamiliar witness styles, collapsing them to style 0 using a tagged hash preserves transaction integrity while ensuring older software processes only recognized data. This model enhances forward compatibility and maintains blockchain robustness during transitions.
Transaction cost accounting emerges as a central challenge, especially as new cryptographic schemes and transaction types demand varying resources. Legacy and segwit transactions use established weight ratios; future PQ-inspired designs may introduce distinct formulas reflecting their computational, storage, and bandwidth demands. Proposals include monotonic functions that consider declared computation budgets and script input sizes, reminiscent of Ethereum’s gas limit mechanism. Such upfront declarations optimize transaction construction, discourage inefficient padding, and empower senders with greater flexibility. Importantly, these cost models enable hybrid multisignature configurations, allowing mixed signature schemes within a single spending path and supporting advanced wallet functionalities.
Extension fields represent a leap forward in transaction extensibility. Each extension is an opaque blob (with optional hash) forming a vector of sequentially introduced protocol enhancements. Extensions are committed recursively, with a root commitment placed in the transaction witness. This chaining mechanism—akin to an unbalanced pseudo-Merkle tree—allows for efficient versioning, backward collapse to legacy formats, and the seamless introduction of new signature algorithms or features like SNARK proofs. Weight calculations for transactions sum the base format with per-extension contributions, facilitating transparent and adaptive resource management. Nodes parsing newer extension versions retain compatibility with older transactions but require full upgrade to validate weights and opaque payloads in advanced extensions.
The annex and extension frameworks collectively support innovative costing strategies and tailored discount factors for signature verification—for example, applying unique discounts to valid PQ signatures while retaining legacy costing for scripts and preimages. This selective approach improves resistance to transaction malleability and supports commingling of different cryptographic cost functions. Moreover, it simplifies transaction weight computation for software and enables cost accounting to drill down to the script level, accommodating edge cases inherent in hybrid signature deployments.
A recurring theme is the importance of robust block validation and the necessity for all relevant PQ signature data to be covered by the block hash. This commitment not only streamlines validation caching and prevents malleability but also simplifies integration with advanced aggregation techniques like SNARKs, as discussed in related threads. Omitting PQ signature commitments risks undermining proof-of-work integrity and exposes the network to denial-of-service vectors, particularly if advers
Thread Summary (16 replies)
Jul 10 - Nov 27, 2026
17 messages
TLDR
We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project.
Give Feedback