pub const AT_OR_NEAR_TIP_THRESHOLD: HeightDiff = 5;Expand description
The maximum estimated distance to the network chain tip that is considered “at or near tip”.
Allows for normal block-time variance and propagation delay. Considering the 75 second target for the time between blocks on mainnet, this equals approximately 6 minutes of time the node can stay without receiving a new block before being considered far from the tip.