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
Name |
Description |
sig |
The Schnorr signature bytes. |
pubkey |
The X‐only public key to check against. |
sighash |
The signature hash that was signed. |
Created with MrDocs