Rework of -addrinfo
CLI is done using getaddrmaninfo
RPC proposed in #27511. This would be useful for users who want to know the total number of addresses the node knows about and can make connections to.
Currently, -addrinfo
returns total number of addresses the node knows about after filtering them for quality + recency using isTerrible
. However isTerrible
addresses don’t matter when selecting outbound peers to connect to. Total number of addresses the node knows about could be higher than what -addrinfo
currently displays. See #24370.