deployment

package
v0.34.4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultKeysExportFormat = `` /* 144-byte string literal not displayed */

Variables

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

Functions

This section is empty.

Types

type Config

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

func (*Config) Dump

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

Dump a configuration to a template

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(templateData string) (string, error)

Dump a key file to a template

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