cosmos-sdk/server/v2/cometbft/mempool/config.go
2024-05-31 00:30:15 +00:00

12 lines
443 B
Go

package mempool
// Config defines the configurations for the SDK built-in app-side mempool
// implementations.
type Config struct {
// MaxTxs defines the behavior of the mempool. A negative value indicates
// the mempool is disabled entirely, zero indicates that the mempool is
// unbounded in how many txs it may contain, and a positive value indicates
// the maximum amount of txs it may contain.
MaxTxs int `mapstructure:"max-txs"`
}