ethereum

package
v1.34.11 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultBesuEth1Image = "hyperledger/besu:22.1.0"
	DefaultBesuEth2Image = "hyperledger/besu:24.5.1"
	BesuBaseImageName    = "hyperledger/besu"

	DefaultErigonEth1Image = "thorax/erigon:v2.40.0"
	DefaultErigonEth2Image = "thorax/erigon:v2.59.3" // v.2.60.0 is the latest, but gas estimations using zero address are broken
	ErigonBaseImageName    = "thorax/erigon"

	DefaultGethEth1Image = "ethereum/client-go:v1.13.8"
	DefaultGethEth2Image = "ethereum/client-go:v1.14.3"
	GethBaseImageName    = "ethereum/client-go"

	DefaultNethermindEth1Image = "nethermind/nethermind:1.16.0"
	DefaultNethermindEth2Image = "nethermind/nethermind:1.26.0"
	NethermindBaseImageName    = "nethermind/nethermind"

	DefaultRethEth2Image = "ghcr.io/paradigmxyz/reth:v1.0.0"
	RethBaseImageName    = "ghcr.io/paradigmxyz/reth"
)

Variables

This section is empty.

Functions

func ExecutionLayerFromDockerImage

func ExecutionLayerFromDockerImage(imageWithVersion string) (config_types.ExecutionLayer, error)

ExecutionLayerFromDockerImage returns the execution layer based on the Docker image

func GithubRepositoryFromEthereumClientDockerImage

func GithubRepositoryFromEthereumClientDockerImage(imageWithVersion string) (string, error)

GithubRepositoryFromEthereumClientDockerImage returns the GitHub repository name based on the Docker image

func VersionFromImage

func VersionFromImage(imageWithVersion string) (config_types.EthereumVersion, error)

VersionFromImage returns the consensus type based on the Docker image version

Types

type Fork

type Fork string
const (
	EthereumFork_Shanghai Fork = "Shanghai"
	EthereumFork_Deneb    Fork = "Deneb"
)

func LastSupportedForkForEthereumClient

func LastSupportedForkForEthereumClient(imageWithVersion string) (Fork, error)

LastSupportedForkForEthereumClient returns the last supported fork for the given Ethereum client. It supports only eth2 clients.

func (Fork) ValidFutureForks

func (e Fork) ValidFutureForks() ([]Fork, error)

ValidFutureForks returns the list of valid future forks for the given Ethereum fork

Jump to

Keyboard shortcuts

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