Documentation ¶
Overview ¶
Package mempoolmock is a generated GoMock package.
Index ¶
- type Mempool
- func (m *Mempool) Add(arg0 *txs.Tx) error
- func (m *Mempool) EXPECT() *MempoolMockRecorder
- func (m *Mempool) Get(arg0 ids.ID) (*txs.Tx, bool)
- func (m *Mempool) GetDropReason(arg0 ids.ID) error
- func (m *Mempool) Iterate(arg0 func(*txs.Tx) bool)
- func (m *Mempool) Len() int
- func (m *Mempool) MarkDropped(arg0 ids.ID, arg1 error)
- func (m *Mempool) Peek() (*txs.Tx, bool)
- func (m *Mempool) Remove(arg0 ...*txs.Tx)
- func (m *Mempool) RequestBuildBlock()
- type MempoolMockRecorder
- func (mr *MempoolMockRecorder) Add(arg0 any) *gomock.Call
- func (mr *MempoolMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MempoolMockRecorder) GetDropReason(arg0 any) *gomock.Call
- func (mr *MempoolMockRecorder) Iterate(arg0 any) *gomock.Call
- func (mr *MempoolMockRecorder) Len() *gomock.Call
- func (mr *MempoolMockRecorder) MarkDropped(arg0, arg1 any) *gomock.Call
- func (mr *MempoolMockRecorder) Peek() *gomock.Call
- func (mr *MempoolMockRecorder) Remove(arg0 ...any) *gomock.Call
- func (mr *MempoolMockRecorder) RequestBuildBlock() *gomock.Call
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) EXPECT ¶
func (m *Mempool) EXPECT() *MempoolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mempool) GetDropReason ¶
GetDropReason mocks base method.
func (*Mempool) MarkDropped ¶
MarkDropped 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.