BootstrapTrustRoot

org.sigilaris.node.jvm.runtime.consensus.hotstuff.BootstrapTrustRoot
See theBootstrapTrustRoot companion trait

Companion for BootstrapTrustRoot, providing factory methods for different trust root kinds.

Attributes

Companion
trait
Source
Bootstrap.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class StaticValidatorSet(validatorSet: ValidatorSet) extends BootstrapTrustRoot

A trust root based on a static validator set with no anchor window.

A trust root based on a static validator set with no anchor window.

Attributes

Source
Bootstrap.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class TrustedCheckpoint(window: HotStuffWindow, validatorSet: ValidatorSet) extends BootstrapTrustRoot

A trust root anchored at a specific consensus window with a trusted checkpoint.

A trust root anchored at a specific consensus window with a trusted checkpoint.

Attributes

Source
Bootstrap.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class WeakSubjectivityAnchor(window: HotStuffWindow, validatorSet: ValidatorSet, freshUntil: Instant) extends BootstrapTrustRoot

A trust root with a weak subjectivity anchor that expires at a given instant.

A trust root with a weak subjectivity anchor that expires at a given instant.

Attributes

Source
Bootstrap.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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

Creates a static validator set trust root.

Creates a static validator set trust root.

Attributes

Source
Bootstrap.scala
def trustedCheckpoint(window: HotStuffWindow, validatorSet: ValidatorSet): Either[String, BootstrapTrustRoot]

Creates a trusted checkpoint trust root, validating the window against the validator set.

Creates a trusted checkpoint trust root, validating the window against the validator set.

Attributes

Source
Bootstrap.scala
def weakSubjectivityAnchor(window: HotStuffWindow, validatorSet: ValidatorSet, freshUntil: Instant): Either[String, BootstrapTrustRoot]

Creates a weak subjectivity anchor trust root with a freshness deadline.

Creates a weak subjectivity anchor trust root with a freshness deadline.

Attributes

Source
Bootstrap.scala