#include <util/bip32.h>
#include <tinyformat.h>
#include <util/strencodings.h>
#include <algorithm>
#include <cstdint>
#include <optional>
#include <span>
#include <sstream>
#include <string_view>
Go to the source code of this file.
◆ FormatHDKeypath()
| std::string FormatHDKeypath |
( |
const std::vector< uint32_t > & |
path, |
|
|
bool |
apostrophe |
|
) |
| |
◆ HasHardenedDerivation()
| bool HasHardenedDerivation |
( |
std::span< const uint32_t > |
keypath | ) |
|
Whether a parsed HD keypath contains at least one hardened derivation step.
Definition at line 77 of file bip32.cpp.
◆ ParseHDKeypath()
| bool ParseHDKeypath |
( |
const std::string & |
keypath_str, |
|
|
std::vector< uint32_t > & |
keypath |
|
) |
| |
Parse an HD keypaths like "m/7/0'/2000".
Definition at line 41 of file bip32.cpp.
◆ ParseKeyPathElement()
Parse a single key path element like "0", "0'", or "0h".
Returns the derivation index and hardened status, or an error message.
Definition at line 17 of file bip32.cpp.
◆ WriteHDKeypath()
| std::string WriteHDKeypath |
( |
const std::vector< uint32_t > & |
keypath, |
|
|
bool |
apostrophe |
|
) |
| |
Write HD keypaths as strings.
Definition at line 72 of file bip32.cpp.