alloy_eips::merge

Constant ALLOWED_FUTURE_BLOCK_TIME_SECONDS

Source
pub const ALLOWED_FUTURE_BLOCK_TIME_SECONDS: u64 = 15;
Expand description

Max seconds from current time allowed for blocks, before they’re considered future blocks.

This is only used when checking whether or not the timestamp for pre-merge blocks is in the future.

See: https://github.com/ethereum/go-ethereum/blob/a196f3e8a22b6ad22ced5c2e3baf32bc3ebd4ec9/consensus/ethash/consensus.go#L227-L229