Versions in this module Expand all Collapse all v1 v1.0.5 Jan 22, 2020 Changes in this version + const LogFormatJSON + const LogFormatPlain + var DefaultNetworkId = "minter-mainnet-1" + var NetworkId string + func DefaultLogLevel() string + func DefaultPackageLogLevels() string + func EnsureRoot(rootDir string) + func GetTmConfig(cfg *Config) *tmConfig.Config + func WriteConfigFile(configFilePath string, config *Config) + type BaseConfig struct + ABCI string + APIListenAddress string + APISimultaneousRequests int + DBBackend string + DBPath string + FastSync bool + FilterPeers bool + GUIListenAddress string + Genesis string + HaltHeight int + KeepStateHistory bool + LogFormat string + LogLevel string + LogPath string + Moniker string + NodeKey string + PrivValidatorKey string + PrivValidatorListenAddr string + PrivValidatorState string + ProfListenAddress string + ProxyApp string + RootDir string + ValidatorMode bool + func DefaultBaseConfig() BaseConfig + func (cfg BaseConfig) ChainID() string + func (cfg BaseConfig) DBDir() string + func (cfg BaseConfig) GenesisFile() string + func (cfg BaseConfig) NodeKeyFile() string + func (cfg BaseConfig) PrivValidatorKeyFile() string + func (cfg BaseConfig) PrivValidatorStateFile() string + type Config struct + Consensus *tmConfig.ConsensusConfig + Instrumentation *tmConfig.InstrumentationConfig + Mempool *tmConfig.MempoolConfig + P2P *tmConfig.P2PConfig + RPC *tmConfig.RPCConfig + TxIndex *tmConfig.TxIndexConfig + func DefaultConfig() *Config + func GetConfig() *Config + func (cfg *Config) SetRoot(root string) *Config