HotStuffBootstrapConfig

org.sigilaris.node.jvm.runtime.consensus.hotstuff.HotStuffBootstrapConfig
See theHotStuffBootstrapConfig companion object
final case class HotStuffBootstrapConfig(role: LocalNodeRole, validatorSet: ValidatorSet, holders: Vector[ValidatorKeyHolder], localKeys: Map[ValidatorId, KeyPair], gossipPolicy: HotStuffGossipPolicy, sinkRetention: HotStuffArtifactSinkRetention, bootstrapTrustRootOverride: Option[BootstrapTrustRoot], historicalValidatorSets: Vector[ValidatorSet], historicalSyncEnabled: Boolean)

Configuration for bootstrapping a HotStuff consensus node.

Value parameters

bootstrapTrustRootOverride

optional override for the bootstrap trust root

gossipPolicy

the gossip topic policies

historicalSyncEnabled

whether historical backfill is enabled

historicalValidatorSets

previously active validator sets for cross-epoch verification

holders

the validator key holder bindings

localKeys

locally available signing keys by validator ID

role

the local node's role (validator or audit)

sinkRetention

the in-memory sink retention policy

validatorSet

the current active validator set

Attributes

Companion
object
Source
HotStuffBootstrapConfig.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Returns the effective bootstrap trust root, using the override if present.

Returns the effective bootstrap trust root, using the override if present.

Attributes

Source
HotStuffBootstrapConfig.scala

Returns the deduplicated inventory of validator sets for cross-epoch lookups.

Returns the deduplicated inventory of validator sets for cross-epoch lookups.

Attributes

Source
HotStuffBootstrapConfig.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product