delvingbitcoin

Great Consensus Cleanup Revival

Great Consensus Cleanup Revival

Original Postby AntoineP

Posted on: January 7, 2025 15:24 UTC

The discussions within a private forum have culminated in a significant proposal aimed at enhancing the worst-case validation time for blocks.

Initially, the discourse revolved around mitigating strategies that had been previously suggested in 2019, accessible via a GitHub proposal. However, a realization emerged that an adaptation could effectively sidestep these earlier mitigations, spurring a detailed discussion spanning nearly a year. The dialogue engaged numerous participants, with notable contributions from Anthony Towns, who provided valuable insights, corrections, and fostered constructive debate.

The deliberation scrutinized various mitigation options, carefully weighing their impact, complexity, and the potential for confiscatory consequences. After thorough analysis, a consensus formed around the introduction of a specific rule: imposing a limit of 2,500 sigops for legacy inputs (encompassing both bare and P2SH formats) per transaction. This measure is anticipated to yield a fortyfold reduction in the worst-case validation time, representing a significant efficiency gain. It was selected for its simplicity, effectiveness, and minimal confiscatory implications. Although further enhancements were considered through the implementation of an additional rule, which promised to amplify the decrease in validation time by sevenfold, this option was ultimately deemed less favorable due to its greater confiscatory risk.