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

    Function isP2PKSpendAuthorised

    • Verify P2PK spending conditions for a single input.

      Parameters

      • proof: Proof

        The Proof to check.

      • logger: Logger = NULL_LOGGER

        Optional logger (default: NULL_LOGGER)

      • Optionalmessage: string

        Optional. The message to sign (for SIG_ALL)

      Returns boolean

      True if the witness threshold was reached, false otherwise.

      If verification is impossible.