Verify a Schnorr signature against this public key.
Declared in <pubkey.h>
bool
VerifySchnorr(
uint256 const& msg,
std::span<unsigned char const> sigbytes) const;
sigbytes must be exactly 64 bytes.
true if the signature is valid for this public key.
| Name | Description |
|---|---|
| msg | The 32-byte message hash that was signed. |
| sigbytes | The 64-byte Schnorr signature to verify. |