Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingDerivationPath = fmt.Errorf("missing derivation path") ErrInvalidRootPathLen = fmt.Errorf(`invalid root path length, must be in the form m/purpose'/coin_type'`) ErrInvalidRootPath = fmt.Errorf("root path must contain only hardended values") ErrRequiredAbsoluteDerivationPath = fmt.Errorf("path must be an absolute derivation starting with 'm/'") ErrMalformedDerivationPath = fmt.Errorf("path must not start or end with a '/'") )
Functions ¶
This section is empty.
Types ¶
type DerivationPath ¶
type DerivationPath []uint32
DerivationPath is the data structure representing an HD path.
func ParseDerivationPath ¶
func ParseDerivationPath(strPath string) (DerivationPath, error)
ParseDerivationPath converts a derivation path in string format to a DerivationPath type.
func ParseRootDerivationPath ¶
func ParseRootDerivationPath(strPath string) (DerivationPath, error)
func (DerivationPath) String ¶
func (path DerivationPath) String() string
Click to show internal directories.
Click to hide internal directories.