bitcoin-dev

Great Consensus Cleanup Revival

Great Consensus Cleanup Revival

Original Postby Antoine Poinsot

Posted on: June 21, 2024 13:09 UTC

The discussion highlights the potential benefits of prohibiting 64-byte transactions within the Bitcoin network, emphasizing that while it may not address the most critical issues, it presents a valuable cleanup opportunity in the context of a proposed soft fork.

The implementation of such a change would allow node implementations to cache block failures at an earlier stage of validation. Although this represents a modest improvement, it is considered beneficial for the overall efficiency and security of the network.

Moreover, the elimination of 64-byte transactions is expected to yield a slight bandwidth saving for Simplified Payment Verification (SPV) verifiers. This is because SPV verifiers would no longer need to request a merkle proof for the coinbase transaction alongside the transaction of interest, streamlining the verification process. Additionally, this change aims to mitigate significant risks associated with the development and implementation of software that verifies SPV proofs. Current complexities within the protocol render these proofs insecure when considered in isolation, posing a risk to developers unfamiliar with these intricacies.

Addressing another aspect, the prohibition of 64-byte transactions would also contribute to the uniqueness of block hashes, a feature that could enhance the reliability and functionality of Bitcoin and its associated software. Given the narrow scope and straightforward nature of this change, coupled with its minimal impact on legitimate transactions (as 64-byte transactions are typically either unspendable or designated as anyone-can-spend), the proposal argues that the advantages of making such transactions illegal significantly outweigh the disadvantages. This approach reflects a deliberate effort to refine and secure the Bitcoin protocol, ensuring its robustness against potential vulnerabilities and inefficiencies.