![]() |
Bitcoin Core 32.1.0
P2P Digital Currency
|
#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.
Functions | |
| util::Expected< KeyPathElement, std::string > | ParseKeyPathElement (std::span< const char > elem) |
| Parse a single key path element like "0", "0'", or "0h". | |
| bool | ParseHDKeypath (const std::string &keypath_str, std::vector< uint32_t > &keypath) |
| Parse an HD keypaths like "m/7/0'/2000". | |
| std::string | FormatHDKeypath (const std::vector< uint32_t > &path, bool apostrophe) |
| std::string | WriteHDKeypath (const std::vector< uint32_t > &keypath, bool apostrophe) |
| Write HD keypaths as strings. | |
| bool | HasHardenedDerivation (std::span< const uint32_t > keypath) |
| Whether a parsed HD keypath contains at least one hardened derivation step. | |
| std::string FormatHDKeypath | ( | const std::vector< uint32_t > & | path, |
| bool | apostrophe ) |
| bool HasHardenedDerivation | ( | std::span< const uint32_t > | keypath | ) |
|
nodiscard |
| util::Expected< KeyPathElement, std::string > ParseKeyPathElement | ( | std::span< const char > | elem | ) |