Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveLocalnetConfig ¶
func SaveMainnetConfig ¶
func SaveTestnetConfig ¶
Types ¶
type Config ¶
type Config struct {
State *state.Config `toml:"state"`
Store *store.Config `toml:"store"`
Network *network.Config `toml:"network"`
Sync *sync.Config `toml:"sync"`
TxPool *txpool.Config `toml:"tx_pool"`
Consensus *consensus.Config `toml:"consensus"`
Logger *logger.Config `toml:"logger"`
GRPC *grpc.Config `toml:"grpc"`
HTTP *http.Config `toml:"http"`
Nanomsg *nanomsg.Config `toml:"nanomsg"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
func LoadFromFile ¶
func (*Config) SanityCheck ¶
Click to show internal directories.
Click to hide internal directories.