KeyOriginInfo

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

Synopsis

Declared in <script/keyorigin.h>

struct KeyOriginInfo;

Member Functions

NameDescription
clear Reset the fingerprint to zero and clear the derivation path.

Data Members

NameDescription
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

NameDescription
operator<Order two KeyOriginInfo by fingerprint, then path length, then path.
operator==Compare two KeyOriginInfo for equality.

Non-Member Functions

NameDescription
DeserializeKeyOriginDeserialize a fixed number of bytes from a stream as a KeyOriginInfo.