ethereum

package
v1.51.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: MIT Imports: 6 Imported by: ? modules, 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

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

	DefaultErigonEth1Image = "thorax/erigon:v2.40.0"
	DefaultErigonEth2Image = "thorax/erigon:2.60.8"
	ErigonBaseImageName    = "thorax/erigon"

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

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

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

	GenesisGeneratorDenebImage    = "public.ecr.aws/w0i8p0z9/ethereum-genesis-generator:main-8a8fb99" // latest one
	GenesisGeneratorShanghaiImage = "tofelb/ethereum-genesis-generator:2.0.5"
)

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