recentlyConnectedPeerMaxAddrs top-level constant
int
const recentlyConnectedPeerMaxAddrs
Number of addresses to keep for peers we have disconnected from for peerstore.RecentlyConnectedTTL time This number can be small as we already filter peer addresses based on whether the peer is connected to us over localhost, private IP or public IP address
Implementation
const recentlyConnectedPeerMaxAddrs = 20;