Verify a Schnorr signature, using the cache when possible.
Declared in <script/sigcache.h>
virtual
bool
VerifySchnorrSignature(
std::span<unsigned char const> sig,
XOnlyPubKey const& pubkey,
uint256 const& sighash) const override;
true if the signature is valid.
| Name | Description |
|---|---|
| sig | The Schnorr signature bytes. |
| pubkey | The X-only public key to check against. |
| sighash | The signature hash that was signed. |