mocks

package
v1.10.17 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.10.17

type Config struct {
	mock.Mock
}

Config is an autogenerated mock type for the Config type

func (*Config) BlockEmissionIdleWarningThreshold added in v1.10.17

func (_m *Config) BlockEmissionIdleWarningThreshold() time.Duration

BlockEmissionIdleWarningThreshold provides a mock function with given fields:

func (*Config) EvmFinalityDepth added in v1.10.17

func (_m *Config) EvmFinalityDepth() uint32

EvmFinalityDepth provides a mock function with given fields:

func (*Config) EvmHeadTrackerHistoryDepth added in v1.10.17

func (_m *Config) EvmHeadTrackerHistoryDepth() uint32

EvmHeadTrackerHistoryDepth provides a mock function with given fields:

func (*Config) EvmHeadTrackerMaxBufferSize added in v1.10.17

func (_m *Config) EvmHeadTrackerMaxBufferSize() uint32

EvmHeadTrackerMaxBufferSize provides a mock function with given fields:

func (*Config) EvmHeadTrackerSamplingInterval added in v1.10.17

func (_m *Config) EvmHeadTrackerSamplingInterval() time.Duration

EvmHeadTrackerSamplingInterval provides a mock function with given fields:

type HeadBroadcaster

type HeadBroadcaster struct {
	mock.Mock
}

HeadBroadcaster is an autogenerated mock type for the HeadBroadcaster type

func (*HeadBroadcaster) Close

func (_m *HeadBroadcaster) Close() error

Close provides a mock function with given fields:

func (*HeadBroadcaster) Healthy

func (_m *HeadBroadcaster) Healthy() error

Healthy provides a mock function with given fields:

func (*HeadBroadcaster) OnNewLongestChain

func (_m *HeadBroadcaster) OnNewLongestChain(ctx context.Context, head eth.Head)

OnNewLongestChain provides a mock function with given fields: ctx, head

func (*HeadBroadcaster) Ready

func (_m *HeadBroadcaster) Ready() error

Ready provides a mock function with given fields:

func (*HeadBroadcaster) Start

func (_m *HeadBroadcaster) Start() error

Start provides a mock function with given fields:

func (*HeadBroadcaster) Subscribe

func (_m *HeadBroadcaster) Subscribe(callback types.HeadTrackable) (*eth.Head, func())

Subscribe provides a mock function with given fields: callback

type HeadTrackable

type HeadTrackable struct {
	mock.Mock
}

HeadTrackable is an autogenerated mock type for the HeadTrackable type

func (*HeadTrackable) OnNewLongestChain

func (_m *HeadTrackable) OnNewLongestChain(ctx context.Context, head eth.Head)

OnNewLongestChain provides a mock function with given fields: ctx, head

Jump to

Keyboard shortcuts

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