Versions in this module Expand all Collapse all v0 v0.0.9 Jul 3, 2023 v0.0.8 Jul 3, 2023 v0.0.7 Jul 3, 2023 v0.0.6 May 15, 2023 v0.0.5 Jun 30, 2023 v0.0.4 Jun 29, 2023 v0.0.3 May 15, 2023 v0.0.2 May 12, 2023 v0.0.1 May 11, 2023 Changes in this version + const DefaultDBBackend + const DefaultDirPerm + const DefaultLogLevel + const FuzzModeDelay + const FuzzModeDrop + const LogFormatJSON + const LogFormatPlain + var DefaulttendermintvrfDir = ".tendermintvrf" + func DefaultPackageLogLevels() string + func EnsureRoot(rootDir string) + func WriteConfigFile(configFilePath string, config *Config) + type BaseConfig struct + ABCI string + DBBackend string + DBPath string + FastSyncMode bool + FilterPeers bool + Genesis string + LogFormat string + LogLevel string + LogMaxAge int + LogMaxBackups int + LogMaxSize int + LogPath string + Moniker string + NodeKey string + PrivValidatorKey string + PrivValidatorListenAddr string + PrivValidatorState 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) PrivValidatorKeyFile() string + func (cfg BaseConfig) PrivValidatorStateFile() string + func (cfg BaseConfig) ValidateBasic() error + type Config struct + Consensus *ConsensusConfig + FastSync *FastSyncConfig + Instrumentation *InstrumentationConfig + Mempool *MempoolConfig + P2P *P2PConfig + RPC *RPCConfig + StateSync *StateSyncConfig + 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 + DoubleSignCheckHeight int64 + MaxTxs int64 + 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 int32) time.Duration + func (cfg *ConsensusConfig) Prevote(round int32) time.Duration + func (cfg *ConsensusConfig) Propose(round int32) time.Duration + func (cfg *ConsensusConfig) SetWalFile(walFile string) + func (cfg *ConsensusConfig) ValidateBasic() error + func (cfg *ConsensusConfig) WaitForTxs() bool + func (cfg *ConsensusConfig) WalFile() string + type FastSyncConfig struct + Version string + func DefaultFastSyncConfig() *FastSyncConfig + func TestFastSyncConfig() *FastSyncConfig + func (cfg *FastSyncConfig) ValidateBasic() error + 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 + KeepInvalidTxsInCache bool + MaxBatchBytes int + MaxTxBytes 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 + BlockchainRecvBufSize int + ConsensusRecvBufSize int + DialTimeout time.Duration + EvidenceRecvBufSize int + ExternalAddress string + FlushThrottleTimeout time.Duration + HandshakeTimeout time.Duration + ListenAddress string + MaxNumInboundPeers int + MaxNumOutboundPeers int + MaxPacketMsgPayloadSize int + MempoolRecvBufSize int + PersistentPeers string + PersistentPeersMaxDialPeriod time.Duration + PexReactor bool + PexRecvBufSize int + PrivatePeerIDs string + RecvAsync bool + RecvRate int64 + RootDir string + SeedMode bool + Seeds string + SendRate int64 + StatesyncRecvBufSize int + TestDialFail bool + TestFuzz bool + TestFuzzConfig *FuzzConnConfig + UPNP bool + UnconditionalPeerIDs string + 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 + CloseOnSlowClient bool + GRPCListenAddress string + GRPCMaxOpenConnections int + IdleTimeout time.Duration + ListenAddress string + MaxBodyBytes int64 + MaxHeaderBytes int + MaxOpenConnections int + MaxSubscriptionClients int + MaxSubscriptionsPerClient int + PprofListenAddress string + ReadTimeout time.Duration + RootDir string + SubscriptionBufferSize int + TLSCertFile string + TLSKeyFile string + TimeoutBroadcastTxCommit time.Duration + Unsafe bool + WebSocketWriteBufferSize int + WriteTimeout time.Duration + func DefaultRPCConfig() *RPCConfig + func TestRPCConfig() *RPCConfig + func (cfg *RPCConfig) IsCorsEnabled() bool + func (cfg *RPCConfig) ValidateBasic() error + func (cfg RPCConfig) CertFile() string + func (cfg RPCConfig) IsTLSEnabled() bool + func (cfg RPCConfig) KeyFile() string + type StateSyncConfig struct + ChunkFetchers int32 + ChunkRequestTimeout time.Duration + DiscoveryTime time.Duration + Enable bool + RPCServers []string + TempDir string + TrustHash string + TrustHeight int64 + TrustPeriod time.Duration + func DefaultStateSyncConfig() *StateSyncConfig + func TestStateSyncConfig() *StateSyncConfig + func (cfg *StateSyncConfig) TrustHashBytes() []byte + func (cfg *StateSyncConfig) ValidateBasic() error + type TxIndexConfig struct + Indexer string + PsqlConn string + func DefaultTxIndexConfig() *TxIndexConfig + func TestTxIndexConfig() *TxIndexConfig