Cashu-TS - v4.12.0
    Preparing search index...

    Type Alias VerifyProofsOptions

    type VerifyProofsOptions = {
        budgetMs?: number;
        chunkSize?: number;
        onProgress?: (done: number, total: number) => void;
        require?: boolean;
        signal?: AbortSignal;
    }
    Index

    Properties

    budgetMs?: number

    Milliseconds of work between yields. Default 50, a few frames.

    chunkSize?: number

    Most proofs checked between yields to the event loop. Default 32; the time budget usually yields earlier.

    onProgress?: (done: number, total: number) => void

    Called after each chunk with proofs checked so far and the total.

    require?: boolean

    When true, a proof without a DLEQ is invalid. The NUT-12 default accepts it ("verify if present").

    signal?: AbortSignal

    Checked between chunks; the call rejects with CallerAbortError.