HotStuffPacemakerCanonicalEncoding

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

Canonical encoding and hashing operations for pacemaker artifacts (timeout votes and new views).

Attributes

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

Members list

Value members

Concrete methods

def newViewId(window: HotStuffWindow, sender: ValidatorId, nextLeader: ValidatorId, highestKnownQc: QuorumCertificate, timeoutCertificate: TimeoutCertificate, signature: Signature): UInt256

Attributes

Source
Pacemaker.scala
def newViewSignBytes(unsigned: UnsignedNewView): ByteVector

Attributes

Source
Pacemaker.scala
def sign(signBytes: ByteVector, keyPair: KeyPair): Either[HotStuffValidationFailure, Signature]

Attributes

Source
Pacemaker.scala
def timeoutVoteId(subject: TimeoutVoteSubject, voter: ValidatorId, signature: Signature): UInt256

Attributes

Source
Pacemaker.scala
def timeoutVoteSignBytes(unsigned: UnsignedTimeoutVote): ByteVector

Attributes

Source
Pacemaker.scala