[#CachingTransactionSignatureChecker-VerifySchnorrSignature] = xref:CachingTransactionSignatureChecker.adoc[CachingTransactionSignatureChecker]::VerifySchnorrSignature :relfileprefix: ../ :mrdocs: Verify a Schnorr signature, using the cache when possible. == Synopsis Declared in `<script/sigcache.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool VerifySchnorrSignature( std::span<unsigned char const> sig, xref:XOnlyPubKey.adoc[XOnlyPubKey] const& pubkey, xref:uint256.adoc[uint256] const& sighash) const override; ---- == Return Value true if the signature is valid. == Parameters [cols="1,4"] |=== | Name| Description | *sig* | The Schnorr signature bytes. | *pubkey* | The X‐only public key to check against. | *sighash* | The signature hash that was signed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#