Skip to main content

PEER_MAX_FUTURE_TIMESTAMP_MILLIS

Constant PEER_MAX_FUTURE_TIMESTAMP_MILLIS 

Source
pub const PEER_MAX_FUTURE_TIMESTAMP_MILLIS: DurationMillis;
Expand description

How far into our future a gossiped Peer record’s timestamps may be. An honest peer’s pow_current_* timestamps come from RPC PoW it received, which is within one drift of its clock, and its clock is within one drift of ours — hence two hops. Anything further ahead is self-asserted and would let the peer dodge PoW decay (an unbounded Kademlia score).