Versions in this module Expand all Collapse all v1 v1.12.2 Mar 3, 2025 Changes in this version + type Bootstrapper struct + TimeoutRegistrar common.TimeoutRegistrar + 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() error + type Config struct + AncestorsMaxContainersReceived int + Beacons validators.Manager + BootstrapTracker common.BootstrapTracker + Bootstrapped func() + Ctx *snow.ConsensusContext + DB database.Database + NonVerifyingParse block.ParseFunc + PeerTracker *p2p.PeerTracker + SampleK int + Sender common.Sender + ShouldHalt func() bool + StartupTracker tracker.Startup + VM block.ChainVM