bitcoin-dev
Great Consensus Cleanup Revival
Posted on: June 27, 2024 09:35 UTC
The discussion revolves around the strategies for handling invalid blocks in blockchain technology, specifically focusing on the idea of caching the hash of a non-malleated invalid block to prevent unnecessary re-downloads and re-validations.
The concern about potential implementation bugs is acknowledged but deemed not significant in this context. The simplicity of verifying transactions within a block is highlighted, pointing out that ensuring no transaction is 64 bytes is a straightforward process.
However, there's an underlying assumption made about the knowledge level of individuals involved in this verification process. It's considered unrealistic to expect these individuals to understand the nuances of merkle tree construction, particularly the possibility that an inner node could be mistaken for a 64-byte transaction. This introduces a debate on the proposal to invalidate 64-byte transactions to avoid such confusion and the associated risks it might entail.
The conversation then shifts to the implications of making 64-byte transactions invalid. By doing so, it would eliminate the possibility of two valid blocks having the same hash, addressing a specific vulnerability (CVE-2012-2459) that has been present since 2012. This suggestion is put forward as a solution to enhance the security and integrity of blockchain operations by preventing duplicate transaction IDs and thereby, duplicate block hashes.