Posted by ajtowns
Dec 15, 2025/03:13 UTC
The discussion revolves around a nuanced aspect of blockchain technology, particularly focusing on the implications of a specific type of soft fork. This soft fork is noted for potentially causing significant delays in the blockchain's median time compared to real-time. Such delays can adversely affect transactions that are set to become spendable at specific times based on timestamps (nTimeLock), rather than block height. This situation could be particularly problematic for transactions where the timelock setting is enforced by OP_CLTV, as it could unintentionally restrict access to funds earlier than anticipated.
To address the issue of nTime overflow, a proposed solution involves the calculation of a 64-bit nTime64 from the existing 32-bit nTime. The method for this includes combining the upper 32 bits of the previous block's median time with the lower 32 bits of the current block's nTime. If this calculated time is less than the median time of the previous block, an adjustment is made by adding a specific value. This approach essentially constitutes a hard fork, albeit one viewed as relatively minor except for the fact that it would avoid the complete halt of the chain. Moreover, this solution implies the necessity for a 64-bit replacement for the timestamp-based nLockTime feature to maintain its functionality post-implementation.
TLDR
We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project.
Give Feedback