Documentation ¶
Index ¶
- type HeadBroadcaster
- func (_m *HeadBroadcaster) Close() error
- func (_m *HeadBroadcaster) Healthy() error
- func (_m *HeadBroadcaster) OnNewLongestChain(ctx context.Context, head models.Head)
- func (_m *HeadBroadcaster) Ready() error
- func (_m *HeadBroadcaster) Start() error
- func (_m *HeadBroadcaster) Subscribe(callback types.HeadTrackable) (*models.Head, func())
- type HeadTrackable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeadBroadcaster ¶
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 models.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) (*models.Head, func())
Subscribe provides a mock function with given fields: callback
type HeadTrackable ¶
HeadTrackable is an autogenerated mock type for the HeadTrackable type
func (*HeadTrackable) OnNewLongestChain ¶
func (_m *HeadTrackable) OnNewLongestChain(ctx context.Context, head models.Head)
OnNewLongestChain provides a mock function with given fields: ctx, head
Click to show internal directories.
Click to hide internal directories.