Documentation ¶
Index ¶
Constants ¶
View Source
const SnapshotMajorFormat = "snapshot-major-block-%09d.bpt"
View Source
const ValidatorUpdateAdd = 1
View Source
const ValidatorUpdateRemove = 2
Variables ¶
View Source
var Cron = network.CronFormat
View Source
var SnapshotMajorRegexp = regexp.MustCompile(`snapshot-major-block-\d+.bpt`)
Functions ¶
func AnchorSigner ¶ added in v1.1.1
func AnchorSigner(g *GlobalValues, partition string) *globalSigner
func DiffValidators ¶ added in v1.1.1
func DiffValidators(g, h *GlobalValues, partitionID string) (map[[32]byte]ValidatorUpdate, error)
Types ¶
type GlobalValues ¶
type GlobalValues = network.GlobalValues
func NewGlobals ¶
func NewGlobals(g *GlobalValues) *GlobalValues
type ValidatorUpdate ¶
type ValidatorUpdate int
Click to show internal directories.
Click to hide internal directories.