Proposal

org.sigilaris.node.jvm.runtime.consensus.hotstuff.Proposal
See theProposal companion class
object Proposal

Companion for Proposal, providing signing and identity operations.

Attributes

Companion
class
Source
Artifacts.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Proposal.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

def recomputeId(proposal: Proposal): ProposalId

Recomputes the proposal ID from the proposal's fields, for verification purposes.

Recomputes the proposal ID from the proposal's fields, for verification purposes.

Attributes

Source
Artifacts.scala
def sign(unsigned: UnsignedProposal, keyPair: KeyPair): Either[HotStuffValidationFailure, Proposal]

Signs an unsigned proposal using the given key pair.

Signs an unsigned proposal using the given key pair.

Value parameters

keyPair

the signer's key pair

unsigned

the proposal to sign

Attributes

Returns

the signed proposal or a validation failure

Source
Artifacts.scala
def signBytes(unsigned: UnsignedProposal): ByteVector

Returns the canonical bytes to be signed for the given unsigned proposal.

Returns the canonical bytes to be signed for the given unsigned proposal.

Attributes

Source
Artifacts.scala

Givens

Givens