Bitcoin
Functions
bip32.h File Reference
#include <attributes.h>
#include <string>
#include <vector>

Go to the source code of this file.

Functions

NODISCARD bool ParseHDKeypath (const std::string &keypath_str, std::vector< uint32_t > &keypath)
 
std::string WriteHDKeypath (const std::vector< uint32_t > &keypath)
 
std::string FormatHDKeypath (const std::vector< uint32_t > &path)
 

Function Documentation

◆ FormatHDKeypath()

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

◆ ParseHDKeypath()

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

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

◆ WriteHDKeypath()

std::string WriteHDKeypath ( const std::vector< uint32_t > &  keypath)

Write HD keypaths as strings