libp2p
    Preparing search index...

    The PeerRecord is used for distributing peer routing records across the network. It contains the peer's reachable listen addresses.

    Index

    Constructors

    Properties

    codec: Uint8Array<ArrayBuffer> = PeerRecord.CODEC
    domain: string = PeerRecord.DOMAIN
    multiaddrs: Multiaddr[]
    peerId: PeerId
    seqNumber: bigint
    CODEC: Uint8Array<ArrayBuffer> = ENVELOPE_PAYLOAD_TYPE_PEER_RECORD
    DOMAIN: string = ENVELOPE_DOMAIN_PEER_RECORD

    Methods

    • Returns true if this record equals the other

      Parameters

      • other: unknown

      Returns boolean