Reviewed Aug 2026
DE
BA-08 · LESSON 11

Block time, MedianTimePast, and future limits

KEY DEFINITIONS

Terms used in this lesson

Proof-of-work target
The maximum header-hash value accepted for a block; lowering it makes valid hashes harder to find.

Validate a candidate timestamp against the median of the previous eleven blocks and the receiving node's two-hour future-time limit.

55 min Difficulty 3/5 Not started

Loading lesson visuals...

01

Learn the idea

A block header carries one unsigned 32-bit Unix timestamp, but that number is not accepted simply because a miner wrote it. Contextual validation requires the candidate time to be strictly greater than MedianTimePast, the median of the preceding eleven block timestamps. A node also rejects a newly received block whose time is more than two hours ahead of its adjusted network time.

GUIDED EXPLANATION1/5 ideas inspected
1

Collect the previous eleven times

Follow the candidate's selected parent branch and read the timestamps of that parent plus its ten ancestors. Times on a different branch do not enter this candidate's MedianTimePast.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionEvery accepted Bitcoin block must be exactly ten minutes after the previous block.

Ten minutes is the long-run target interval. Individual block times vary, and timestamp validity uses MedianTimePast plus a future-time limit rather than a ten-minute schedule.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.