From bitcoin wiki:

A timestamp is accepted as valid if it is greater than the median timestamp of previous 11 blocks, and less than the network-adjusted time + 2 hours.

If a miner submits a block timestamp on the cusp of the network-adjusted time + 2 hours threshold, some nodes will see the block as valid and some will see the block as invalid, regardless of the work done on the block. How do nodes come to consensus on whether the block is valid?

1 Answer 1


They don't need to.

If a block's timestamp is in the future, it won't be accepted - but it also won't be marked as invalid. Once enough time passes, the node will accept the block if it is offered or received again.

Effectively, the maximum limit on the timestamp is not a consensus rule, but just a temporary acceptance rule.

  • I had the impression that the nodes ask one another about their UTC timestamps and if it is within 70 minutes of your time, you use that to calculate the median of the network adjusted time.
    – Ugam Kamat
    Commented Mar 26, 2019 at 9:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.