state_synchronization

package
v0.26.16-access-signie... Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: AGPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionDataCIDCache

type ExecutionDataCIDCache struct {
	mock.Mock
}

ExecutionDataCIDCache is an autogenerated mock type for the ExecutionDataCIDCache type

func NewExecutionDataCIDCache added in v0.26.1

func NewExecutionDataCIDCache(t testing.TB) *ExecutionDataCIDCache

NewExecutionDataCIDCache creates a new instance of ExecutionDataCIDCache. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*ExecutionDataCIDCache) BlobRecords

func (_m *ExecutionDataCIDCache) BlobRecords() uint

BlobRecords provides a mock function with given fields:

func (*ExecutionDataCIDCache) BlobTreeRecords

func (_m *ExecutionDataCIDCache) BlobTreeRecords() uint

BlobTreeRecords provides a mock function with given fields:

func (*ExecutionDataCIDCache) Get

Get provides a mock function with given fields: c

func (*ExecutionDataCIDCache) Insert

func (_m *ExecutionDataCIDCache) Insert(header *flow.Header, blobTree state_synchronization.BlobTree)

Insert provides a mock function with given fields: header, blobTree

type ExecutionDataRequester added in v0.26.2

type ExecutionDataRequester struct {
	mock.Mock
}

ExecutionDataRequester is an autogenerated mock type for the ExecutionDataRequester type

func NewExecutionDataRequester added in v0.26.2

func NewExecutionDataRequester(t testing.TB) *ExecutionDataRequester

NewExecutionDataRequester creates a new instance of ExecutionDataRequester. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*ExecutionDataRequester) AddOnExecutionDataFetchedConsumer added in v0.26.2

func (_m *ExecutionDataRequester) AddOnExecutionDataFetchedConsumer(fn state_synchronization.ExecutionDataReceivedCallback)

AddOnExecutionDataFetchedConsumer provides a mock function with given fields: fn

func (*ExecutionDataRequester) Done added in v0.26.2

func (_m *ExecutionDataRequester) Done() <-chan struct{}

Done provides a mock function with given fields:

func (*ExecutionDataRequester) OnBlockFinalized added in v0.26.2

func (_m *ExecutionDataRequester) OnBlockFinalized(_a0 *model.Block)

OnBlockFinalized provides a mock function with given fields: _a0

func (*ExecutionDataRequester) Ready added in v0.26.2

func (_m *ExecutionDataRequester) Ready() <-chan struct{}

Ready provides a mock function with given fields:

func (*ExecutionDataRequester) Start added in v0.26.2

Start provides a mock function with given fields: _a0

type ExecutionDataService

type ExecutionDataService struct {
	mock.Mock
}

ExecutionDataService is an autogenerated mock type for the ExecutionDataService type

func NewExecutionDataService added in v0.26.1

func NewExecutionDataService(t testing.TB) *ExecutionDataService

NewExecutionDataService creates a new instance of ExecutionDataService. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*ExecutionDataService) Add

Add provides a mock function with given fields: ctx, sd

func (*ExecutionDataService) Done added in v0.26.2

func (_m *ExecutionDataService) Done() <-chan struct{}

Done provides a mock function with given fields:

func (*ExecutionDataService) Get

Get provides a mock function with given fields: ctx, rootID

func (*ExecutionDataService) Ready added in v0.26.2

func (_m *ExecutionDataService) Ready() <-chan struct{}

Ready provides a mock function with given fields:

Jump to

Keyboard shortcuts

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