Bitcoin Core  27.99.0
P2P Digital Currency
Functions
bip32.cpp File Reference
#include <tinyformat.h>
#include <util/bip32.h>
#include <util/strencodings.h>
#include <cstdint>
#include <cstdio>
#include <sstream>
Include dependency graph for bip32.cpp:

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". More...
 
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. More...
 

Function Documentation

◆ FormatHDKeypath()

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

Definition at line 54 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 
)

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 
)

Write HD keypaths as strings.

Definition at line 64 of file bip32.cpp.

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