Constructors

Synopses

Declared in <addresstype.h>

Construct a null witness script hash.

Construct a witness script hash from a script.

explicit
WitnessV0ScriptHash(CScript const& script);

Construct a witness script hash from a raw 256‐bit hash.

explicit
WitnessV0ScriptHash(uint256 const& hash);

Parameters

Name

Description

script

The script to hash.

hash

The raw hash value.

Created with MrDocs