ToKeyID overloads

Synopses

Declared in <addresstype.h>

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

CKeyID
ToKeyID(PKHash const& key_hash);

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

CKeyID
ToKeyID(WitnessV0KeyHash const& key_hash);

Return Value

The corresponding key identifier.

Parameters

Name

Description

key_hash

The public‐key hash to convert.

Created with MrDocs