HotStuffValidator

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

Validates HotStuff consensus artifacts: proposals, votes, QCs, timeout votes, TCs, and new views.

Attributes

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

Members list

Value members

Concrete methods

def validateNewView(newView: NewView, validatorSet: ValidatorSet): Either[HotStuffValidationFailure, Unit]

Validates a new-view message's structure, signature, QC, TC, and window consistency.

Validates a new-view message's structure, signature, QC, TC, and window consistency.

Attributes

Source
Validation.scala
def validateProposal(proposal: Proposal, validatorSet: ValidatorSet, justifyValidatorSet: Option[ValidatorSet]): Either[HotStuffValidationFailure, Unit]

Validates a proposal's structure, signature, and justify chain against the validator set.

Validates a proposal's structure, signature, and justify chain against the validator set.

Attributes

Source
Validation.scala

Validates a quorum certificate by re-assembling it from the contained votes.

Validates a quorum certificate by re-assembling it from the contained votes.

Attributes

Source
Validation.scala
def validateTimeoutCertificate(timeoutCertificate: TimeoutCertificate, validatorSet: ValidatorSet): Either[HotStuffValidationFailure, Unit]

Validates a timeout certificate by re-assembling it from the contained votes.

Validates a timeout certificate by re-assembling it from the contained votes.

Attributes

Source
Validation.scala
def validateTimeoutVote(vote: TimeoutVote, validatorSet: ValidatorSet, expectedSubject: Option[TimeoutVoteSubject]): Either[HotStuffValidationFailure, Unit]

Validates a timeout vote's structure, signature, and membership.

Validates a timeout vote's structure, signature, and membership.

Attributes

Source
Validation.scala
def validateVote(vote: Vote, validatorSet: ValidatorSet, expectedWindow: Option[HotStuffWindow], expectedProposalId: Option[ProposalId]): Either[HotStuffValidationFailure, Unit]

Validates a vote's structure, signature, and membership in the validator set.

Validates a vote's structure, signature, and membership in the validator set.

Attributes

Source
Validation.scala