Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
common.AllGetsServer
Ctx *snow.ConsensusContext
StartupTracker tracker.Startup
Sender common.Sender
// SampleK determines the number of nodes to attempt to fetch the latest
// state sync summary from. In order for a round of voting to succeed, there
// must be at least one correct node sampled.
SampleK int
// Alpha specifies the amount of weight that validators must put behind a
// state summary to consider it valid to sync to.
Alpha uint64
// StateSyncBeacons are the nodes that will be used to sample and vote over
// state summaries.
StateSyncBeacons validators.Manager
VM block.ChainVM
}
Click to show internal directories.
Click to hide internal directories.