Documentation
    Preparing search index...

    Interface MockBlossomState

    In-memory state of the blossom mock.

    createMockBlossomService().mock.state().serverList.length === 2;
    
    interface MockBlossomState {
        blobs: Map<string, MockBlossomBlob>;
        serial: number;
        serverList: string[];
        serverListEvent?: NostrEvent;
    }
    Index

    Properties

    blobs: Map<string, MockBlossomBlob>

    Blobs keyed by sha256.

    serial: number

    Publication counter used to label server-list events.

    serverList: string[]

    Ordered BUD-03 server list of the shell user.

    serverListEvent?: NostrEvent

    Latest published kind 10063 event, when any.