SigHashCache

Data structure to cache SHA256 midstates for the ECDSA sighash calculations (bare, P2SH, P2WPKH, P2WSH).

Synopsis

Declared in <script/interpreter.h>

class SigHashCache;

Member Functions

NameDescription
Load Load into writer the SHA256 midstate if found in this cache.
Store Store into this cache object the provided SHA256 midstate.