Constructors
Declared in <addresstype.h>
Construct a null script hash.
ScriptHash();
» more...
Construct a script hash from a script.
explicit
ScriptHash(CScript const& script);
» more...
Construct a script hash from a script identifier.
explicit
ScriptHash(CScriptID const& script);
» more...
Deleted: constructing from a public-key hash is disallowed.
explicit
ScriptHash(PKHash const& hash) = delete;
» more...
Deleted: constructing from a witness key hash is disallowed.
explicit
ScriptHash(WitnessV0KeyHash const& hash) = delete;
» more...
Construct a script hash from a raw 160-bit hash.
explicit
ScriptHash(uint160 const& hash);
» more...
| Name | Description |
|---|---|
| script | The script to hash. |
| hash | The public-key hash (unused; deleted overload). |