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

Name

Description

entry

Output cache entry (salted hash of the inputs).

hash

The signature hash that was signed.

sig

The Schnorr signature bytes.

pubkey

The X‐only public key the signature is checked against.

Created with MrDocs