types

package
v0.0.0-...-3674750 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeadBroadcaster

type HeadBroadcaster = commontypes.HeadBroadcaster[*evmtypes.Head, common.Hash]

Type Alias for EVM Head Tracker Components

type HeadBroadcasterRegistry

type HeadBroadcasterRegistry = commontypes.HeadBroadcasterRegistry[*evmtypes.Head, common.Hash]

Type Alias for EVM Head Tracker Components

type HeadListener

type HeadListener = commontypes.HeadListener[*evmtypes.Head, common.Hash]

Type Alias for EVM Head Tracker Components

type HeadSaver

type HeadSaver interface {
	commontypes.HeadSaver[*evmtypes.Head, common.Hash]
	// LatestHeadFromDB returns the highest seen head from DB.
	LatestHeadFromDB(ctx context.Context) (*evmtypes.Head, error)
}

HeadSaver maintains chains persisted in DB. All methods are thread-safe.

type HeadTrackable

type HeadTrackable = commontypes.HeadTrackable[*evmtypes.Head, common.Hash]

Type Alias for EVM Head Tracker Components

type HeadTracker

Type Alias for EVM Head Tracker Components

Jump to

Keyboard shortcuts

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