Skip to main content

How Do Time Stamps in Block Headers Help Secure the Chain?

The timestamp in a block header records the approximate time the block was created. It is used to enforce the network's difficulty adjustment rules, which rely on measuring the time elapsed between 2,016 blocks.

More importantly, it helps prevent miners from "time-warping" the chain by forcing the timestamp to be within a specific, limited range relative to the median of the previous 11 blocks, making it difficult to manipulate the block order for a double-spend.

What Is the Difference between a “Share” and a “Valid Block Solution”?
How Does the Difficulty Adjustment Prevent a “Mining Death Spiral”?
How Is the Difficulty Adjustment Mechanism a Defense against a Rapid Hashrate Drop?
What Is the Difference between a ‘Valid Share’ and an ‘Invalid Share’?