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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article