mock

package
v0.34.21 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 added in v0.34.20

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

func (Mempool) Size

func (Mempool) Size() int

func (Mempool) SizeBytes added in v0.34.20

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