AppleSauce
    Preparing search index...

    An in-memory database of events

    Implements

    Index

    Constructors

    Properties

    authors: Map<string, Set<NostrEvent>> = ...
    claims: WeakMap<NostrEvent, number> = ...

    A weak map of events to claim reference counts

    created_at: NostrEvent[] = []
    events: LRU<NostrEvent> = ...

    LRU cache of last events touched

    kindAuthor: Map<string, Set<NostrEvent>> = ...

    Composite index for kind+author queries (common pattern)

    kinds: Map<number, Set<NostrEvent>> = ...

    Indexes

    log: Debugger = ...
    replaceable: Map<string, NostrEvent[]> = ...

    A sorted array of replaceable events by address

    tags: LRU<Set<NostrEvent>> = ...

    Accessors

    Methods