A PeerInfo is a lightweight object that represents a remote peer, it can be obtained from peer discovery mechanisms, HTTP RPC endpoints, etc.
PeerInfo
https://libp2p.io/docs/peers/#peer-info
The identifier of the remote peer
The multiaddrs a peer is listening on
A
PeerInfois a lightweight object that represents a remote peer, it can be obtained from peer discovery mechanisms, HTTP RPC endpoints, etc.See
https://libp2p.io/docs/peers/#peer-info