libp2p
    Preparing search index...

    Interface Peer

    Data stored in the peer store about peers

    interface Peer {
        addresses: Address[];
        id: PeerId;
        metadata: Map<string, Uint8Array<ArrayBufferLike>>;
        peerRecordEnvelope?: Uint8Array<ArrayBufferLike>;
        protocols: string[];
        tags: Map<string, Tag>;
    }
    Index

    Properties

    addresses: Address[]

    Peer's addresses containing a list of multiaddrs and a isCertified field indicating if the address was loaded from a signed peer record or not

    id: PeerId

    Peer's peer-id instance

    metadata: Map<string, Uint8Array<ArrayBufferLike>>

    Peer's metadata map

    peerRecordEnvelope?: Uint8Array<ArrayBufferLike>

    The last peer record envelope received

    protocols: string[]

    Peer's supported protocols

    tags: Map<string, Tag>

    Tags a peer has