Format an HD keypath as a string, prefixed with the master key marker "m".

Synopsis

Declared in <util/bip32.h>

std::string
FormatHDKeypath(
    std::vector<uint32_t> const& path,
    bool apostrophe = false);

Return Value

The key path formatted as a string.

Parameters

Name

Description

path

The derivation indices to format.

apostrophe

Use an apostrophe rather than 'h' to mark hardened steps.

Created with MrDocs