BootstrapCoordinator

org.sigilaris.node.jvm.runtime.consensus.hotstuff.BootstrapCoordinator
See theBootstrapCoordinator companion object

Coordinates the full bootstrap process: discovery, snapshot sync, and forward catch-up.

Attributes

Companion
object
Source
BootstrapCoordinator.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def bootstrap(chainId: ChainId, sessions: Vector[BootstrapSessionBinding], startedAt: Instant, liveProposals: Vector[Proposal]): F[Either[BootstrapCoordinatorFailure, BootstrapCoordinatorResult]]

Runs the full bootstrap sequence for a given chain.

Runs the full bootstrap sequence for a given chain.

Attributes

Source
BootstrapCoordinator.scala
def discover(chainId: ChainId, sessions: Vector[BootstrapSessionBinding], now: Instant): F[Either[BootstrapCoordinatorFailure, Option[FinalizedAnchorSuggestion]]]

Discovers finalized anchor suggestions from available peer sessions.

Discovers finalized anchor suggestions from available peer sessions.

Attributes

Source
BootstrapCoordinator.scala

Inherited and Abstract methods

Returns the current bootstrap diagnostics.

Returns the current bootstrap diagnostics.

Attributes

Inherited from:
BootstrapDiagnosticsSource
Source
Bootstrap.scala