Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrapper ¶
type Bootstrapper interface {
// Start starts bootstrapping
Start(context.Context, uint32) error
// Connected notifies the bootstrapper of a connected validator
Connected(context.Context, ids.NodeID, Version) error
// Disconnected notifies the bootstrapper of a disconnected validator
Disconnected(context.Context, ids.NodeID) error
// HealthCheck performs a health check
HealthCheck(context.Context) (interface{}, error)
}
Bootstrapper bootstraps a chain
Click to show internal directories.
Click to hide internal directories.