Versions in this module Expand all Collapse all v3 v3.3.3 Oct 4, 2022 Changes in this version + var HomePath = "" + func GetAvgBlockTime() time.Duration + func GetConfigFilePath() string + type ChainConfig struct + Bech32Prefix string + Modules []string + func DefaultChainConfig() ChainConfig + func NewChainConfig(bech32Prefix string, modules []string) ChainConfig + func (cfg ChainConfig) IsModuleEnabled(moduleName string) bool + type Config struct + Chain ChainConfig + Database databaseconfig.Config + Logging loggingconfig.Config + Node nodeconfig.Config + Parser parserconfig.Config + var Cfg Config + func DefaultConfig() Config + func DefaultConfigParser(configData []byte) (Config, error) + func NewConfig(nodeCfg nodeconfig.Config, chainCfg ChainConfig, ...) Config + func Read(configPath string, parser Parser) (Config, error) + func (c Config) GetBytes() ([]byte, error) + type Parser = func(fileContents []byte) (Config, error)