nim-libp2p icon indicating copy to clipboard operation
nim-libp2p copied to clipboard

switch.peerInfo reports with INADDR_ANY or INADDR6_ANY multiaddresses.

Open cheatfate opened this issue 2 months ago • 0 comments

nim-libp2p provides non-usable multiaddresses via switch.peerInfo. This method is used in nimbus-eth2 to report locally bound addresses to remote caller (Original issue is https://github.com/status-im/nimbus-eth2/issues/6060). But there should be a way to receive list of addresses of local interfaces. Address 0.0.0.0 or [::] should be expanded to proper local interface addresses.

cheatfate avatar Apr 25 '24 00:04 cheatfate