Documentation ¶
Index ¶
- type Config
- type HeadBroadcaster
- func (_m *HeadBroadcaster) BroadcastNewLongestChain(head *types.Head)
- func (_m *HeadBroadcaster) Close() error
- func (_m *HeadBroadcaster) Healthy() error
- func (_m *HeadBroadcaster) Ready() error
- func (_m *HeadBroadcaster) Start(_a0 context.Context) error
- func (_m *HeadBroadcaster) Subscribe(callback headtrackertypes.HeadTrackable) (*types.Head, func())
- type HeadListener
- type HeadTrackable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is an autogenerated mock type for the Config type
func (*Config) BlockEmissionIdleWarningThreshold ¶
BlockEmissionIdleWarningThreshold provides a mock function with given fields:
func (*Config) EvmFinalityDepth ¶
EvmFinalityDepth provides a mock function with given fields:
func (*Config) EvmHeadTrackerHistoryDepth ¶
EvmHeadTrackerHistoryDepth provides a mock function with given fields:
func (*Config) EvmHeadTrackerMaxBufferSize ¶
EvmHeadTrackerMaxBufferSize provides a mock function with given fields:
func (*Config) EvmHeadTrackerSamplingInterval ¶
EvmHeadTrackerSamplingInterval provides a mock function with given fields:
type HeadBroadcaster ¶
HeadBroadcaster is an autogenerated mock type for the HeadBroadcaster type
func (*HeadBroadcaster) BroadcastNewLongestChain ¶
func (_m *HeadBroadcaster) BroadcastNewLongestChain(head *types.Head)
BroadcastNewLongestChain provides a mock function with given fields: head
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) Ready ¶
func (_m *HeadBroadcaster) Ready() error
Ready provides a mock function with given fields:
func (*HeadBroadcaster) Start ¶
func (_m *HeadBroadcaster) Start(_a0 context.Context) error
Start provides a mock function with given fields: _a0
func (*HeadBroadcaster) Subscribe ¶
func (_m *HeadBroadcaster) Subscribe(callback headtrackertypes.HeadTrackable) (*types.Head, func())
Subscribe provides a mock function with given fields: callback
type HeadListener ¶
HeadListener is an autogenerated mock type for the HeadListener type
func (*HeadListener) Connected ¶
func (_m *HeadListener) Connected() bool
Connected provides a mock function with given fields:
func (*HeadListener) ListenForNewHeads ¶
func (_m *HeadListener) ListenForNewHeads(handleNewHead types.NewHeadHandler, done func())
ListenForNewHeads provides a mock function with given fields: handleNewHead, done
func (*HeadListener) ReceivingHeads ¶
func (_m *HeadListener) ReceivingHeads() bool
ReceivingHeads provides a mock function with given fields:
type HeadTrackable ¶
HeadTrackable is an autogenerated mock type for the HeadTrackable type
func (*HeadTrackable) OnNewLongestChain ¶
func (_m *HeadTrackable) OnNewLongestChain(ctx context.Context, head *types.Head)
OnNewLongestChain provides a mock function with given fields: ctx, head