KeyPathElement

A single element of a BIP32 hierarchical deterministic key path.

Synopsis

Declared in <util/bip32.h>

struct KeyPathElement;

Member Functions

NameDescription
ChildNumber Derivation index with the hardened flag applied.

Data Members

NameDescription
index Derivation index, without the hardened flag
is_hardened Whether this element uses hardened derivation

Non-Member Functions

NameDescription
ParseKeyPathElementParse a single key path element like "0", "0'", or "0h". Returns the derivation index and hardened status, or an error message.