[#SignatureCache]
= SignatureCache
:mrdocs:

Valid signature cache, to avoid doing expensive ECDSA signature checking twice for every transaction (once when accepted into memory pool, and again when accepted into the block chain)

== Synopsis

Declared in `&lt;script&sol;sigcache&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class SignatureCache;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:SignatureCache/2constructor-019.adoc[`SignatureCache`]         [.small]#[constructor]#
| Constructors
| xref:SignatureCache/operator_assign.adoc[`operator&equals;`]  [.small]#[deleted]#
| Deleted copy assignment&semi; the cache is non&hyphen;copyable&period;
| xref:SignatureCache/ComputeEntryECDSA.adoc[`ComputeEntryECDSA`] 
| Compute the cache entry for an ECDSA signature check&period;
| xref:SignatureCache/ComputeEntrySchnorr.adoc[`ComputeEntrySchnorr`] 
| Compute the cache entry for a Schnorr signature check&period;
| xref:SignatureCache/Get.adoc[`Get`] 
| Look up whether an entry is present, optionally erasing it&period;
| xref:SignatureCache/Set.adoc[`Set`] 
| Insert an entry, marking its signature as valid&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
