ProposalTxSet

org.sigilaris.node.jvm.runtime.consensus.hotstuff.ProposalTxSet
See theProposalTxSet companion class
object ProposalTxSet

Companion for ProposalTxSet, providing canonicalization and wire encoding.

Attributes

Companion
class
Source
Artifacts.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

Returns a canonically ordered copy of the given transaction set.

Returns a canonically ordered copy of the given transaction set.

Attributes

Source
Artifacts.scala
def canonicalize(txIds: Iterable[StableArtifactId]): Vector[StableArtifactId]

Deduplicates and sorts transaction IDs into canonical order.

Deduplicates and sorts transaction IDs into canonical order.

Attributes

Source
Artifacts.scala

Returns the first transaction ID that is not fixed-width wire compatible (not 32 bytes).

Returns the first transaction ID that is not fixed-width wire compatible (not 32 bytes).

Attributes

Source
Artifacts.scala
def fromTxs[TxRef : Hash](txs: Iterable[TxRef]): ProposalTxSet

Creates a canonical proposal tx set by hashing each transaction reference.

Creates a canonical proposal tx set by hashing each transaction reference.

Type parameters

TxRef

the transaction reference type, which must be hashable

Value parameters

txs

the transactions to include

Attributes

Returns

a canonically ordered proposal tx set

Source
Artifacts.scala
def isCanonical(txSet: ProposalTxSet): Boolean

Checks whether the transaction set is already in canonical order with no duplicates.

Checks whether the transaction set is already in canonical order with no duplicates.

Attributes

Source
Artifacts.scala

Concrete fields

An empty proposal transaction set.

An empty proposal transaction set.

Attributes

Source
Artifacts.scala