Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶ added in v1.7.4
func New( config Config, onFinished func(ctx context.Context, lastReqID uint32) error, reg prometheus.Registerer, ) (common.BootstrapableEngine, error)
Types ¶
type Config ¶
type Config struct {
common.AllGetsServer
Ctx *snow.ConsensusContext
StartupTracker tracker.Startup
Sender common.Sender
// PeerTracker manages the set of nodes that we fetch the next block from.
PeerTracker *p2p.PeerTracker
// This node will only consider the first [AncestorsMaxContainersReceived]
// containers in an ancestors message it receives.
AncestorsMaxContainersReceived int
// VtxBlocked tracks operations that are blocked on vertices
VtxBlocked *queue.JobsWithMissing
// TxBlocked tracks operations that are blocked on transactions
TxBlocked *queue.Jobs
Manager vertex.Manager
VM vertex.LinearizableVM
// If StopVertexID is empty, the engine will generate the stop vertex based
// on the current state.
StopVertexID ids.ID
}
Click to show internal directories.
Click to hide internal directories.