mempool

package
v0.0.0-...-8edd000 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ThresholdMempool

type ThresholdMempool struct {
	// contains filtered or unexported fields
}

func NewThresholdMempool

func NewThresholdMempool(logger log.Logger) *ThresholdMempool

func (*ThresholdMempool) CountTx

func (t *ThresholdMempool) CountTx() int

func (*ThresholdMempool) Insert

func (t *ThresholdMempool) Insert(ctx context.Context, tx sdk.Tx) error

func (*ThresholdMempool) Remove

func (t *ThresholdMempool) Remove(tx sdk.Tx) error

func (*ThresholdMempool) Select

func (t *ThresholdMempool) Select(ctx context.Context, i [][]byte) mempool.Iterator

func (*ThresholdMempool) SelectPending

func (t *ThresholdMempool) SelectPending(ctx context.Context, i [][]byte) mempool.Iterator

func (*ThresholdMempool) Update

func (t *ThresholdMempool) Update(ctx context.Context, tx sdk.Tx) error

Jump to

Keyboard shortcuts

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