Origin information (master key fingerprint and derivation path) for a public key.

Synopsis

Declared in <script/keyorigin.h>

struct KeyOriginInfo;

Member Functions

Name

Description

clear

Reset the fingerprint to zero and clear the derivation path.

Data Members

Name

Description

fingerprint

First 32 bits of the Hash160 of the public key at the root of the path

path

BIP32 derivation path from the root key to this key

Friends

Name

Description

operator<

Order two KeyOriginInfo by fingerprint, then path length, then path.

operator==

Compare two KeyOriginInfo for equality.

Non-Member Functions

Name

Description

DeserializeKeyOrigin

Deserialize a fixed number of bytes from a stream as a KeyOriginInfo.

Created with MrDocs