state_synchronization

package
v0.26.13 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: AGPL-3.0 Imports: 8 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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