Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
bip32.h File Reference
#include <cstdint>
#include <string>
#include <vector>
Include dependency graph for bip32.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool ParseHDKeypath (const std::string &keypath_str, std::vector< uint32_t > &keypath)
 Parse an HD keypaths like "m/7/0'/2000".
std::string WriteHDKeypath (const std::vector< uint32_t > &keypath, bool apostrophe=false)
 Write HD keypaths as strings.
std::string FormatHDKeypath (const std::vector< uint32_t > &path, bool apostrophe=false)

Function Documentation

◆ FormatHDKeypath()

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

Definition at line 51 of file bip32.cpp.

Here is the caller graph for this function:

◆ ParseHDKeypath()

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

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

Definition at line 13 of file bip32.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteHDKeypath()

std::string WriteHDKeypath ( const std::vector< uint32_t > & keypath,
bool apostrophe = false )

Write HD keypaths as strings.

Definition at line 61 of file bip32.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: