config

package
v0.29.4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: Apache-2.0 Imports: 10 Imported by: 12 modules, 37 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type BurrowConfig added in v0.18.0

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 added in v0.18.0

func DefaultBurrowConfig() *BurrowConfig

func (*BurrowConfig) JSONString added in v0.18.0

func (conf *BurrowConfig) JSONString() string

func (*BurrowConfig) TOMLString added in v0.18.0

func (conf *BurrowConfig) TOMLString() string

func (*BurrowConfig) TendermintConfig added in v0.25.0

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

func (*BurrowConfig) Verify added in v0.26.0

func (conf *BurrowConfig) Verify() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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