eth2network

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureBinariesExist

func EnsureBinariesExist() (string, error)

EnsureBinariesExist makes sure node binaries exist, returns the base path where binaries exist Downloads any missing binaries

Types

type PosEth2Network added in v0.26.1

type PosEth2Network interface {
	Start() error
	Stop() error
	GenesisBytes() []byte
}

func NewPosEth2Network added in v0.26.1

func NewPosEth2Network(binDir string, gethNetworkPort, beaconP2PPort, gethRPCPort, gethWSPort, gethHTTPPort, beaconRPCPort, chainID int, timeout time.Duration, walletsToFund ...string) PosEth2Network

type PosImpl added in v0.26.1

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

func (*PosImpl) GenesisBytes added in v0.26.1

func (n *PosImpl) GenesisBytes() []byte

func (*PosImpl) Start added in v0.26.1

func (n *PosImpl) Start() error

func (*PosImpl) Stop added in v0.26.1

func (n *PosImpl) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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