SnapshotCoordinator

org.sigilaris.node.jvm.runtime.consensus.hotstuff.SnapshotCoordinator
See theSnapshotCoordinator companion trait

Companion for SnapshotCoordinator, providing factory methods with varying configuration.

Attributes

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

Members list

Value members

Concrete methods

def create[F[_] : Sync : Clock](chainId: ChainId, metadataStore: SnapshotMetadataStore[F], nodeStore: SnapshotNodeStore[F], fetchService: SnapshotNodeFetchService[F]): SnapshotCoordinator[F]

Attributes

Source
SnapshotSync.scala
def createWithNow[F[_] : Sync](chainId: ChainId, metadataStore: SnapshotMetadataStore[F], nodeStore: SnapshotNodeStore[F], fetchService: SnapshotNodeFetchService[F], currentInstant: F[Instant]): SnapshotCoordinator[F]

Attributes

Source
SnapshotSync.scala
def createWithPolicy[F[_] : Sync : Clock](chainId: ChainId, metadataStore: SnapshotMetadataStore[F], nodeStore: SnapshotNodeStore[F], fetchService: SnapshotNodeFetchService[F], fetchPolicy: SnapshotFetchPolicy): SnapshotCoordinator[F]

Attributes

Source
SnapshotSync.scala
def createWithPolicyAndNow[F[_] : Sync](chainId: ChainId, metadataStore: SnapshotMetadataStore[F], nodeStore: SnapshotNodeStore[F], fetchService: SnapshotNodeFetchService[F], fetchPolicy: SnapshotFetchPolicy, currentInstant: F[Instant]): SnapshotCoordinator[F]

Attributes

Source
SnapshotSync.scala