Versions in this module Expand all Collapse all v0 v0.0.2 May 13, 2020 v0.0.1 May 13, 2020 Changes in this version + var DefaultTendermintDir = ".tendermint" + func DefaultLogLevel() string + func DefaultPackageLogLevels() string + func EnsureRoot(rootDir string) + func WriteConfigFile(configFilePath string, config *Config) + type BaseConfig struct + ABCI string + DBBackend string + DBPath string + FastSync bool + FilterPeers bool + Genesis string + LogFile string + LogLevel string + LogPath string + Moniker string + NodeKey string + Persist string + PrivValidator string + PrivValidatorListenAddr string + ProfListenAddress string + ProxyApp []string + RootDir string + Validators string + func DefaultBaseConfig() BaseConfig + func TestBaseConfig() BaseConfig + func (cfg BaseConfig) ChainID() string + func (cfg BaseConfig) ConfigFilePath() string + func (cfg BaseConfig) DBDir() string + func (cfg BaseConfig) GenesisFile() string + func (cfg BaseConfig) LogDir() string + func (cfg BaseConfig) NodeKeyFile() string + func (cfg BaseConfig) PrivValidatorFile() string + func (cfg BaseConfig) ValidatorsFile() string + type Config struct + Consensus *ConsensusConfig + Mempool *MempoolConfig + P2P *P2PConfig + RPC *RPCConfig + TxIndex *TxIndexConfig + func DefaultConfig() *Config + func ResetTestRoot(testName string) *Config + func TestConfig() *Config + func (cfg *Config) SetRoot(root string) *Config + type ConsensusConfig struct + CreateEmptyBlocks bool + CreateEmptyBlocksInterval int + MaxBlockSizeBytes int + MaxBlockSizeTxs int + PeerGossipSleepDuration int + PeerQueryMaj23SleepDuration int + RootDir string + SkipTimeoutCommit bool + TimeoutCommit int + TimeoutPrecommit int + TimeoutPrecommitDelta int + TimeoutPrevote int + TimeoutPrevoteDelta int + TimeoutPropose int + TimeoutProposeDelta int + WalPath string + func DefaultConsensusConfig() *ConsensusConfig + func TestConsensusConfig() *ConsensusConfig + func (cfg *ConsensusConfig) Commit(t time.Time) time.Time + func (cfg *ConsensusConfig) EmptyBlocksInterval() time.Duration + func (cfg *ConsensusConfig) PeerGossipSleep() time.Duration + func (cfg *ConsensusConfig) PeerQueryMaj23Sleep() time.Duration + func (cfg *ConsensusConfig) Precommit(round int) time.Duration + func (cfg *ConsensusConfig) Prevote(round int) time.Duration + func (cfg *ConsensusConfig) Propose(round int) time.Duration + func (cfg *ConsensusConfig) SetWalFile(walFile string) + func (cfg *ConsensusConfig) WaitForTxs() bool + func (cfg *ConsensusConfig) WalFile() string + type MempoolConfig struct + Broadcast bool + CTxCacheTime int64 + CacheSize int + ForceGenerateBlockSwitch bool + Recheck bool + RecheckEmpty bool + RootDir string + WalPath string + func DefaultMempoolConfig() *MempoolConfig + func TestMempoolConfig() *MempoolConfig + func (cfg *MempoolConfig) WalDir() string + type P2PConfig struct + AAddress string + AddrBook string + AddrBookStrict bool + AuthEnc bool + FlushThrottleTimeout int + ListenAddress string + MaxNumPeers int + MaxPacketMsgPayloadSize int + PersistentPeers string + PexReactor bool + PrivatePeerIDs string + RecvRate int64 + RootDir string + SeedMode bool + Seeds string + SendRate int64 + SkipUPNP bool + func DefaultP2PConfig() *P2PConfig + func TestP2PConfig() *P2PConfig + func (cfg *P2PConfig) AddrBookFile() string + type RPCConfig struct + CertFile string + GRPCListenAddress string + KeyFile string + ListenAddress string + RootDir string + Unsafe bool + func DefaultRPCConfig() *RPCConfig + func TestRPCConfig() *RPCConfig + type TxIndexConfig struct + IndexAllTags bool + IndexTags string + Indexer string + func DefaultTxIndexConfig() *TxIndexConfig + func TestTxIndexConfig() *TxIndexConfig