WitnessV0ScriptHash::WitnessV0ScriptHash

Constructors

Synopses

Declared in <addresstype.h>

Construct a null witness script hash.

WitnessV0ScriptHash();
» more...

Construct a witness script hash from a script.

explicit
WitnessV0ScriptHash(CScript const& script);
» more...

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

explicit
WitnessV0ScriptHash(uint256 const& hash);
» more...

Parameters

NameDescription
scriptThe script to hash.
hashThe raw hash value.