mock

package
v0.0.0-...-fb002f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) CheckTx

func (Mempool) CheckTx(_ types.Tx, _ func(*abci.Response), _ mempool.TxInfo) error

func (Mempool) CloseWAL

func (Mempool) CloseWAL()

func (Mempool) EnableTxsAvailable

func (Mempool) EnableTxsAvailable()

func (Mempool) Flush

func (Mempool) Flush()

func (Mempool) FlushAppConn

func (Mempool) FlushAppConn() error

func (Mempool) InitWAL

func (Mempool) InitWAL() error

func (Mempool) Lock

func (Mempool) Lock()

func (Mempool) ReapMaxBytesMaxGas

func (Mempool) ReapMaxBytesMaxGas(_, _ int64) types.Txs

func (Mempool) ReapMaxTxs

func (Mempool) ReapMaxTxs(n int) types.Txs

func (Mempool) RemoveTxByKey

func (Mempool) RemoveTxByKey(txKey types.TxKey) error

func (Mempool) Size

func (Mempool) Size() int

func (Mempool) SizeBytes

func (Mempool) SizeBytes() int64

func (Mempool) TxsAvailable

func (Mempool) TxsAvailable() <-chan struct{}

func (Mempool) TxsFront

func (Mempool) TxsFront() *clist.CElement

func (Mempool) TxsWaitChan

func (Mempool) TxsWaitChan() <-chan struct{}

func (Mempool) Unlock

func (Mempool) Unlock()

func (Mempool) Update

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL