CachingTransactionSignatureChecker::VerifySchnorrSignature

Verify a Schnorr signature, using the cache when possible.

Synopsis

Declared in <script/sigcache.h>

virtual
bool
VerifySchnorrSignature(
    std::span<unsigned char const> sig,
    XOnlyPubKey const& pubkey,
    uint256 const& sighash) const override;

Return Value

true if the signature is valid.

Parameters

NameDescription
sigThe Schnorr signature bytes.
pubkeyThe X-only public key to check against.
sighashThe signature hash that was signed.