mempoolmock

package
v1.11.12-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package mempoolmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mempool

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

Mempool is a mock of Mempool interface.

func NewMempool

func NewMempool(ctrl *gomock.Controller) *Mempool

NewMempool creates a new mock instance.

func (*Mempool) Add

func (m *Mempool) Add(arg0 *txs.Tx) error

Add mocks base method.

func (*Mempool) EXPECT

func (m *Mempool) EXPECT() *MempoolMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Mempool) Get

func (m *Mempool) Get(arg0 ids.ID) (*txs.Tx, bool)

Get mocks base method.

func (*Mempool) GetDropReason

func (m *Mempool) GetDropReason(arg0 ids.ID) error

GetDropReason mocks base method.

func (*Mempool) Iterate

func (m *Mempool) Iterate(arg0 func(*txs.Tx) bool)

Iterate mocks base method.

func (*Mempool) Len

func (m *Mempool) Len() int

Len mocks base method.

func (*Mempool) MarkDropped

func (m *Mempool) MarkDropped(arg0 ids.ID, arg1 error)

MarkDropped mocks base method.

func (*Mempool) Peek

func (m *Mempool) Peek() (*txs.Tx, bool)

Peek mocks base method.

func (*Mempool) Remove

func (m *Mempool) Remove(arg0 ...*txs.Tx)

Remove mocks base method.

func (*Mempool) RequestBuildBlock

func (m *Mempool) RequestBuildBlock()

RequestBuildBlock mocks base method.

type MempoolMockRecorder

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

MempoolMockRecorder is the mock recorder for Mempool.

func (*MempoolMockRecorder) Add

func (mr *MempoolMockRecorder) Add(arg0 any) *gomock.Call

Add indicates an expected call of Add.

func (*MempoolMockRecorder) Get

func (mr *MempoolMockRecorder) Get(arg0 any) *gomock.Call

Get indicates an expected call of Get.

func (*MempoolMockRecorder) GetDropReason

func (mr *MempoolMockRecorder) GetDropReason(arg0 any) *gomock.Call

GetDropReason indicates an expected call of GetDropReason.

func (*MempoolMockRecorder) Iterate

func (mr *MempoolMockRecorder) Iterate(arg0 any) *gomock.Call

Iterate indicates an expected call of Iterate.

func (*MempoolMockRecorder) Len

func (mr *MempoolMockRecorder) Len() *gomock.Call

Len indicates an expected call of Len.

func (*MempoolMockRecorder) MarkDropped

func (mr *MempoolMockRecorder) MarkDropped(arg0, arg1 any) *gomock.Call

MarkDropped indicates an expected call of MarkDropped.

func (*MempoolMockRecorder) Peek

func (mr *MempoolMockRecorder) Peek() *gomock.Call

Peek indicates an expected call of Peek.

func (*MempoolMockRecorder) Remove

func (mr *MempoolMockRecorder) Remove(arg0 ...any) *gomock.Call

Remove indicates an expected call of Remove.

func (*MempoolMockRecorder) RequestBuildBlock

func (mr *MempoolMockRecorder) RequestBuildBlock() *gomock.Call

RequestBuildBlock indicates an expected call of RequestBuildBlock.

Jump to

Keyboard shortcuts

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