libp2p
    Preparing search index...

    Interface PeerInfo

    A PeerInfo is a lightweight object that represents a remote peer, it can be obtained from peer discovery mechanisms, HTTP RPC endpoints, etc.

    interface PeerInfo {
        id: PeerId;
        multiaddrs: Multiaddr[];
    }
    Index

    Properties

    Properties

    id: PeerId

    The identifier of the remote peer

    multiaddrs: Multiaddr[]

    The multiaddrs a peer is listening on