ProposalCatchUpReadiness

org.sigilaris.node.jvm.runtime.consensus.hotstuff.ProposalCatchUpReadiness
See theProposalCatchUpReadiness companion trait

Companion for ProposalCatchUpReadiness, providing static factory methods.

Attributes

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

Members list

Value members

Concrete methods

def failure[F[_] : Sync](reason: String, detail: Option[String]): ProposalCatchUpReadiness[F]

Creates readiness that always fails with the given reason.

Creates readiness that always fails with the given reason.

Attributes

Source
BootstrapCoordinator.scala
def fromBlockQuery[F[_] : Sync, TxRef : ByteEncoder : Hash, ResultRef : ByteEncoder, Event : ByteEncoder](validatorSet: ValidatorSet, knownTxIds: F[Set[StableArtifactId]], blockQuery: BlockQuery[F, TxRef, ResultRef, Event], txPolicy: TxRuntimePolicy, idempotencyKeyFor: Proposal => String)(classifyTx: TxRef => SchedulingClassification): ProposalCatchUpReadiness[F]

Creates readiness that validates proposals against a block query and requests missing transactions.

Creates readiness that validates proposals against a block query and requests missing transactions.

Attributes

Source
BootstrapCoordinator.scala
def held[F[_] : Sync](reason: String, controlBatch: Option[ControlBatch]): ProposalCatchUpReadiness[F]

Creates readiness that always reports as held for the given reason.

Creates readiness that always reports as held for the given reason.

Attributes

Source
BootstrapCoordinator.scala
def ready[F[_] : Sync]: ProposalCatchUpReadiness[F]

Creates readiness that always reports as ready to vote.

Creates readiness that always reports as ready to vote.

Attributes

Source
BootstrapCoordinator.scala
def static[F[_] : Sync](assessment: ProposalCatchUpAssessment): ProposalCatchUpReadiness[F]

Creates readiness that always returns the given static assessment.

Creates readiness that always returns the given static assessment.

Attributes

Source
BootstrapCoordinator.scala