ToKeyID

ToKeyID overloads

Synopses

Declared in <addresstype.h>

Convert a public-key-hash destination back to a key identifier.

CKeyID
ToKeyID(PKHash const& key_hash);
» more...

Convert a witness key-hash destination back to a key identifier.

CKeyID
ToKeyID(WitnessV0KeyHash const& key_hash);
» more...

Return Value

The corresponding key identifier.

Parameters

NameDescription
key_hashThe public-key hash to convert.