Parse an HD keypaths like "m/7/0'/2000".

Synopsis

Declared in <util/bip32.h>

[[nodiscard]]
bool
ParseHDKeypath(
    std::string const& keypath_str,
    std::vector<uint32_t>& keypath);

Return Value

true if the key path was parsed successfully.

Note

The return value should not be discarded.

Parameters

Name

Description

keypath_str

The textual key path to parse.

keypath

Output vector filled with the parsed derivation indices.

Created with MrDocs