mock_blockindex

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_blockindex is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBloomFilterIndexer

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

MockBloomFilterIndexer is a mock of BloomFilterIndexer interface.

func NewMockBloomFilterIndexer

func NewMockBloomFilterIndexer(ctrl *gomock.Controller) *MockBloomFilterIndexer

NewMockBloomFilterIndexer creates a new mock instance.

func (*MockBloomFilterIndexer) BlockFilterByHeight

func (m *MockBloomFilterIndexer) BlockFilterByHeight(arg0 uint64) (bloom.BloomFilter, error)

BlockFilterByHeight mocks base method.

func (*MockBloomFilterIndexer) DeleteTipBlock

func (m *MockBloomFilterIndexer) DeleteTipBlock(arg0 context.Context, arg1 *block.Block) error

DeleteTipBlock mocks base method.

func (*MockBloomFilterIndexer) EXPECT

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

func (*MockBloomFilterIndexer) FilterBlocksInRange

func (m *MockBloomFilterIndexer) FilterBlocksInRange(arg0 *logfilter.LogFilter, arg1, arg2, arg3 uint64) ([]uint64, error)

FilterBlocksInRange mocks base method.

func (*MockBloomFilterIndexer) Height

func (m *MockBloomFilterIndexer) Height() (uint64, error)

Height mocks base method.

func (*MockBloomFilterIndexer) PutBlock

func (m *MockBloomFilterIndexer) PutBlock(arg0 context.Context, arg1 *block.Block) error

PutBlock mocks base method.

func (*MockBloomFilterIndexer) RangeBloomFilterNumElements

func (m *MockBloomFilterIndexer) RangeBloomFilterNumElements() uint64

RangeBloomFilterNumElements mocks base method.

func (*MockBloomFilterIndexer) Start

Start mocks base method.

func (*MockBloomFilterIndexer) Stop

Stop mocks base method.

type MockBloomFilterIndexerMockRecorder

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

MockBloomFilterIndexerMockRecorder is the mock recorder for MockBloomFilterIndexer.

func (*MockBloomFilterIndexerMockRecorder) BlockFilterByHeight

func (mr *MockBloomFilterIndexerMockRecorder) BlockFilterByHeight(arg0 interface{}) *gomock.Call

BlockFilterByHeight indicates an expected call of BlockFilterByHeight.

func (*MockBloomFilterIndexerMockRecorder) DeleteTipBlock

func (mr *MockBloomFilterIndexerMockRecorder) DeleteTipBlock(arg0, arg1 interface{}) *gomock.Call

DeleteTipBlock indicates an expected call of DeleteTipBlock.

func (*MockBloomFilterIndexerMockRecorder) FilterBlocksInRange

func (mr *MockBloomFilterIndexerMockRecorder) FilterBlocksInRange(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

FilterBlocksInRange indicates an expected call of FilterBlocksInRange.

func (*MockBloomFilterIndexerMockRecorder) Height

Height indicates an expected call of Height.

func (*MockBloomFilterIndexerMockRecorder) PutBlock

func (mr *MockBloomFilterIndexerMockRecorder) PutBlock(arg0, arg1 interface{}) *gomock.Call

PutBlock indicates an expected call of PutBlock.

func (*MockBloomFilterIndexerMockRecorder) RangeBloomFilterNumElements

func (mr *MockBloomFilterIndexerMockRecorder) RangeBloomFilterNumElements() *gomock.Call

RangeBloomFilterNumElements indicates an expected call of RangeBloomFilterNumElements.

func (*MockBloomFilterIndexerMockRecorder) Start

func (mr *MockBloomFilterIndexerMockRecorder) Start(ctx interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockBloomFilterIndexerMockRecorder) Stop

func (mr *MockBloomFilterIndexerMockRecorder) Stop(ctx interface{}) *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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