2

As a miner, what happens if I propogate a block with a future timestamp, or yesterday's timestamp? What determines the block time? Can I just give any time here or is it okay to change it with 1-2 seconds?

enter image description here

1 Answer 1

1

The timestamp of a block must be higher than the median of the timestamps of the past 11 blocks. It also needs to be less than 2 hours in the future (wall clock) at the time of validation.

Note how a block invalid by the second rule can become valid eventually.

2
  • 2
    So what you are saying is there can be a recent block whose timestamp has a previous date than the latest block?
    – Efe
    Commented Feb 26 at 10:18
  • Yes, as long as its timestamp is higher than the median of the past 11 blocks. Commented Feb 26 at 10:21

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.