SigHashCache::Store

Store into this cache object the provided SHA256 midstate.

Synopsis

Declared in <script/interpreter.h>

void
Store(
    int32_t hash_type,
    CScript const& script_code,
    HashWriter const& writer) noexcept;

Parameters

NameDescription
hash_typeThe sighash type selecting the cache entry.
script_codeThe scriptCode the midstate is computed for.
writerThe SHA256 midstate to cache.