ConflictFreeBlockBodySelection

org.sigilaris.node.jvm.runtime.consensus.hotstuff.ConflictFreeBlockBodySelection
final case class ConflictFreeBlockBodySelection[TxRef, ResultRef, Event](accepted: Vector[BlockRecord[TxRef, ResultRef, Event]], rejected: Vector[RejectedBlockRecord[TxRef, ResultRef, Event]], aggregate: AggregateFootprint)

The result of selecting a conflict-free subset of block records for inclusion in a block body.

Type parameters

Event

the event type

ResultRef

the result reference type

TxRef

the transaction reference type

Value parameters

accepted

records accepted into the block body

aggregate

the accumulated scheduling footprint

rejected

records rejected due to conflicts or compatibility

Attributes

Source
BlockScheduling.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Returns the conflict footprint of the aggregate.

Returns the conflict footprint of the aggregate.

Attributes

Source
BlockScheduling.scala
def toBody: Either[HotStuffValidationFailure, BlockBody[TxRef, ResultRef, Event]]

Converts the accepted records into a block body, failing if duplicates exist.

Converts the accepted records into a block body, failing if duplicates exist.

Attributes

Source
BlockScheduling.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product