Versions in this module Expand all Collapse all v0 v0.0.1 Mar 19, 2019 v0.0.0 Mar 19, 2019 Changes in this version + const DefaultDirPerm + const FuzzModeDelay + const FuzzModeDrop + const LogFormatJSON + const LogFormatPlain + 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 + LogFormat string + LogLevel string + Moniker string + NodeKey string + PrivValidatorKey string + PrivValidatorListenAddr string + PrivValidatorState string + ProfListenAddress string + ProxyApp string + RootDir string + func DefaultBaseConfig() BaseConfig + func TestBaseConfig() BaseConfig + func (cfg BaseConfig) ChainID() string + func (cfg BaseConfig) DBDir() string + func (cfg BaseConfig) GenesisFile() string + func (cfg BaseConfig) NodeKeyFile() string + func (cfg BaseConfig) OldPrivValidatorFile() string + func (cfg BaseConfig) PrivValidatorKeyFile() string + func (cfg BaseConfig) PrivValidatorStateFile() string + func (cfg BaseConfig) ValidateBasic() error + type Config struct + Consensus *ConsensusConfig + Instrumentation *InstrumentationConfig + Mempool *MempoolConfig + P2P *P2PConfig + RPC *RPCConfig + TxIndex *TxIndexConfig + func DefaultConfig() *Config + func ResetTestRoot(testName string) *Config + func ResetTestRootWithChainID(testName string, chainID string) *Config + func TestConfig() *Config + func (cfg *Config) SetRoot(root string) *Config + func (cfg *Config) ValidateBasic() error + type ConsensusConfig struct + CreateEmptyBlocks bool + CreateEmptyBlocksInterval time.Duration + PeerGossipSleepDuration time.Duration + PeerQueryMaj23SleepDuration time.Duration + RootDir string + SkipTimeoutCommit bool + TimeoutCommit time.Duration + TimeoutPrecommit time.Duration + TimeoutPrecommitDelta time.Duration + TimeoutPrevote time.Duration + TimeoutPrevoteDelta time.Duration + TimeoutPropose time.Duration + TimeoutProposeDelta time.Duration + WalPath string + func DefaultConsensusConfig() *ConsensusConfig + func TestConsensusConfig() *ConsensusConfig + func (cfg *ConsensusConfig) Commit(t time.Time) time.Time + 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) ValidateBasic() error + func (cfg *ConsensusConfig) WaitForTxs() bool + func (cfg *ConsensusConfig) WalFile() string + type FuzzConnConfig struct + MaxDelay time.Duration + Mode int + ProbDropConn float64 + ProbDropRW float64 + ProbSleep float64 + func DefaultFuzzConnConfig() *FuzzConnConfig + type InstrumentationConfig struct + MaxOpenConnections int + Namespace string + Prometheus bool + PrometheusListenAddr string + func DefaultInstrumentationConfig() *InstrumentationConfig + func TestInstrumentationConfig() *InstrumentationConfig + func (cfg *InstrumentationConfig) ValidateBasic() error + type MempoolConfig struct + Broadcast bool + CacheSize int + MaxTxsBytes int64 + Recheck bool + RootDir string + Size int + WalPath string + func DefaultMempoolConfig() *MempoolConfig + func TestMempoolConfig() *MempoolConfig + func (cfg *MempoolConfig) ValidateBasic() error + func (cfg *MempoolConfig) WalDir() string + func (cfg *MempoolConfig) WalEnabled() bool + type P2PConfig struct + AddrBook string + AddrBookStrict bool + AllowDuplicateIP bool + DialTimeout time.Duration + ExternalAddress string + FlushThrottleTimeout time.Duration + HandshakeTimeout time.Duration + ListenAddress string + MaxNumInboundPeers int + MaxNumOutboundPeers int + MaxPacketMsgPayloadSize int + PersistentPeers string + PexReactor bool + PrivatePeerIDs string + RecvRate int64 + RootDir string + SeedMode bool + Seeds string + SendRate int64 + TestDialFail bool + TestFuzz bool + TestFuzzConfig *FuzzConnConfig + UPNP bool + func DefaultP2PConfig() *P2PConfig + func TestP2PConfig() *P2PConfig + func (cfg *P2PConfig) AddrBookFile() string + func (cfg *P2PConfig) ValidateBasic() error + type RPCConfig struct + CORSAllowedHeaders []string + CORSAllowedMethods []string + CORSAllowedOrigins []string + GRPCListenAddress string + GRPCMaxOpenConnections int + ListenAddress string + MaxOpenConnections int + MaxSubscriptionClients int + MaxSubscriptionsPerClient int + RootDir string + TimeoutBroadcastTxCommit time.Duration + Unsafe bool + func DefaultRPCConfig() *RPCConfig + func TestRPCConfig() *RPCConfig + func (cfg *RPCConfig) IsCorsEnabled() bool + func (cfg *RPCConfig) ValidateBasic() error + type TxIndexConfig struct + IndexAllTags bool + IndexTags string + Indexer string + func DefaultTxIndexConfig() *TxIndexConfig + func TestTxIndexConfig() *TxIndexConfig