Versions in this module Expand all Collapse all v1 v1.11.13-rc.2 Dec 4, 2024 v1.0.0 Dec 4, 2024 Changes in this version + type Bootstrapper struct + func New(config Config, onFinished func(ctx context.Context, lastReqID uint32) error) (*Bootstrapper, error) + func (*Bootstrapper) Gossip(context.Context) error + func (b *Bootstrapper) Accepted(ctx context.Context, nodeID ids.NodeID, requestID uint32, ...) error + func (b *Bootstrapper) AcceptedFrontier(ctx context.Context, nodeID ids.NodeID, requestID uint32, containerID ids.ID) error + func (b *Bootstrapper) Ancestors(ctx context.Context, nodeID ids.NodeID, requestID uint32, blks [][]byte) error + func (b *Bootstrapper) Clear(context.Context) error + func (b *Bootstrapper) Connected(ctx context.Context, nodeID ids.NodeID, nodeVersion *version.Application) error + func (b *Bootstrapper) Context() *snow.ConsensusContext + func (b *Bootstrapper) Disconnected(ctx context.Context, nodeID ids.NodeID) error + func (b *Bootstrapper) GetAcceptedFailed(ctx context.Context, nodeID ids.NodeID, requestID uint32) error + func (b *Bootstrapper) GetAcceptedFrontierFailed(ctx context.Context, nodeID ids.NodeID, requestID uint32) error + func (b *Bootstrapper) GetAncestorsFailed(ctx context.Context, nodeID ids.NodeID, requestID uint32) error + func (b *Bootstrapper) HealthCheck(ctx context.Context) (interface{}, error) + func (b *Bootstrapper) Notify(_ context.Context, msg common.Message) error + func (b *Bootstrapper) Shutdown(ctx context.Context) error + func (b *Bootstrapper) Start(ctx context.Context, startReqID uint32) error + func (b *Bootstrapper) Timeout(ctx context.Context) error + type Config struct + AncestorsMaxContainersReceived int + Beacons validators.Manager + Blocked *queue.JobsWithMissing + BootstrapTracker common.BootstrapTracker + Bootstrapped func() + Ctx *snow.ConsensusContext + SampleK int + Sender common.Sender + StartupTracker tracker.Startup + Timer common.Timer + VM block.ChainVM