Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TracePublishBlockEvent ¶
type TracePublishBlockEvent struct {
Envelope *eth.ExecutionPayloadEnvelope
}
func (TracePublishBlockEvent) String ¶
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 ¶
type TracerDeriver struct {
// contains filtered or unexported fields
}
TracerDeriver hooks a Tracer up to the event system as deriver
func NewTracerDeriver ¶
func NewTracerDeriver(tracer Tracer) *TracerDeriver
func (*TracerDeriver) Unattach ¶
func (t *TracerDeriver) Unattach()
Click to show internal directories.
Click to hide internal directories.