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

Name

Description

hash_type

The sighash type selecting the cache entry.

script_code

The scriptCode the midstate is computed for.

writer

The SHA256 midstate to cache.

Created with MrDocs