WitnessV0KeyHash::WitnessV0KeyHash

Constructors

Synopses

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...

Parameters

NameDescription
pubkeyThe public key to hash.
pubkey_hashThe public-key hash.
hashThe raw hash value.