MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / TestMempoolConfig

Function TestMempoolConfig

config/config.go:758–762  ·  view source on GitHub ↗

TestMempoolConfig returns a configuration for testing the Tendermint mempool

()

Source from the content-addressed store, hash-verified

756
757// TestMempoolConfig returns a configuration for testing the Tendermint mempool
758func TestMempoolConfig() *MempoolConfig {
759 cfg := DefaultMempoolConfig()
760 cfg.CacheSize = 1000
761 return cfg
762}
763
764// WalDir returns the full path to the mempool's write-ahead log
765func (cfg *MempoolConfig) WalDir() string {

Callers 2

TestConfigFunction · 0.85

Calls 1

DefaultMempoolConfigFunction · 0.85

Tested by

no test coverage detected