[#SignatureCache-ComputeEntrySchnorr] = xref:SignatureCache.adoc[SignatureCache]::ComputeEntrySchnorr :relfileprefix: ../ :mrdocs: Compute the cache entry for a Schnorr signature check. == Synopsis Declared in `<script/sigcache.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void ComputeEntrySchnorr( xref:uint256.adoc[uint256]& entry, xref:uint256.adoc[uint256] const& hash, std::span<unsigned char const> sig, xref:XOnlyPubKey.adoc[XOnlyPubKey] const& pubkey) const; ---- == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#