HotStuffBlockBodyVerifier

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

Validates block bodies for conflict-free scheduling compliance.

Attributes

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

Members list

Value members

Concrete methods

def validateBody[TxRef : ByteEncoder, ResultRef : ByteEncoder, Event : ByteEncoder](body: BlockBody[TxRef, ResultRef, Event])(classifyTx: TxRef => SchedulingClassification): Either[HotStuffValidationFailure, Unit]

Validates that a block body contains no scheduling conflicts.

Validates that a block body contains no scheduling conflicts.

Attributes

Returns

unit on success or a validation failure

Source
BlockScheduling.scala
def validateView[TxRef : ByteEncoder, ResultRef : ByteEncoder, Event : ByteEncoder](view: BlockView[TxRef, ResultRef, Event])(classifyTx: TxRef => SchedulingClassification): Either[HotStuffValidationFailure, Unit]

Validates a complete block view (header + body) for scheduling compliance.

Validates a complete block view (header + body) for scheduling compliance.

Attributes

Source
BlockScheduling.scala