HotStuffBootstrapServicesRuntime

org.sigilaris.node.jvm.runtime.consensus.hotstuff.HotStuffBootstrapServicesRuntime

Factory for constructing bootstrap services backed by in-memory artifact sinks.

Attributes

Source
Finalization.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def fromTrustRoot[F[_] : Sync](trustRoot: BootstrapTrustRoot, validatorSetInventory: Vector[ValidatorSet], sink: InMemoryHotStuffArtifactSink[F]): HotStuffBootstrapServices[F]

Creates bootstrap services from a trust root with historical validator sets.

Creates bootstrap services from a trust root with historical validator sets.

Attributes

Source
Finalization.scala
def fromTrustRootWithNodeStore[F[_] : Sync](trustRoot: BootstrapTrustRoot, validatorSetInventory: Vector[ValidatorSet], sink: InMemoryHotStuffArtifactSink[F], snapshotNodeStore: Option[SnapshotNodeStore[F]], diagnostics: BootstrapDiagnosticsSource[F]): HotStuffBootstrapServices[F]

Creates bootstrap services from a trust root with full configuration options.

Creates bootstrap services from a trust root with full configuration options.

Attributes

Source
Finalization.scala
def inMemory[F[_] : Sync](validatorSet: ValidatorSet, sink: InMemoryHotStuffArtifactSink[F]): HotStuffBootstrapServices[F]

Creates in-memory bootstrap services from a static validator set.

Creates in-memory bootstrap services from a static validator set.

Attributes

Source
Finalization.scala
def inMemoryWithNodeStore[F[_] : Sync](validatorSet: ValidatorSet, sink: InMemoryHotStuffArtifactSink[F], snapshotNodeStore: Option[SnapshotNodeStore[F]], diagnostics: BootstrapDiagnosticsSource[F]): HotStuffBootstrapServices[F]

Creates in-memory bootstrap services with an optional snapshot node store.

Creates in-memory bootstrap services with an optional snapshot node store.

Attributes

Source
Finalization.scala