Skip to main content

MAX_FUTURE_BLOCK_TIME

Constant MAX_FUTURE_BLOCK_TIME 

Source
pub const MAX_FUTURE_BLOCK_TIME: u64 = 7200; // 7_200u64
Expand description

Maximum future block time tolerance: 2 hours (7200 seconds)

Blocks with timestamps more than this far in the future are rejected to prevent time-warp attacks. This allows for reasonable clock skew between network nodes.