pub const STUCK_PEER_KICK_TIME: i64 = 2 * 3600 * 1000; // 7_200_000i64
Expand description

If a peer’s last updated difficulty is 2 hours ago and its difficulty’s lower than ours, we’re sure this peer is a stuck node, and we will kick out such kind of stuck peers.