types

package
v2.12.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 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 = headtracker.HeadBroadcaster[*evmtypes.Head, common.Hash]

Type Alias for EVM Head Tracker Components

type HeadListener

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

Type Alias for EVM Head Tracker Components

type HeadSaver

type HeadSaver interface {
	headtracker.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 = headtracker.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