Record is the base implementation of a record that can be used as the payload of a libp2p envelope.

Hierarchy

  • Record

Properties

Properties

codec: Uint8Array

identifier of the type of record

domain: string

signature domain.

equals: ((other: Record) => boolean)

Type declaration

    • (other: Record): boolean
    • Verifies if the other provided Record is identical to this one.

      Parameters

      Returns boolean

marshal: (() => Uint8Array)

Type declaration