Cashu-TS - v3.3.0
    Preparing search index...

    Function hasValidDleq

    • Checks that the proof has a valid DLEQ proof according to keyset keys

      Parameters

      • proof: Proof

        The proof subject to verification.

      • keyset: HasKeysetKeys

        Object containing keyset keys (eg: Keyset, MintKeys, KeysetCache)

      Returns boolean

      True if verification succeeded, false otherwise.

      Throws if the proof amount does not match any key in the provided keyset.