deployment

package
v0.26.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DefaultKeysExportFormat = `` /* 144-byte string literal not displayed */
View Source
const LeftTemplateDelim = "<<"
View Source
const RightTemplateDelim = ">>"

Variables

View Source
var DefaultKeyExportTemplate = template.Must(template.New("KeysExport").Funcs(templateFuncs).
	Delims(LeftTemplateDelim, RightTemplateDelim).
	Parse(DefaultKeysExportFormat))

Functions

This section is empty.

Types

type Config

type Config struct {
	Keys       map[crypto.Address]Key
	Validators []Validator
	Config     *genesis.GenesisDoc
}

func (*Config) Dump

func (pkg *Config) Dump(templateName, templateString string) (string, error)

type Key

type Key struct {
	Name       string
	Address    crypto.Address
	CurveType  string
	PublicKey  []byte
	PrivateKey []byte
	KeyJSON    json.RawMessage
}

func (*Key) Dump

func (key *Key) Dump(templateString string) (string, error)

type Validator

type Validator struct {
	Name        string
	Address     crypto.Address
	NodeAddress crypto.Address
}

Jump to

Keyboard shortcuts

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