forks

package
v1.16.13 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

All lists all known mainline forks in chronological order.

View Source
var AllOpt = []Name{
	PectraBlobSchedule,
}

AllOpt lists all optional forks in chronological order.

View Source
var Latest = All[len(All)-1]

Latest returns the most recent fork in All.

Functions

func IsValid

func IsValid(f Name) bool

IsValid returns true if the provided fork is a known fork.

Types

type Name

type Name string

Name identifies a hardfork by name.

const (
	Bedrock  Name = "bedrock"
	Regolith Name = "regolith"
	Canyon   Name = "canyon"
	Delta    Name = "delta"
	Ecotone  Name = "ecotone"
	Fjord    Name = "fjord"
	Granite  Name = "granite"
	Holocene Name = "holocene"
	Isthmus  Name = "isthmus"
	Jovian   Name = "jovian"
	Karst    Name = "karst"
	Interop  Name = "interop"

	// Optional Forks - not part of mainline
	PectraBlobSchedule Name = "pectrablobschedule"

	None Name = ""
)

func From

func From(start Name) []Name

From returns the list of forks starting from the provided fork, inclusive.

func Next

func Next(f Name) Name

Next returns the fork that follows the provided fork, or None if it is the last.

Jump to

Keyboard shortcuts

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