Applesauce
    Preparing search index...

    Interface OptimisticEventVerifierOptions

    Options for relay trust growth, signature sampling, and persistence

    interface OptimisticEventVerifierOptions {
        cacheSize?: number;
        daysForTrust?: number;
        historyDays?: number;
        minimumVerificationRate?: number;
        storage?: OptimisticVerifierStorage;
        verifiedEventsForTrust?: number;
        verifiedEventsPerDay?: number;
        verifyEvent?: (event: NostrEvent) => boolean;
    }
    Index
    cacheSize?: number

    The maximum entries in each recent-verification cache (default 10000)

    daysForTrust?: number

    The qualifying UTC days required for full time confidence (default 14)

    historyDays?: number

    The number of UTC days of evidence to retain, at least daysForTrust (default 30)

    minimumVerificationRate?: number

    The minimum signature verification probability, greater than zero and at most one (default 0.1)

    The optional storage adapter for relay evidence

    verifiedEventsForTrust?: number

    The successful checks required for full volume confidence (default 10000)

    verifiedEventsPerDay?: number

    The successful checks required for a UTC day to qualify (default 20)

    verifyEvent?: (event: NostrEvent) => boolean

    The signature check used for sampled events, such as a faster WASM verifier (default nostr-tools verifyEvent)