By what duration can a miner manipulate block.timestamp? Can they manipulate it by 10min, 5sec, 2hrs...?
From here I can see that the average block time on the ethereum blockchain is 13 seconds.
The miner could cheat in the timestamp by a tolerance of 900 seconds. So if you check outside this intervall you are safe
- It must be after the previous block timestamp.
- It cannot be far in the future.
So, by what duration can a miner manipulate block.timestamp? Can they manipulate it by 15sec or is it 15min?
I am trying to create a fixture smart contract that has a start time and an end time. You can only set the status of the fixture to
ended 2hrs after game start time. Is it safe to use block.timestamp in this case?