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