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

package deployment

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


Package Files



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


var DefaultKeyExportTemplate = template.Must(template.New("KeysExport").

type Config Uses

type Config struct {
    Keys       map[crypto.Address]Key
    Validators []Validator

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.