opnode

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FnTracer added in v1.9.3

type FnTracer struct {
	OnNewL1HeadFn        func(ctx context.Context, sig eth.L1BlockRef)
	OnUnsafeL2PayloadFn  func(ctx context.Context, from peer.ID, payload *eth.ExecutionPayloadEnvelope)
	OnPublishL2PayloadFn func(ctx context.Context, payload *eth.ExecutionPayloadEnvelope)
}

func (*FnTracer) OnNewL1Head added in v1.9.3

func (n *FnTracer) OnNewL1Head(ctx context.Context, sig eth.L1BlockRef)

func (*FnTracer) OnPublishL2Payload added in v1.9.3

func (n *FnTracer) OnPublishL2Payload(ctx context.Context, payload *eth.ExecutionPayloadEnvelope)

func (*FnTracer) OnUnsafeL2Payload added in v1.9.3

func (n *FnTracer) OnUnsafeL2Payload(ctx context.Context, from peer.ID, payload *eth.ExecutionPayloadEnvelope)

type Opnode

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

func NewOpnode

func NewOpnode(l log.Logger, c *rollupNode.Config, errFn func(error)) (*Opnode, error)

func (*Opnode) P2P

func (o *Opnode) P2P() p2p.Node

func (*Opnode) RuntimeConfig

func (o *Opnode) RuntimeConfig() rollupNode.ReadonlyRuntimeConfig

func (*Opnode) Stop

func (o *Opnode) Stop(ctx context.Context) error

func (*Opnode) Stopped

func (o *Opnode) Stopped() bool

func (*Opnode) UserRPC

func (o *Opnode) UserRPC() endpoint.RPC

Jump to

Keyboard shortcuts

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