client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VerboseFlag bool
	HexFlag     bool
	RepeatFlag  int = 1
)
View Source
var (
	ErrArguments      = errors.New("arguments error")
	ErrNotImplemented = errors.New("not implemented yet")
)
View Source
var (
	AddrFlag string
)
View Source
var (
	KeysDBFlag string
)
View Source
var (
	MetaEncodingFlag string
)
View Source
var (
	MetaKey string
)

Functions

func Balance

func Balance(cx *cli.Context) error

func GetByMetaKey

func GetByMetaKey(cx *cli.Context) error

func GetHistory

func GetHistory(cx *cli.Context) error

func GetLastSettings

func GetLastSettings(cx *cli.Context) error

func Keygen

func Keygen(cx *cli.Context) error

func LoadPrivateKey

func LoadPrivateKey(account uint64) (*btcec.PrivateKey, error)

func MetaKeyDecode

func MetaKeyDecode(s string) ([]byte, error)

func PrevHash

func PrevHash(cx *cli.Context) error

func SavePrivateKey

func SavePrivateKey(account uint64, priv *btcec.PrivateKey) error

func SettingsRequestHash

func SettingsRequestHash(s *apipb.SettingsRequest) pt.Hash

func SignTransfer

func SignTransfer(req *apipb.TransferRequest) error

func Transfer

func Transfer(cx *cli.Context) error

func TransferRequestHash

func TransferRequestHash(t *apipb.TransferRequest) pt.Hash

func UpdateDataHash

func UpdateDataHash(cx *cli.Context) error

func UpdateVerifyTransferSign

func UpdateVerifyTransferSign(cx *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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