config

package
v0.0.0-...-2935fa7 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultBurrowConfigEnvironmentVariable = "HSC_CONFIG_JSON"
View Source
const DefaultBurrowConfigTOMLFileName = "hsc.toml"
View Source
const DefaultGenesisDocJSONFileName = "genesis.json"

Variables

This section is empty.

Functions

This section is empty.

Types

type BurrowConfig

type BurrowConfig struct {
	// Set on startup
	ValidatorAddress *crypto.Address `json:",omitempty" toml:",omitempty"`
	Passphrase       *string         `json:",omitempty" toml:",omitempty"`
	// From config file
	HscDir     string
	GenesisDoc *genesis.GenesisDoc        `json:",omitempty" toml:",omitempty"`
	Tendermint *tendermint.BurrowConfig   `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

func DefaultBurrowConfig() *BurrowConfig

func (*BurrowConfig) JSONString

func (conf *BurrowConfig) JSONString() string

func (*BurrowConfig) TOMLString

func (conf *BurrowConfig) TOMLString() string

func (*BurrowConfig) TendermintConfig

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

func (*BurrowConfig) Verify

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