Documentation ¶
Index ¶
- type Mempool
- func (Mempool) CheckTx(_ context.Context, _ types.Tx, _ func(*abci.Response), _ mempl.TxInfo) error
- func (Mempool) CloseWAL()
- func (Mempool) EnableTxsAvailable()
- func (Mempool) Flush()
- func (Mempool) FlushAppConn() error
- func (Mempool) InitWAL() error
- func (Mempool) Lock()
- func (Mempool) ReapMaxBytesMaxGas(_, _ int64) types.Txs
- func (Mempool) ReapMaxTxs(n int) types.Txs
- func (Mempool) Size() int
- func (Mempool) SizeBytes() int64
- func (Mempool) TxsAvailable() <-chan struct{}
- func (Mempool) TxsFront() *clist.CElement
- func (Mempool) TxsWaitChan() <-chan struct{}
- func (Mempool) Unlock()
- func (Mempool) Update(_ int64, _ types.Txs, _ []*abci.ResponseDeliverTx, _ mempl.PreCheckFunc, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mempool ¶
type Mempool struct{}
Mempool is an empty implementation of a Mempool, useful for testing.
func (Mempool) EnableTxsAvailable ¶
func (Mempool) EnableTxsAvailable()
func (Mempool) FlushAppConn ¶
func (Mempool) TxsAvailable ¶
func (Mempool) TxsAvailable() <-chan struct{}
func (Mempool) TxsWaitChan ¶
func (Mempool) TxsWaitChan() <-chan struct{}
func (Mempool) Update ¶
func (Mempool) Update( _ int64, _ types.Txs, _ []*abci.ResponseDeliverTx, _ mempl.PreCheckFunc, _ mempl.PostCheckFunc, ) error
Click to show internal directories.
Click to hide internal directories.