Versions in this module Expand all Collapse all v0 v0.48.86 Oct 24, 2023 v0.48.84 Oct 24, 2023 Changes in this version + var DefaultMaxTx = 0 + var ErrMempoolTxMaxCapacity = errors.New("pool reached max tx capacity") + var ErrTxNotFound = errors.New("tx not found in mempool") + func IsEmpty(mempool Mempool) error + type Iterator interface + Next func() Iterator + Tx func() sdk.Tx + type Mempool interface + CountTx func() int + Insert func(context.Context, sdk.Tx) error + Remove func(sdk.Tx) error + Select func(context.Context, [][]byte) Iterator + func DefaultPriorityMempool() Mempool + func NewPriorityMempool(opts ...PriorityNonceMempoolOption) Mempool + func NewSenderNonceMempool(opts ...SenderNonceOptions) Mempool + type NoOpMempool struct + func (NoOpMempool) CountTx() int + func (NoOpMempool) Insert(context.Context, sdk.Tx) error + func (NoOpMempool) Remove(sdk.Tx) error + func (NoOpMempool) Select(context.Context, [][]byte) Iterator + type PriorityNonceMempoolOption func(*priorityNonceMempool) + func PriorityNonceWithMaxTx(maxTx int) PriorityNonceMempoolOption + func PriorityNonceWithOnRead(onRead func(tx sdk.Tx)) PriorityNonceMempoolOption + type SenderNonceOptions func(mp *senderNonceMempool) + func SenderNonceMaxTxOpt(maxTx int) SenderNonceOptions + func SenderNonceSeedOpt(seed int64) SenderNonceOptions