cmd

package
v0.5.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately.

Types

type AddressKey

type AddressKey struct {
	EncodedAddr string
	PriKey      keypair.PrivateKey
}

AddressKey contains the encoded address and private key of an account

type KeyPair

type KeyPair struct {
	PK string `yaml:"pubKey"`
	SK string `yaml:"priKey"`
}

KeyPair contains the public and private key of an address

type KeyPairs

type KeyPairs struct {
	Pairs []KeyPair `yaml:"pkPairs"`
}

KeyPairs indicate the keypair of accounts getting transfers from Creator in genesis block

Jump to

Keyboard shortcuts

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