Constructors
Declared in <addresstype.h>
Construct a null witness key hash.
WitnessV0KeyHash();
» more...
Construct a witness key hash from a public key.
explicit
WitnessV0KeyHash(CPubKey const& pubkey);
» more...
Construct a witness key hash from a public-key hash.
explicit
WitnessV0KeyHash(PKHash const& pubkey_hash);
» more...
Construct a witness key hash from a raw 160-bit hash.
explicit
WitnessV0KeyHash(uint160 const& hash);
» more...
| Name | Description |
|---|---|
| pubkey | The public key to hash. |
| pubkey_hash | The public-key hash. |
| hash | The raw hash value. |