baserethnode

package
v0.0.0-...-3e7766e Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBaseRethNodeClient

func NewBaseRethNodeClient(logger log.Logger, options *config.InternalClientOptions, ports portmanager.PortManager) types.ExecutionClient

NewBaseRethNodeClient creates a new client for base-reth-node.

Types

type BaseRethNodeClient

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

BaseRethNodeClient handles the lifecycle of a base-reth-node client. This client is configured to receive flashblocks via websocket.

func (*BaseRethNodeClient) AuthClient

func (r *BaseRethNodeClient) AuthClient() client.RPC

AuthClient returns the auth client used for CL communication.

func (*BaseRethNodeClient) Client

func (r *BaseRethNodeClient) Client() *ethclient.Client

Client returns the ethclient client.

func (*BaseRethNodeClient) ClientURL

func (r *BaseRethNodeClient) ClientURL() string

ClientURL returns the raw client URL for transaction generators.

func (*BaseRethNodeClient) FlashblocksClient

func (r *BaseRethNodeClient) FlashblocksClient() types.FlashblocksClient

FlashblocksClient returns nil as base-reth-node receives flashblocks but doesn't produce them.

func (*BaseRethNodeClient) GetVersion

func (r *BaseRethNodeClient) GetVersion(ctx context.Context) (string, error)

GetVersion returns the version of the base-reth-node client

func (*BaseRethNodeClient) MetricsCollector

func (r *BaseRethNodeClient) MetricsCollector() metrics.Collector

func (*BaseRethNodeClient) MetricsPort

func (r *BaseRethNodeClient) MetricsPort() int

func (*BaseRethNodeClient) Run

Run runs the base-reth-node client with the given runtime config.

func (*BaseRethNodeClient) SetHead

func (r *BaseRethNodeClient) SetHead(ctx context.Context, blockNumber uint64) error

SetHead resets the blockchain to a specific block using debug.setHead

func (*BaseRethNodeClient) Stop

func (r *BaseRethNodeClient) Stop()

Stop stops the base-reth-node client.

func (*BaseRethNodeClient) SupportsFlashblocks

func (r *BaseRethNodeClient) SupportsFlashblocks() bool

SupportsFlashblocks returns true as base-reth-node supports receiving flashblock payloads.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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