Discover Packages
github.com/MetalBlockchain/metalgo
upgrade
upgradetest
package
Version:
v1.11.11-rc.2
Opens a new window with list of versions in this module.
Published: Nov 5, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
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.