tracer

package
v1.13.5 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: MIT, MIT Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TracePublishBlockEvent added in v1.13.5

type TracePublishBlockEvent struct {
	Envelope *eth.ExecutionPayloadEnvelope
}

func (TracePublishBlockEvent) String added in v1.13.5

func (ev TracePublishBlockEvent) String() string

type Tracer

type Tracer interface {
	OnNewL1Head(ctx context.Context, sig eth.L1BlockRef)
	OnUnsafeL2Payload(ctx context.Context, from peer.ID, payload *eth.ExecutionPayloadEnvelope)
	OnPublishL2Payload(ctx context.Context, payload *eth.ExecutionPayloadEnvelope)
}

Tracer configures the OpNode to share events

type TracerDeriver added in v1.13.5

type TracerDeriver struct {
	// contains filtered or unexported fields
}

TracerDeriver hooks a Tracer up to the event system as deriver

func NewTracerDeriver added in v1.13.5

func NewTracerDeriver(tracer Tracer) *TracerDeriver

func (*TracerDeriver) OnEvent added in v1.13.5

func (t *TracerDeriver) OnEvent(ctx context.Context, ev event.Event) bool

func (*TracerDeriver) Unattach added in v1.13.5

func (t *TracerDeriver) Unattach()

Jump to

Keyboard shortcuts

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