SignatureCache::ComputeEntrySchnorr

Compute the cache entry for a Schnorr signature check.

Synopsis

Declared in <script/sigcache.h>

void
ComputeEntrySchnorr(
    uint256& entry,
    uint256 const& hash,
    std::span<unsigned char const> sig,
    XOnlyPubKey const& pubkey) const;

Parameters

NameDescription
entryOutput cache entry (salted hash of the inputs).
hashThe signature hash that was signed.
sigThe Schnorr signature bytes.
pubkeyThe X-only public key the signature is checked against.