HotStuffProposalViewValidator

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

Validates that a proposal's block view is consistent with the proposal and scheduling rules.

Attributes

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

Members list

Value members

Concrete methods

def validateProposalView[TxRef : ByteEncoder : Hash, ResultRef : ByteEncoder, Event : ByteEncoder](proposal: Proposal, view: BlockView[TxRef, ResultRef, Event], validatorSet: ValidatorSet)(classifyTx: TxRef => SchedulingClassification): Either[HotStuffValidationFailure, Unit]

Validates the proposal, its block view, and scheduling compliance.

Validates the proposal, its block view, and scheduling compliance.

Attributes

Returns

unit on success or a validation failure

Source
BlockScheduling.scala