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

package config

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

Index

Package Files

config.go

Constants

const DefaultBurrowConfigEnvironmentVariable = "BURROW_CONFIG_JSON"
const DefaultBurrowConfigTOMLFileName = "burrow.toml"
const DefaultGenesisDocJSONFileName = "genesis.json"

type BurrowConfig Uses

type BurrowConfig struct {
    // Set on startup
    ValidatorAddress *crypto.Address `json:",omitempty" toml:",omitempty"`
    Passphrase       *string         `json:",omitempty" toml:",omitempty"`
    // From config file
    BurrowDir  string
    GenesisDoc *genesis.GenesisDoc                `json:",omitempty" toml:",omitempty"`
    Tendermint *tendermint.BurrowTendermintConfig `json:",omitempty" toml:",omitempty"`
    Execution  *execution.ExecutionConfig         `json:",omitempty" toml:",omitempty"`
    Keys       *keys.KeysConfig                   `json:",omitempty" toml:",omitempty"`
    RPC        *rpc.RPCConfig                     `json:",omitempty" toml:",omitempty"`
    Logging    *logconfig.LoggingConfig           `json:",omitempty" toml:",omitempty"`
}

func DefaultBurrowConfig Uses

func DefaultBurrowConfig() *BurrowConfig

func (*BurrowConfig) JSONString Uses

func (conf *BurrowConfig) JSONString() string

func (*BurrowConfig) TOMLString Uses

func (conf *BurrowConfig) TOMLString() string

func (*BurrowConfig) TendermintConfig Uses

func (conf *BurrowConfig) TendermintConfig() (*tmConfig.Config, error)

func (*BurrowConfig) Verify Uses

func (conf *BurrowConfig) Verify() error

Directories

PathSynopsis
deployment
source

Package config imports 10 packages (graph) and is imported by 41 packages. Updated 2019-10-07. Refresh now. Tools for package owners.