mock

package
v0.31.6 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 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)) error

func (Mempool) CheckTxWithInfo

func (Mempool) CheckTxWithInfo(_ types.Tx, _ func(*abci.Response),
	_ mempl.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()

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

func (Mempool) Size() int

func (Mempool) TxsAvailable

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

func (Mempool) TxsBytes

func (Mempool) TxsBytes() int64

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