Bounds on chain length with BIP-54 timewarp fixes

Posted by sipa

Sep 19, 2026/17:26 UTC

The analysis of blockchain period lengths reveals that optimal chains typically demonstrate periods of monotonically decreasing length. This pattern emerges because a configuration where a longer period precedes a shorter one can be rearranged such that the longer period is moved later in the sequence, thereby reducing the overall amount of work required in the chain. Claude Fable's research, cited in section 5.1, corroborates this theory by examining chains restricted to complete periods only, specifically $m=2016$. His findings show that these chains encompass exactly 1,005,984 blocks, distributed across 499 periods, which aligns precisely with chains calculated without this restriction, aside from the truncation of the tail.

Furthermore, an interesting aspect of blockchain dynamics is highlighted concerning the difficulty adjustment mechanism employed within such networks. It is observed that the discrepancy in difficulty adjustments, expected to be a factor of 2016/2015, instead manifests as 2016/2014. This deviation is attributed not to the theoretical model but rather to the real-world application where miners use authentic timestamps. Thus, the anomaly does not affect adversaries who manipulate timestamps to their advantage. These adversaries are unbounded by the probabilistic constraints faced by honest miners, allowing them to effectively "make their own luck" by choosing favorable timestamps, circumventing standard probabilistic hurdles.

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