Bounds on chain length with BIP-54 timewarp fixes

Posted by sipa

Sep 19, 2026/21:48 UTC

The discussion revolves around the computation of work by miners within blockchain technology, specifically focusing on how this impacts security measures against denial-of-service (DoS) attacks. The calculation of work performed by miners is derived from the blockchain itself, using a formula that sums real blocks' work based on the blockchain target value. This method provides an approximation of actual work done, which is crucial for maintaining fairness in comparing the total chain work between honest and attacker-created chains.

The conversation also touches upon the implications of potential changes introduced by BIP-54, particularly concerning DoS protection strategies. BIP-54, if implemented, would impact the 'headers presync' which is vital for preventing low-difficulty spam headers from overwhelming storage space. The minimum chain work (minchainwork) plays a pivotal role here, serving as a threshold to differentiate between legitimate chains and potential attacks. Chains that meet or exceed the minchainwork are considered valid, thus ensuring that only PoW-rich chains consume network resources.

Additionally, the email addresses concerns regarding the maximum possible length of a chain under new timestamp rules proposed by BIP-54. These rules would slightly extend the maximum permissible chain length compared to the current limits set by the Median Time Past (MTP) rule. This adjustment could lead to significant changes in the network's handling of chain lengths and their associated timestamps, thereby affecting overall blockchain stability and security.

For further reading on how these concepts apply to blockchain technology and DoS protection, more details can be found here.

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