Discover Packages
github.com/ava-labs/avalanchego
upgrade
upgradetest
package
Version:
v1.12.0-initial-poc.8
Opens a new window with list of versions in this module.
Published: Nov 9, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
GetConfig returns an upgrade config with the provided fork scheduled to have
been initially activated and all other forks to be unscheduled.
GetConfigWithUpgradeTime returns an upgrade config with the provided fork
scheduled to be activated at the provided upgradeTime and all other forks to
be unscheduled.
SetTimesTo sets the upgrade time of the provided fork, and all prior forks,
to the provided upgradeTime.
Fork is an enum of all the major network upgrades.
const (
NoUpgrades Fork = iota
ApricotPhase1
ApricotPhase2
ApricotPhase3
ApricotPhase4
ApricotPhase5
ApricotPhasePre6
ApricotPhase6
ApricotPhasePost6
Banff
Cortina
Durango
Etna
Latest = Etna
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.