opnode

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: MIT Imports: 10 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 FnTracer

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

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

func (*FnTracer) OnPublishL2Payload

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

func (*FnTracer) OnUnsafeL2Payload

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) InteropRPC

func (o *Opnode) InteropRPC() (endpoint string, jwtSecret eth.Bytes32)

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