conf

package
v0.0.0-...-5fbb372 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultChainID = 1
	DefaultDataDIR = "data"
	DefaultKeyDir  = "keydir"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainConfig

type ChainConfig struct {
	ChainId   uint32   `yaml:"chain_id"`
	Datadir   string   `yaml:"datadir"`
	Keydir    string   `yaml:"keydir"`
	Coinbase  string   `yaml:"coinbase"`
	Miner     string   `yaml:"miner"`
	Genesis   string   `yaml:"genesis"`
	Witnesses []string `yaml:"witnesses"`
}

func GetChainConfig

func GetChainConfig(conf *config.Config) *ChainConfig

Jump to

Keyboard shortcuts

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