TestMempoolConfig returns a configuration for testing the Tendermint mempool
()
| 756 | |
| 757 | // TestMempoolConfig returns a configuration for testing the Tendermint mempool |
| 758 | func 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 |
| 765 | func (cfg *MempoolConfig) WalDir() string { |
no test coverage detected