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

interface Record {
    codec: Uint8Array;
    domain: string;
    equals(other): boolean;
    marshal(): Uint8Array;
}

Properties

Methods

Properties

codec: Uint8Array

identifier of the type of record

domain: string

signature domain.

Methods