burrow: github.com/hyperledger/burrow/config/deployment Index | Files

package deployment

import "github.com/hyperledger/burrow/config/deployment"

Index

Package Files

config.go

Constants

const DefaultKeysExportFormat = "" /* 146 byte string literal not displayed */

Variables

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

type Config Uses

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

func (*Config) Dump Uses

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

Dump a configuration to a template

type Key Uses

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

func (*Key) Dump Uses

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

Dump a key file to a template

type Validator Uses

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

Package deployment imports 11 packages (graph) and is imported by 4 packages. Updated 2019-06-21. Refresh now. Tools for package owners.