SignatureCache

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 <script/sigcache.h>

class SignatureCache;

Member Functions

NameDescription
SignatureCache [constructor]Constructors
operator= [deleted]Deleted copy assignment; the cache is non-copyable.
ComputeEntryECDSA Compute the cache entry for an ECDSA signature check.
ComputeEntrySchnorr Compute the cache entry for a Schnorr signature check.
Get Look up whether an entry is present, optionally erasing it.
Set Insert an entry, marking its signature as valid.