org.sigilaris.node.jvm.runtime.consensus.hotstuff.Vote
See theVote companion class
object Vote
Companion for Vote, providing signing and identity operations.
Attributes
- Companion
- class
- Source
- Artifacts.scala
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Vote.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
Recomputes the vote ID from the vote's fields, for verification purposes.
Recomputes the vote ID from the vote's fields, for verification purposes.
Attributes
- Source
- Artifacts.scala
Signs an unsigned vote using the given key pair.
Signs an unsigned vote using the given key pair.
Value parameters
- keyPair
-
the signer's key pair
- unsigned
-
the vote to sign
Attributes
- Returns
-
the signed vote or a validation failure
- Source
- Artifacts.scala
Returns the canonical bytes to be signed for the given unsigned vote.
Returns the canonical bytes to be signed for the given unsigned vote.
Attributes
- Source
- Artifacts.scala
Givens
Givens
Attributes
- Source
- Artifacts.scala
In this article