org.sigilaris.node.jvm.runtime.consensus.hotstuff.ValidatorSet
See theValidatorSet companion object
An ordered, deduplicated set of consensus validators with quorum calculation support.
Attributes
- Companion
- object
- Source
- Artifacts.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Checks whether the set contains a validator with the given ID.
Checks whether the set contains a validator with the given ID.
Value parameters
- validatorId
-
the validator identity to check
Attributes
- Returns
-
true if the validator is present
- Source
- Artifacts.scala
Looks up a validator member by ID.
Looks up a validator member by ID.
Value parameters
- validatorId
-
the validator identity to look up
Attributes
- Returns
-
the member if present
- Source
- Artifacts.scala
Returns all validator members in insertion order.
Returns the minimum number of votes needed for a quorum (2f+1 for 3f+1 validators).
Returns the minimum number of votes needed for a quorum (2f+1 for 3f+1 validators).
Attributes
- Source
- Artifacts.scala
Concrete fields
The canonical hash of this validator set, computed lazily.
In this article