supernode

package
v1.16.11 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 24 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 Supernode

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

func New

func New(ctx context.Context, log gethlog.Logger, version string, requestStop context.CancelCauseFunc, cfg *config.CLIConfig, vnCfgs map[eth.ChainID]*opnodecfg.Config) (*Supernode, error)

func (*Supernode) BeaconClient

func (s *Supernode) BeaconClient() *sources.L1BeaconClient

BeaconClient returns the L1 Beacon client instance (may be nil if not configured)

func (*Supernode) L1Client

func (s *Supernode) L1Client() *sources.L1Client

L1Client returns the L1 client instance

func (*Supernode) PauseInteropActivity added in v1.16.7

func (s *Supernode) PauseInteropActivity(ts uint64)

PauseInteropActivity pauses the interop activity at the given timestamp. When the interop activity attempts to process this timestamp, it returns early. This function is for integration test control only.

func (*Supernode) RPCAddr

func (s *Supernode) RPCAddr() (addr string, ok bool)

RPCAddr returns the bound RPC address (host:port) if the server is listening. ok is false if the listener has not been created yet.

func (*Supernode) ResumeInteropActivity added in v1.16.7

func (s *Supernode) ResumeInteropActivity()

ResumeInteropActivity clears any pause on the interop activity, allowing normal processing. This function is for integration test control only.

func (*Supernode) Start

func (s *Supernode) Start(ctx context.Context) error

func (*Supernode) Stop

func (s *Supernode) Stop(ctx context.Context) error

func (*Supernode) Stopped

func (s *Supernode) Stopped() bool

func (*Supernode) WaitRPCAddr

func (s *Supernode) WaitRPCAddr(ctx context.Context) (string, error)

WaitRPCAddr blocks until the RPC server has a bound address or the context is done.

Jump to

Keyboard shortcuts

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