Constructors

Synopses

Declared in <addresstype.h>

Construct a null witness key hash.

Construct a witness key hash from a public key.

explicit
WitnessV0KeyHash(CPubKey const& pubkey);

Construct a witness key hash from a public‐key hash.

explicit
WitnessV0KeyHash(PKHash const& pubkey_hash);

Construct a witness key hash from a raw 160‐bit hash.

explicit
WitnessV0KeyHash(uint160 const& hash);

Parameters

Name

Description

pubkey

The public key to hash.

pubkey_hash

The public‐key hash.

hash

The raw hash value.

Created with MrDocs