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
Click to show internal directories.
Click to hide internal directories.