internal

package
v0.0.0-...-2f646e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadChecksum = errors.New("bad extended key checksum")
)

Functions

This section is empty.

Types

type WireFmt

type WireFmt struct {
	Version   [4]byte
	Depth     byte
	ParentFP  [sign.FingerprintLen]byte
	ChildNum  [4]byte
	ChainCode [32]byte
	KeyData   [33]byte
}

WireFmt is an utility struct for turning ExtendedKeys into byte slices

func (*WireFmt) MarshalBinary

func (w *WireFmt) MarshalBinary() (bs []byte, err error)

func (*WireFmt) UnmarshalBinary

func (w *WireFmt) UnmarshalBinary(bs []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL