interface PeerRecordInit {
    multiaddrs?: Multiaddr[];
    peerId: PeerId;
    seqNumber?: bigint;
}

Properties

multiaddrs?: Multiaddr[]

Addresses of the associated peer.

peerId: PeerId
seqNumber?: bigint

Monotonically-increasing sequence counter that's used to order PeerRecords in time.