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