ConflictFreeBlockBodySelector

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

Selects a conflict-free subset of candidate block records for block body inclusion.

Attributes

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

Members list

Value members

Concrete methods

def select[TxRef, ResultRef, Event](candidates: Iterable[BlockRecord[TxRef, ResultRef, Event]])(classifyTx: TxRef => SchedulingClassification): ConflictFreeBlockBodySelection[TxRef, ResultRef, Event]

Selects a conflict-free subset from the candidate records based on scheduling classification.

Selects a conflict-free subset from the candidate records based on scheduling classification.

Type parameters

Event

the event type

ResultRef

the result reference type

TxRef

the transaction reference type

Value parameters

candidates

the candidate block records

classifyTx

classifies each transaction for scheduling

Attributes

Returns

the selection result with accepted and rejected records

Source
BlockScheduling.scala