wallet

package
v0.0.0-...-163fc3c Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DBDirName = "keystore"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PoCWallet

type PoCWallet struct {
	*keystore.KeystoreManagerForPoC
	// contains filtered or unexported fields
}

func NewPoCWallet

func NewPoCWallet(cfg *PoCWalletConfig, password []byte) (*PoCWallet, error)

func OpenPocWallet

func OpenPocWallet(cfg *PoCWalletConfig, password []byte) (*PoCWallet, error)

func (*PoCWallet) Close

func (wallet *PoCWallet) Close() error

type PoCWalletConfig

type PoCWalletConfig struct {
	// contains filtered or unexported fields
}

func NewPocWalletConfig

func NewPocWalletConfig(root string, dbType string) *PoCWalletConfig

func (*PoCWalletConfig) DBPath

func (c *PoCWalletConfig) DBPath() string

func (PoCWalletConfig) DBType

func (c PoCWalletConfig) DBType() string

Directories

Path Synopsis
db
ldb
hdkeychain
Package hdkeychain provides an API for bitcoin hierarchical deterministic extended keys (BIP0032).
Package hdkeychain provides an API for bitcoin hierarchical deterministic extended keys (BIP0032).
zero
Package zero contains functions to clear data from byte slices and multi-precision integers.
Package zero contains functions to clear data from byte slices and multi-precision integers.

Jump to

Keyboard shortcuts

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