Versions in this module Expand all Collapse all v0 v0.0.3 Sep 6, 2022 v0.0.2 Sep 6, 2022 Changes in this version + type CListMempool struct + func NewCListMempool(cfg *config.MempoolConfig, proxyAppConn proxy.AppConnMempool, height int64, ...) *CListMempool + func (mem *CListMempool) CheckTx(tx types.Tx, cb func(*abci.Response), txInfo mempool.TxInfo) error + func (mem *CListMempool) EnableTxsAvailable() + func (mem *CListMempool) Flush() + func (mem *CListMempool) FlushAppConn() error + func (mem *CListMempool) Lock() + func (mem *CListMempool) ReapMaxBytesMaxGas(maxBytes, maxGas int64) types.Txs + func (mem *CListMempool) ReapMaxTxs(max int) types.Txs + func (mem *CListMempool) RemoveTxByKey(txKey types.TxKey) error + func (mem *CListMempool) SetLogger(l log.Logger) + func (mem *CListMempool) Size() int + func (mem *CListMempool) SizeBytes() int64 + func (mem *CListMempool) TxsAvailable() <-chan struct{} + func (mem *CListMempool) TxsFront() *clist.CElement + func (mem *CListMempool) TxsWaitChan() <-chan struct{} + func (mem *CListMempool) Unlock() + func (mem *CListMempool) Update(height int64, txs types.Txs, deliverTxResponses []*abci.ResponseDeliverTx, ...) error + type CListMempoolOption func(*CListMempool) + func WithMetrics(metrics *mempool.Metrics) CListMempoolOption + func WithPostCheck(f mempool.PostCheckFunc) CListMempoolOption + func WithPreCheck(f mempool.PreCheckFunc) CListMempoolOption + type PeerState interface + GetHeight func() int64 + type Reactor struct + func NewReactor(config *cfg.MempoolConfig, mempool *CListMempool) *Reactor + func (memR *Reactor) AddPeer(peer p2p.Peer) + func (memR *Reactor) GetChannels() []*p2p.ChannelDescriptor + func (memR *Reactor) InitPeer(peer p2p.Peer) p2p.Peer + func (memR *Reactor) OnStart() error + func (memR *Reactor) Receive(chID byte, src p2p.Peer, msgBytes []byte) + func (memR *Reactor) RemovePeer(peer p2p.Peer, reason interface{}) + func (memR *Reactor) SetLogger(l log.Logger) + type TxsMessage struct + Txs []types.Tx + func (m *TxsMessage) String() string