Versions in this module Expand all Collapse all v1 v1.11.10 Jul 13, 2024 Changes in this version + type Mempool interface + RequestBuildBlock func() + func New(namespace string, registerer prometheus.Registerer, ...) (Mempool, error) + type MockMempool struct + func NewMockMempool(ctrl *gomock.Controller) *MockMempool + func (m *MockMempool) Add(arg0 *txs.Tx) error + func (m *MockMempool) EXPECT() *MockMempoolMockRecorder + func (m *MockMempool) Get(arg0 ids.ID) (*txs.Tx, bool) + func (m *MockMempool) GetDropReason(arg0 ids.ID) error + func (m *MockMempool) Iterate(arg0 func(*txs.Tx) bool) + func (m *MockMempool) Len() int + func (m *MockMempool) MarkDropped(arg0 ids.ID, arg1 error) + func (m *MockMempool) Peek() (*txs.Tx, bool) + func (m *MockMempool) Remove(arg0 ...*txs.Tx) + func (m *MockMempool) RequestBuildBlock() + type MockMempoolMockRecorder struct + func (mr *MockMempoolMockRecorder) Add(arg0 any) *gomock.Call + func (mr *MockMempoolMockRecorder) Get(arg0 any) *gomock.Call + func (mr *MockMempoolMockRecorder) GetDropReason(arg0 any) *gomock.Call + func (mr *MockMempoolMockRecorder) Iterate(arg0 any) *gomock.Call + func (mr *MockMempoolMockRecorder) Len() *gomock.Call + func (mr *MockMempoolMockRecorder) MarkDropped(arg0, arg1 any) *gomock.Call + func (mr *MockMempoolMockRecorder) Peek() *gomock.Call + func (mr *MockMempoolMockRecorder) Remove(arg0 ...any) *gomock.Call + func (mr *MockMempoolMockRecorder) RequestBuildBlock() *gomock.Call