kernl API
    Preparing search index...

    Interface MemoryBackendOptions

    Options for createMemoryBackend.

    interface MemoryBackendOptions {
        available?: boolean;
        now?: () => number;
        owner?: string;
    }
    Index
    available?: boolean

    Whether status() reports the backend as available. Sends are refused while it is not. Defaults to true.

    now?: () => number

    Clock in Unix seconds, for deterministic tests. Defaults to the wall clock.

    owner?: string

    Hex public key reported as ownerPubkey and used as the sender of outgoing messages. Defaults to 'owner'.