package forks

import "github.com/ethereum/go-ethereum/params/forks"

Index

Types

type Fork

type Fork int

Fork is a numerical identifier of specific network upgrades (forks).

const (
	Frontier Fork = iota
	FrontierThawing
	Homestead
	DAO
	TangerineWhistle // a.k.a. the EIP150 fork
	SpuriousDragon   // a.k.a. the EIP155 fork
	Byzantium
	Constantinople
	Petersburg
	Istanbul
	MuirGlacier
	Berlin
	London
	ArrowGlacier
	GrayGlacier
	Paris
	Shanghai
	Cancun
	Prague
	Osaka
)

func (Fork) String

func (f Fork) String() string

String implements fmt.Stringer.

Source Files

forks.go

Version
v1.15.11 (latest)
Published
May 5, 2025
Platform
linux/amd64
Last checked
2 days ago

Tools for package owners.