geth

package
v1.14.21 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GethFactory

func GethFactory(name string, binary string) (engines.Engine, error)

GethFactory creates Geth engines

func NewGethEngine

func NewGethEngine(name string, binary string) (engines.Engine, error)

NewGethEngine creates a new Geth engine

Types

type GethEngine

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

GethEngine wraps standalone Geth node management

func (*GethEngine) ChainID

func (e *GethEngine) ChainID() ids.ID

func (*GethEngine) Health

func (e *GethEngine) Health(ctx context.Context) (*engines.HealthStatus, error)

func (*GethEngine) IsRunning

func (e *GethEngine) IsRunning() bool

func (*GethEngine) Metrics

func (e *GethEngine) Metrics() map[string]interface{}

func (*GethEngine) Name

func (e *GethEngine) Name() string

func (*GethEngine) NetworkID

func (e *GethEngine) NetworkID() uint32

func (*GethEngine) P2PEndpoint

func (e *GethEngine) P2PEndpoint() string

func (*GethEngine) ParentChain

func (e *GethEngine) ParentChain() *engines.ChainInfo

func (*GethEngine) RPCEndpoint

func (e *GethEngine) RPCEndpoint() string

func (*GethEngine) Restart

func (e *GethEngine) Restart(ctx context.Context) error

func (*GethEngine) Start

func (e *GethEngine) Start(ctx context.Context, config *engines.NodeConfig) error

func (*GethEngine) Stop

func (e *GethEngine) Stop(ctx context.Context) error

func (*GethEngine) Type

func (e *GethEngine) Type() engines.EngineType

func (*GethEngine) Uptime

func (e *GethEngine) Uptime() time.Duration

func (*GethEngine) WSEndpoint

func (e *GethEngine) WSEndpoint() string

Jump to

Keyboard shortcuts

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