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

HotStuff consensus protocol implementation for the Sigilaris node runtime.

Attributes

Members list

Type members

Classlikes

Compatibility provider that accepts all proposal vote requests.

Compatibility provider that accepts all proposal vote requests.

Attributes

Source
ApplicationProposalValidation.scala
Supertypes
class Object
trait Matchable
class Any
final case class ApplicationGossipTopic[F[_], A](topic: GossipTopic, source: GossipArtifactSource[F, A], sink: GossipArtifactSink[F, A], contract: GossipTopicContract[A], policy: ApplicationGossipTopicPolicy)

Registration for an embedder-owned application topic sharing the HotStuff peer gossip session.

Registration for an embedder-owned application topic sharing the HotStuff peer gossip session.

Attributes

Source
HotStuffApplicationGossip.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ApplicationGossipTopicPolicy(catchUpRetentionHint: Option[Duration])

Retention and catch-up policy hints for an embedder-owned application gossip topic.

Retention and catch-up policy hints for an embedder-owned application gossip topic.

The source remains responsible for retaining artifacts and serving them by stable ID. This policy records the contract Sigilaris should expose at the HotStuff peer-gossip boundary.

Attributes

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

Companion for ApplicationGossipTopicPolicy.

Companion for ApplicationGossipTopicPolicy.

Attributes

Companion
class
Source
HotStuffApplicationGossip.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Provides an application-neutral view over proposals, where the block body is derived entirely from the carried transaction set without application-specific logic.

Provides an application-neutral view over proposals, where the block body is derived entirely from the carried transaction set without application-specific logic.

Attributes

Source
ApplicationNeutralProposalView.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Reasons a block record can be rejected during conflict-free scheduling.

Reasons a block record can be rejected during conflict-free scheduling.

Attributes

Source
BlockScheduling.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class BootstrapChainDiagnostics(bestFinalized: Option[SnapshotAnchor], selectedAnchor: Option[SnapshotAnchor], pinnedAnchor: Option[SnapshotAnchor], voteReadiness: BootstrapVoteReadiness, finalizationSafetyFaults: Vector[FinalizedAnchorSafetyFault])

Diagnostics for a single chain's bootstrap progress.

Diagnostics for a single chain's bootstrap progress.

Attributes

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

Coordinates the full bootstrap process: discovery, snapshot sync, and forward catch-up.

Coordinates the full bootstrap process: discovery, snapshot sync, and forward catch-up.

Attributes

Companion
object
Source
BootstrapCoordinator.scala
Supertypes
class Object
trait Matchable
class Any

Companion for BootstrapCoordinator.

Companion for BootstrapCoordinator.

Attributes

Companion
trait
Source
BootstrapCoordinator.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class BootstrapCoordinatorFailure(reason: String, detail: Option[String])

Represents a failure during bootstrap coordination.

Represents a failure during bootstrap coordination.

Value parameters

detail

optional human-readable detail

reason

a short identifier for the failure

Attributes

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

Companion for BootstrapCoordinatorFailure.

Companion for BootstrapCoordinatorFailure.

Attributes

Companion
class
Source
BootstrapCoordinator.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class BootstrapCoordinatorResult(anchor: FinalizedAnchorSuggestion, snapshot: SnapshotSyncResult, forwardCatchUp: ForwardCatchUpResult, diagnostics: BootstrapDiagnostics)

The successful result of a full bootstrap coordination run.

The successful result of a full bootstrap coordination run.

Attributes

Source
BootstrapCoordinator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class BootstrapDiagnostics(phase: BootstrapPhase, chains: Map[ChainId, BootstrapChainDiagnostics], retryAttempts: Int, nextRetryAt: Option[Instant], lastFailure: Option[String], historicalBackfill: HistoricalBackfillStatus)

Aggregate diagnostics for the entire bootstrap process across all chains.

Aggregate diagnostics for the entire bootstrap process across all chains.

Attributes

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

Companion for BootstrapDiagnostics.

Companion for BootstrapDiagnostics.

Attributes

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

Provides access to the current bootstrap diagnostics.

Provides access to the current bootstrap diagnostics.

Attributes

Companion
object
Source
Bootstrap.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Companion for BootstrapDiagnosticsSource.

Companion for BootstrapDiagnosticsSource.

Attributes

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

The current phase of the bootstrap process.

The current phase of the bootstrap process.

Attributes

Source
Bootstrap.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class BootstrapRetryPolicy(baseDelay: Duration, maxDelay: Duration)

Controls retry timing for bootstrap coordination attempts.

Controls retry timing for bootstrap coordination attempts.

Value parameters

baseDelay

the base delay between retries

maxDelay

the maximum delay cap

Attributes

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

Companion for BootstrapRetryPolicy.

Companion for BootstrapRetryPolicy.

Attributes

Companion
class
Source
BootstrapCoordinator.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class BootstrapSessionBinding(peer: PeerIdentity, sessionId: DirectionalSessionId, authenticatedPeer: PeerIdentity)

Binds a bootstrap session to a peer identity for authenticated communication.

Binds a bootstrap session to a peer identity for authenticated communication.

Value parameters

authenticatedPeer

the authenticated peer identity

peer

the target peer identity

sessionId

the directional session identifier

Attributes

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

Companion for BootstrapSessionBinding.

Companion for BootstrapSessionBinding.

Attributes

Companion
class
Source
Bootstrap.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait BootstrapTrustRoot

The trust root used to bootstrap a node into the consensus protocol.

The trust root used to bootstrap a node into the consensus protocol.

Attributes

Companion
object
Source
Bootstrap.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

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

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

Attributes

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

Indicates whether a validator node is ready to vote on proposals.

Indicates whether a validator node is ready to vote on proposals.

Attributes

Source
Bootstrap.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class CertifiedBlockObservation(chainId: ChainId, proposalId: ProposalId, blockId: BlockId, height: BlockHeight, txSet: ProposalTxSet, window: HotStuffWindow, qcSubject: QuorumCertificateSubject, validatorSetHash: ValidatorSetHash, proposalObservedAt: Instant, certifiedObservedAt: Instant)

Records the local first observation timestamps for a certified block.

Records the local first observation timestamps for a certified block.

Attributes

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

Companion for CertifiedBlockObservation.

Companion for CertifiedBlockObservation.

Attributes

Companion
class
Source
Finalization.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ConflictFreeBlockBodySelection[TxRef, ResultRef, Event](accepted: Vector[BlockRecord[TxRef, ResultRef, Event]], rejected: Vector[RejectedBlockRecord[TxRef, ResultRef, Event]], aggregate: AggregateFootprint)

The result of selecting a conflict-free subset of block records for inclusion in a block body.

The result of selecting a conflict-free subset of block records for inclusion in a block body.

Type parameters

Event

the event type

ResultRef

the result reference type

TxRef

the transaction reference type

Value parameters

accepted

records accepted into the block body

aggregate

the accumulated scheduling footprint

rejected

records rejected due to conflicts or compatibility

Attributes

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

Selects a conflict-free subset of candidate block records for block body inclusion.

Selects a conflict-free subset of candidate block records for block body inclusion.

Attributes

Source
BlockScheduling.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class EquivocationKey(chainId: ChainId, validatorId: ValidatorId, height: HotStuffHeight, view: HotStuffView)

Key for detecting equivocation (double-voting) by a validator in a specific window.

Key for detecting equivocation (double-voting) by a validator in a specific window.

Attributes

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

Companion for EquivocationKey.

Companion for EquivocationKey.

Attributes

Companion
class
Source
Policy.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class FinalizationTrackerSnapshot(bestFinalized: Option[FinalizedAnchorSuggestion], safetyFaults: Vector[FinalizedAnchorSafetyFault])

A snapshot of finalization tracking state, including the best finalized and any safety faults.

A snapshot of finalization tracking state, including the best finalized and any safety faults.

Attributes

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

Companion for FinalizationTrackerSnapshot.

Companion for FinalizationTrackerSnapshot.

Attributes

Companion
class
Source
Finalization.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class FinalizedAnchorObservation(chainId: ChainId, proposalId: ProposalId, blockId: BlockId, height: BlockHeight, childProposalId: ProposalId, grandchildProposalId: ProposalId, validatorSetHash: ValidatorSetHash, proposalObservedAt: Instant, certifiedObservedAt: Instant, childProposalObservedAt: Instant, childCertifiedObservedAt: Instant, grandchildProposalObservedAt: Instant, finalizedObservedAt: Instant)

Records the local first observation timestamps for a finalized anchor.

Records the local first observation timestamps for a finalized anchor.

Attributes

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

Companion for FinalizedAnchorObservation.

Companion for FinalizedAnchorObservation.

Attributes

Companion
class
Source
Finalization.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class FinalizedAnchorSafetyFault(chainId: ChainId, height: BlockHeight, conflictingAnchors: Vector[SnapshotAnchor])

Records a safety fault where conflicting blocks were finalized at the same height.

Records a safety fault where conflicting blocks were finalized at the same height.

Attributes

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

Companion for FinalizedAnchorSafetyFault.

Companion for FinalizedAnchorSafetyFault.

Attributes

Companion
class
Source
Finalization.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class FinalizedAnchorSuggestion(proposal: Proposal, finalizedProof: FinalizedProof)

A suggestion for a finalized anchor, consisting of a proposal and its three-chain proof.

A suggestion for a finalized anchor, consisting of a proposal and its three-chain proof.

Value parameters

finalizedProof

the child and grandchild proposals proving finality

proposal

the anchor proposal that has been finalized

Attributes

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

Service for querying the best finalized anchor suggestion from peers.

Service for querying the best finalized anchor suggestion from peers.

Attributes

Source
Bootstrap.scala
Supertypes
class Object
trait Matchable
class Any
final case class FinalizedAnchorVerificationFailure(reason: String, detail: Option[String])

Represents a failure when verifying a finalized anchor suggestion.

Represents a failure when verifying a finalized anchor suggestion.

Attributes

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

Companion for FinalizedAnchorVerificationFailure.

Companion for FinalizedAnchorVerificationFailure.

Attributes

Companion
class
Source
Finalization.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class FinalizedProof(child: Proposal, grandchild: Proposal)

A proof of finalization consisting of a child and grandchild proposal that extend an anchor.

A proof of finalization consisting of a child and grandchild proposal that extend an anchor.

Value parameters

child

the child proposal in the finalization chain

grandchild

the grandchild proposal completing the three-chain proof

Attributes

Source
Bootstrap.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class FinalizedTxProposalObservation(proposalId: ProposalId, blockId: BlockId, height: BlockHeight, txSet: ProposalTxSet)

A finalized proposal and its application-neutral tx ids.

A finalized proposal and its application-neutral tx ids.

Attributes

Source
Finalization.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class FinalizedTxRangeObservation(chainId: ChainId, previousFinalized: Option[SnapshotAnchor], newFinalized: SnapshotAnchor, finalizedObservedAt: Instant, proposals: Vector[FinalizedTxProposalObservation])

The newly finalized proposal range for a finalization advancement.

The newly finalized proposal range for a finalization advancement.

Attributes

Source
Finalization.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ForwardCatchUpMaterialization(chainId: ChainId, anchor: SnapshotAnchor, applied: Vector[Proposal], queued: Vector[Proposal], controlBatches: Vector[ControlBatch], frontierBlockId: BlockId, frontierHeight: BlockHeight, voteReadiness: BootstrapVoteReadiness, lastUpdatedAt: Instant)

Captures the materialized state of a forward catch-up for persistence or replay.

Captures the materialized state of a forward catch-up for persistence or replay.

Attributes

Source
Materialization.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ForwardCatchUpResult(applied: Vector[Proposal], queued: Vector[Proposal], controlBatches: Vector[ControlBatch], frontierBlockId: BlockId, frontierHeight: BlockHeight, voteReadiness: BootstrapVoteReadiness)

The result of a forward catch-up operation, tracking applied and queued proposals.

The result of a forward catch-up operation, tracking applied and queued proposals.

Attributes

Source
BootstrapCoordinator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait ForwardCatchUpStore[F[_]]

Stores forward catch-up materializations keyed by chain ID.

Stores forward catch-up materializations keyed by chain ID.

Attributes

Companion
object
Source
Materialization.scala
Supertypes
class Object
trait Matchable
class Any

Companion for ForwardCatchUpStore.

Companion for ForwardCatchUpStore.

Attributes

Companion
trait
Source
Materialization.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HistoricalArchiveEntry(proposal: Proposal, source: HistoricalArchiveSource, storedAt: Instant)

An entry in the historical proposal archive.

An entry in the historical proposal archive.

Value parameters

proposal

the archived proposal

source

the source that produced this entry

storedAt

the time this entry was stored

Attributes

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

The source that produced a historical archive entry.

The source that produced a historical archive entry.

Attributes

Source
Materialization.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HistoricalBackfillPolicy(batchSize: Int, interBatchDelay: Duration, priority: HistoricalBackfillPriority, archiveSource: HistoricalArchiveSource, enabled: Boolean)

Configuration for historical backfill behavior.

Configuration for historical backfill behavior.

Value parameters

archiveSource

the archive source label for stored proposals

batchSize

number of proposals to fetch per batch

enabled

whether historical backfill is enabled

interBatchDelay

delay between consecutive batches

priority

the backfill priority level

Attributes

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

Companion for HistoricalBackfillPolicy.

Companion for HistoricalBackfillPolicy.

Attributes

Companion
class
Source
HistoricalBackfillWorker.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Priority level for historical backfill operations.

Priority level for historical backfill operations.

Attributes

Source
Bootstrap.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HistoricalBackfillProgress(anchor: SnapshotAnchor, nextBeforeBlockId: BlockId, nextBeforeHeight: BlockHeight, fetchedProposalCount: Long, lastUpdatedAt: Instant)

Tracks the progress of a historical backfill operation.

Tracks the progress of a historical backfill operation.

Value parameters

anchor

the snapshot anchor being backfilled from

fetchedProposalCount

total number of proposals fetched so far

lastUpdatedAt

the time of the last progress update

nextBeforeBlockId

the next block ID to fetch before

nextBeforeHeight

the next height to fetch before

Attributes

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

Service for fetching historical proposals before a given block for backfill.

Service for fetching historical proposals before a given block for backfill.

Attributes

Source
Bootstrap.scala
Supertypes
class Object
trait Matchable
class Any

The lifecycle status of a historical backfill operation.

The lifecycle status of a historical backfill operation.

Attributes

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

A worker that fetches historical proposals before a snapshot anchor, walking backward to genesis.

A worker that fetches historical proposals before a snapshot anchor, walking backward to genesis.

Attributes

Companion
object
Source
HistoricalBackfillWorker.scala
Supertypes
class Object
trait Matchable
class Any

Companion for HistoricalBackfillWorker.

Companion for HistoricalBackfillWorker.

Attributes

Companion
trait
Source
HistoricalBackfillWorker.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Persistent archive for historical proposals, supporting list, put, remove, and deduplication.

Persistent archive for historical proposals, supporting list, put, remove, and deduplication.

Attributes

Companion
object
Source
Materialization.scala
Supertypes
class Object
trait Matchable
class Any

Companion for HistoricalProposalArchive, providing in-memory and SwayDB-backed implementations.

Companion for HistoricalProposalArchive, providing in-memory and SwayDB-backed implementations.

Attributes

Companion
trait
Source
Materialization.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
ApplicationProposalAssembly.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
ApplicationProposalAssembly.scala
Supertypes
class Object
trait Matchable
class Any
final class HotStuffApplicationVoting[F[_]]

Closed ordinary-runtime signing adapter. V2 never falls back to direct signing when source, preimage, exact readiness or durable storage fails.

Closed ordinary-runtime signing adapter. V2 never falls back to direct signing when source, preimage, exact readiness or durable storage fails.

Attributes

Companion
object
Source
ApplicationVoting.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
ApplicationVoting.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffApplicationVotingContext[F[_]](manifest: ProtocolManifest, safety: JournalSafetyStore[F], requests: ApplicationRequestVerifier[F], artifacts: ArtifactAuthentication, exact: Option[HotStuffExactVotingContext[F]])

Attributes

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

Attributes

Source
ApplicationVoting.scala
Supertypes
class Object
trait Matchable
class Any

Publishes HotStuff gossip artifacts to the local gossip source.

Publishes HotStuff gossip artifacts to the local gossip source.

Attributes

Source
InMemoryHotStuffGossipBridge.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Retention policy for the in-memory HotStuff artifact sink.

Retention policy for the in-memory HotStuff artifact sink.

retainedRejectedEventSamples is reserved for a bounded rejected-body sample if one is added later. The current sink records rejection counters only.

Attributes

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

Attributes

Companion
class
Source
InMemoryHotStuffGossipBridge.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

Companion
class
Source
InMemoryHotStuffGossipBridge.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Validates block bodies for conflict-free scheduling compliance.

Validates block bodies for conflict-free scheduling compliance.

Attributes

Source
BlockScheduling.scala
Supertypes
class Object
trait Matchable
class Any
Self type
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.

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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Companion for HotStuffBootstrapConfig, providing configuration loading from Typesafe Config.

Companion for HotStuffBootstrapConfig, providing configuration loading from Typesafe Config.

Attributes

Companion
class
Source
HotStuffBootstrapConfig.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Manages the full lifecycle of HotStuff bootstrap, including stores, coordinator creation, and shutdown.

Manages the full lifecycle of HotStuff bootstrap, including stores, coordinator creation, and shutdown.

Attributes

Companion
object
Source
HotStuffBootstrapLifecycle.scala
Supertypes
class Object
trait Matchable
class Any

Companion for HotStuffBootstrapLifecycle, providing in-memory construction.

Companion for HotStuffBootstrapLifecycle, providing in-memory construction.

Attributes

Companion
trait
Source
HotStuffBootstrapLifecycle.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffBootstrapServices[F[_]](trustRoot: BootstrapTrustRoot, validatorSetLookup: ValidatorSetLookup[F], finalizedAnchorSuggestions: FinalizedAnchorSuggestionService[F], snapshotNodeFetch: SnapshotNodeFetchService[F], proposalReplay: ProposalReplayService[F], historicalBackfill: HistoricalBackfillService[F], diagnostics: BootstrapDiagnosticsSource[F])

Aggregates all services required for HotStuff consensus bootstrap.

Aggregates all services required for HotStuff consensus bootstrap.

Attributes

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

Companion for HotStuffBootstrapServices.

Companion for HotStuffBootstrapServices.

Attributes

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

Factory for constructing bootstrap services backed by in-memory artifact sinks.

Factory for constructing bootstrap services backed by in-memory artifact sinks.

Attributes

Source
Finalization.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffBootstrapTransportServices[F[_]](finalizedAnchorSuggestions: FinalizedAnchorSuggestionService[F], snapshotNodeFetch: SnapshotNodeFetchService[F], proposalReplay: ProposalReplayService[F], historicalBackfill: HistoricalBackfillService[F], proposalCatchUpReadiness: Option[ProposalCatchUpReadiness[F]])

Transport-layer bootstrap services, optionally overriding catch-up readiness.

Transport-layer bootstrap services, optionally overriding catch-up readiness.

Attributes

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

Companion for HotStuffBootstrapTransportServices.

Companion for HotStuffBootstrapTransportServices.

Attributes

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

Canonical encoding and hashing operations for HotStuff consensus artifacts.

Canonical encoding and hashing operations for HotStuff consensus artifacts.

Attributes

Source
Artifacts.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffDeploymentTarget

Deployment target parameters for block production timing.

Deployment target parameters for block production timing.

Attributes

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

Companion for HotStuffDeploymentTarget.

Companion for HotStuffDeploymentTarget.

Attributes

Companion
class
Source
Policy.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Diagnostic classification for the dominant local latency bucket between a certified anchor and its finalization observation.

Diagnostic classification for the dominant local latency bucket between a certified anchor and its finalization observation.

Attributes

Source
Finalization.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffDescendantFinalityTimingBreakdown(certifiedToChildProposal: Duration, childProposalToChildCertified: Duration, childCertifiedToGrandchildProposal: Duration, grandchildProposalToFinalized: Duration)

Local descendant-finality latency segments for a certified tx-bearing anchor. The segments are intentionally local-observation measurements, not a cross-node SLA clock.

Local descendant-finality latency segments for a certified tx-bearing anchor. The segments are intentionally local-observation measurements, not a cross-node SLA clock.

Attributes

Source
Finalization.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffExactVotingContext[F[_]](store: JournalExactPlanStore[F], requests: ExactExecutionRequestVerifier[F])

The source adapter resolves actual retained exact candidates and producer locations. The dispatcher still checks its returned proposal against the proposal being voted on, and executes every registered pipeline separately.

The source adapter resolves actual retained exact candidates and producer locations. The dispatcher still checks its returned proposal against the proposal being voted on, and executes every registered pipeline separately.

Attributes

Source
ApplicationVoting.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffExecutedApplicationCandidate(plan: ExecutionPlan, normalizedResults: Vector[Bytes], postStateRoots: Vector[Hash])

Output of the configured deterministic application executor. This is uncommitted working state; no field means canonical application/finality. The full source/input/instrumentation closure is verified again before an ordinary vote through ApplicationRequestVerifier and durable voting.

Output of the configured deterministic application executor. This is uncommitted working state; no field means canonical application/finality. The full source/input/instrumentation closure is verified again before an ordinary vote through ApplicationRequestVerifier and durable voting.

Attributes

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

Attributes

Companion
object
Source
ApplicationProposalAssembly.scala
Supertypes
class Object
trait Matchable
class Any

Complete canonical plan bytes are immutable and forced before publication. Backfill bytes have no authority until the selected V2 codec and root match.

Complete canonical plan bytes are immutable and forced before publication. Backfill bytes have no authority until the selected V2 codec and root match.

Attributes

Companion
trait
Source
ApplicationProposalAssembly.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffFinalityDriveAnchor(chainId: ChainId, proposalId: ProposalId, blockId: BlockId, height: BlockHeight, window: HotStuffWindow, txIdCount: Int)

Certified tx-bearing anchor selected for bounded descendant finality drive.

Certified tx-bearing anchor selected for bounded descendant finality drive.

Attributes

Source
FinalityDrive.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffFinalityDrivePolicy

Runtime-owned bounded descendant drive policy.

Runtime-owned bounded descendant drive policy.

The policy is liveness-only. It never changes vote safety, QC acceptance, finalization rules, or branch validation.

Attributes

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

Companion for HotStuffFinalityDrivePolicy.

Companion for HotStuffFinalityDrivePolicy.

Attributes

Companion
class
Source
FinalityDrive.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Tracks finalization by detecting three-chain commit proofs from observed proposals.

Tracks finalization by detecting three-chain commit proofs from observed proposals.

Attributes

Source
Finalization.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Verifies finalized anchor suggestions against the validator set and selects the highest verified.

Verifies finalized anchor suggestions against the validator set and selects the highest verified.

Attributes

Source
Finalization.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Plans forward catch-up by applying replayed and live proposals in chain order.

Plans forward catch-up by applying replayed and live proposals in chain order.

Attributes

Source
BootstrapCoordinator.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

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

Companion for HotStuffGossipArtifact, providing topic/ID resolution and encoding.

Companion for HotStuffGossipArtifact, providing topic/ID resolution and encoding.

Attributes

Companion
enum
Source
HotStuffGossipBridge.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffGossipChainHeightWatermarkSnapshot(chainId: ChainId, height: BigNat)

Attributes

Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffGossipChainTopicCountSnapshot(chainId: ChainId, topic: GossipTopic, count: BigNat)

Attributes

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

Projection-local JSON codecs for diagnostics snapshots.

Projection-local JSON codecs for diagnostics snapshots.

Import these givens only at projected-diagnostics encode/decode call sites. The local BigNat and String codecs intentionally differ from the core codecs, and the local Vector decoder adds a diagnostics-specific entry cap. These can conflict if imported into a scope that also summons the default core JSON codecs. The value-type codecs for ChainId, GossipTopic, and ValidatorSetHash are likewise intended only for this projected diagnostics surface.

Attributes

Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
HotStuffGossipDiagnosticsProjection.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffGossipDiagnosticsProjectionMetrics(sourceVariableEntries: BigNat, sinkVariableEntries: BigNat, parentVariableEntries: BigNat, sourceEstimatedBytes: BigNat, sinkEstimatedBytes: BigNat, parentEstimatedBytes: BigNat)

Attributes

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

Attributes

Companion
class
Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

Companion
class
Source
HotStuffGossipDiagnosticsProjection.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Projection result.

Projection result.

warnings is the authoritative warning stream for callers because snapshot is absent when parent assembly fails. When a snapshot is present, snapshot.warnings mirrors this vector for self-contained status payloads.

Attributes

Source
HotStuffGossipDiagnosticsProjection.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffGossipDiagnosticsProjectionWarning(component: String, reason: String, message: Option[String])

Attributes

Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffGossipDiagnosticsSnapshot(source: Option[HotStuffGossipSourceDiagnosticsSnapshot], sink: Option[HotStuffGossipSinkDiagnosticsSnapshot], warnings: Vector[HotStuffGossipDiagnosticsProjectionWarning], metrics: HotStuffGossipDiagnosticsProjectionMetrics, projectionDroppedEntries: Vector[HotStuffGossipProjectionDroppedEntry], projectionDroppedEntryOverflowGroups: BigNat, projectionDroppedEntryOverflowCount: BigNat, emergencySuppressed: Boolean, emergencySuppressionReason: Option[String])

Attributes

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

Attributes

Companion
class
Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffGossipDiagnosticsWarningKey(component: String, reason: String, message: Option[String])

Attributes

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

Attributes

Companion
class
Source
HotStuffProjectedGossipDiagnostics.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffGossipPolicy(proposal: HotStuffTopicPolicy, vote: HotStuffTopicPolicy, timeoutVote: HotStuffTopicPolicy, newView: HotStuffTopicPolicy)

Aggregated gossip policies for all HotStuff artifact types.

Aggregated gossip policies for all HotStuff artifact types.

Attributes

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

Companion for HotStuffGossipPolicy.

Companion for HotStuffGossipPolicy.

Attributes

Companion
class
Source
HotStuffGossipBridge.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffGossipProjectionDroppedEntry(component: String, field: String, reason: String, context: Option[String], count: BigNat)

Attributes

Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffGossipSinkDiagnosticsSnapshot(policyMode: String, retentionPolicy: HotStuffSinkRetentionPolicySnapshot, retainedCounts: HotStuffSinkRetentionCountsSnapshot, prunedCounts: HotStuffSinkRetentionCountsSnapshot, retentionWatermarks: HotStuffSinkRetentionWatermarksSnapshot, relayedValidatedArtifactsByTopic: Vector[HotStuffGossipTopicCountSnapshot], duplicateArtifactsSuppressedByTopic: Vector[HotStuffGossipTopicCountSnapshot], rejectedArtifactsByTopicAndReason: Vector[HotStuffGossipTopicReasonCountSnapshot])

Attributes

Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffGossipSourceDiagnosticsSnapshot(retainedEventsLimitPerTopic: BigNat, retainedEventsByTopic: Vector[HotStuffGossipChainTopicCountSnapshot], appendedEventsByTopic: Vector[HotStuffGossipChainTopicCountSnapshot], prunedEventsByTopic: Vector[HotStuffGossipChainTopicCountSnapshot], readByIdMissesByTopic: Vector[HotStuffGossipChainTopicCountSnapshot], invalidCursorRejectionsByTopic: Vector[HotStuffGossipChainTopicCountSnapshot], staleCursorRejectionsByTopic: Vector[HotStuffGossipChainTopicCountSnapshot])

Attributes

Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffGossipTopicCountSnapshot(topic: GossipTopic, count: BigNat)

Attributes

Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffGossipTopicReasonCountSnapshot(topic: GossipTopic, reason: String, count: BigNat)

Attributes

Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffGossipWindowWatermarkSnapshot(chainId: ChainId, height: BigNat, view: BigNat, validatorSetHash: ValidatorSetHash)

Attributes

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

Companion for HotStuffHeight.

Companion for HotStuffHeight.

Attributes

Source
Policy.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Historical provenance is explicit even when old header bytes coincide. Selection comes from authenticated configuration/activation history, never from a remotely supplied version flag.

Historical provenance is explicit even when old header bytes coincide. Selection comes from authenticated configuration/activation history, never from a remotely supplied version flag.

Attributes

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

In-memory diagnostics handles for the gossip artifact source and sink.

In-memory diagnostics handles for the gossip artifact source and sink.

Attributes

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

Historical payload verification belongs to its authenticated artifact profile. A V1 integer alone cannot select the M1 versus M2 semantics.

Historical payload verification belongs to its authenticated artifact profile. A V1 integer alone cannot select the M1 versus M2 semantics.

Attributes

Companion
object
Source
ApplicationVoting.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
ApplicationVoting.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffMaintenanceAttempt(target: HotStuffMaintenanceTarget, attempt: Int, maxAttempts: Int, elapsed: Duration)

Attributes

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

Attributes

Source
MaintenanceFinalityDrive.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffMaintenanceObservation(target: Option[HotStuffMaintenanceTarget], finalization: Option[FinalizationTrackerSnapshot])

Attributes

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

Attributes

Companion
object
Source
MaintenanceFinalityDrive.scala
Supertypes
class Object
trait Matchable
class Any

The budget controls local work only. Exhaustion keeps the target and every safety claim intact; a genuine finalized tracker advance can still complete it. No transaction-bearing ancestor is required to request another round.

The budget controls local work only. Exhaustion keeps the target and every safety claim intact; a genuine finalized tracker advance can still complete it. No transaction-bearing ancestor is required to request another round.

Attributes

Companion
trait
Source
MaintenanceFinalityDrive.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Reads operator/drain targets and the actual trusted local finalization tracker. Remote heights, proposal heights, and clock estimates must never be substituted for that tracker. A restart derives the target from the retained drain command and reads finalized proof state before enabling the provider.

Reads operator/drain targets and the actual trusted local finalization tracker. Remote heights, proposal heights, and clock estimates must never be substituted for that tracker. A restart derives the target from the retained drain command and reads finalized proof state before enabling the provider.

Attributes

Source
MaintenanceFinalityDrive.scala
Supertypes
class Object
trait Matchable
class Any
final case class HotStuffMaintenanceTarget(requestId: Hash, context: DomainContext, finalizedHeight: Height)

A local liveness request, never a vote, finality, expiry, or release proof. The drain coordinator selects an inclusive finalized target strictly above every applicable signed deadline/legacy horizon before publishing this id.

A local liveness request, never a vote, finality, expiry, or release proof. The drain coordinator selects an inclusive finalized target strictly above every applicable signed deadline/legacy horizon before publishing this id.

Attributes

Source
MaintenanceFinalityDrive.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffNodeRuntime[F[_]](bootstrapInput: HotStuffRuntimeBootstrapInput, services: HotStuffRuntimeServices[F], diagnostics: Option[HotStuffInMemoryRuntimeDiagnostics[F]], bootstrapLifecycle: Option[HotStuffBootstrapLifecycle[F]], pacemakerSnapshot: Option[F[HotStuffPacemakerRuntimeSnapshot]], pacemakerWakeUp: Option[F[Unit]], proposalValidationConfig: HotStuffProposalValidationRuntimeConfig[F], txUniquenessConfig: HotStuffProposalTxUniquenessRuntimeConfig, pacemakerPolicy: HotStuffPacemakerPolicy, finalityDrivePolicy: HotStuffFinalityDrivePolicy, proposalDependencyConfig: HotStuffProposalApplicationDependencyRuntimeConfig[F])(using evidence$1: Sync[F])

The assembled HotStuff consensus node runtime, providing artifact emission, bootstrap, and diagnostics.

The assembled HotStuff consensus node runtime, providing artifact emission, bootstrap, and diagnostics.

Attributes

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

Companion for HotStuffNodeRuntime, providing validation and factory methods.

Companion for HotStuffNodeRuntime, providing validation and factory methods.

Attributes

Companion
class
Source
HotStuffNodeRuntime.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Core pacemaker utilities for deterministic leader election and window advancement.

Core pacemaker utilities for deterministic leader election and window advancement.

Attributes

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

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

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

Attributes

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

Commands emitted by the pacemaker runtime to be executed by the integration driver.

Commands emitted by the pacemaker runtime to be executed by the integration driver.

Attributes

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

Diagnostic events emitted by the pacemaker for monitoring and alerting.

Diagnostic events emitted by the pacemaker for monitoring and alerting.

Attributes

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

Companion for HotStuffPacemakerDiagnostic.

Companion for HotStuffPacemakerDiagnostic.

Attributes

Companion
enum
Source
PacemakerRuntime.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffPacemakerEntrySnapshot(state: Option[HotStuffPacemakerState], diagnostics: Vector[HotStuffPacemakerDiagnostic], proposalEligibility: Option[HotStuffPacemakerProposalEligibility], emittedProposalWindow: Option[HotStuffWindow], proposalEmissionReservationWindow: Option[HotStuffWindow])

A snapshot of a single pacemaker entry's state for diagnostics.

A snapshot of a single pacemaker entry's state for diagnostics.

Attributes

Source
PacemakerIntegrationRuntime.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffPacemakerKey(chainId: ChainId, localValidator: ValidatorId)

Identifies a pacemaker entry by chain and local validator.

Identifies a pacemaker entry by chain and local validator.

Attributes

Source
PacemakerIntegrationRuntime.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffPacemakerPolicy

Configuration for pacemaker timeout behavior.

Configuration for pacemaker timeout behavior.

Value parameters

baseTimeout

the base timeout duration for a view

elevatedTimeoutAlertThreshold

consecutive timeouts before alerting

jitterStep

the per-slot jitter step duration

maxBackoffExponent

the maximum exponential backoff exponent

maxJitterSlots

the maximum number of jitter slots

Attributes

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

Companion for HotStuffPacemakerPolicy.

Companion for HotStuffPacemakerPolicy.

Attributes

Companion
class
Source
PacemakerRuntime.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Describes the local validator's eligibility to propose in the current window.

Describes the local validator's eligibility to propose in the current window.

Attributes

Source
PacemakerRuntime.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffPacemakerRuntime(localValidator: ValidatorId, validatorSet: ValidatorSet, policy: HotStuffPacemakerPolicy)

Pure pacemaker runtime that drives state transitions for a single local validator.

Pure pacemaker runtime that drives state transitions for a single local validator.

Attributes

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

Companion for HotStuffPacemakerRuntime.

Companion for HotStuffPacemakerRuntime.

Attributes

Companion
class
Source
PacemakerRuntime.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

A snapshot of all pacemaker entries for diagnostics and testing.

A snapshot of all pacemaker entries for diagnostics and testing.

Attributes

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

Companion for HotStuffPacemakerRuntimeSnapshot.

Companion for HotStuffPacemakerRuntimeSnapshot.

Attributes

Companion
class
Source
PacemakerIntegrationRuntime.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffPacemakerState(activeWindow: HotStuffWindow, currentLeader: ValidatorId, highestKnownQc: QuorumCertificate, timeoutDeadline: Instant, timeoutVotes: TimeoutVoteAccumulator, timeoutCertificate: Option[TimeoutCertificate], localTimeoutVoteRequested: Boolean, localTimeoutVote: Option[TimeoutVote], localNewViewRequested: Boolean, bootstrapHoldReason: Option[String], consecutiveTimeoutWindows: Int)

The mutable state of a pacemaker entry, tracking the active window, timeout, and local vote state.

The mutable state of a pacemaker entry, tracking the active window, timeout, and local vote state.

Attributes

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

The result of a pacemaker state transition, including new state, commands, and diagnostics.

The result of a pacemaker state transition, including new state, commands, and diagnostics.

Attributes

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

The outcome of a pacemaker state transition step.

The outcome of a pacemaker state transition step.

Attributes

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

Peer-gossip artifact envelope used when HotStuff consensus artifacts and embedder application artifacts share the same session.

Peer-gossip artifact envelope used when HotStuff consensus artifacts and embedder application artifacts share the same session.

Attributes

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

Composite artifact helpers for HotStuff peer gossip.

Composite artifact helpers for HotStuff peer gossip.

Attributes

Companion
enum
Source
HotStuffApplicationGossip.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Central policy constants and utility functions for the HotStuff consensus protocol.

Central policy constants and utility functions for the HotStuff consensus protocol.

Attributes

Source
Policy.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffPolicyViolation(reason: String, detail: Option[String]) extends StructuredFailureDiagnostic

Represents a policy violation during HotStuff consensus operations.

Represents a policy violation during HotStuff consensus operations.

Attributes

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

Companion for HotStuffPolicyViolation.

Companion for HotStuffPolicyViolation.

Attributes

Companion
class
Source
Policy.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Source
HotStuffProjectedGossipDiagnostics.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
HotStuffProjectedGossipDiagnostics.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

Companion
class
Source
HotStuffProjectedGossipDiagnostics.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

Companion
object
Source
ApplicationProposalAssembly.scala
Supertypes
class Object
trait Matchable
class Any

The ordinary runtime owns header/plan/body construction. Applications supply their deterministic executor and authenticated historical lookup adapters.

The ordinary runtime owns header/plan/body construction. Applications supply their deterministic executor and authenticated historical lookup adapters.

Attributes

Companion
trait
Source
ApplicationProposalAssembly.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffProposalApplicationDependency(proposalTxId: StableArtifactId, topic: GossipTopic, artifactId: StableArtifactId, exactScope: ExactKnownSetScope, estimatedBytes: Option[Long], relation: HotStuffProposalDependencyRelation, criticality: HotStuffProposalDependencyCriticality, recoveryMode: HotStuffProposalDependencyRecoveryMode)

Application artifact dependency for a HotStuff proposal tx id.

Application artifact dependency for a HotStuff proposal tx id.

Attributes

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

Companion helpers for proposal application dependencies.

Companion helpers for proposal application dependencies.

Attributes

Companion
class
Source
ProposalApplicationDependency.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Non-throwing dependency resolution outcome.

Non-throwing dependency resolution outcome.

Attributes

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

Which runtime path is resolving dependencies.

Which runtime path is resolving dependencies.

Attributes

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

Resolver supplied by embedders to map proposal tx ids to application artifacts.

Resolver supplied by embedders to map proposal tx ids to application artifacts.

Attributes

Companion
object
Source
ProposalApplicationDependency.scala
Supertypes
class Object
trait Matchable
class Any

Default empty resolver implementation.

Default empty resolver implementation.

Attributes

Companion
trait
Source
ProposalApplicationDependency.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Runtime wiring for proposal application dependency resolution.

Runtime wiring for proposal application dependency resolution.

Attributes

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

Companion for proposal dependency runtime wiring.

Companion for proposal dependency runtime wiring.

Attributes

Companion
class
Source
ProposalApplicationDependency.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Receiver-side proposal dependency backfill hook.

Receiver-side proposal dependency backfill hook.

Implementations prepare bounded RequestByIdExact control batches and diagnostics. Embedders can deliver the returned batches to the source peer without blocking the current vote-validation attempt on network I/O.

Attributes

Companion
object
Source
ProposalDependencyBackfill.scala
Supertypes
class Object
trait Matchable
class Any

Companion for receiver-side proposal dependency backfill wiring.

Companion for receiver-side proposal dependency backfill wiring.

Attributes

Companion
trait
Source
ProposalDependencyBackfill.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffProposalDependencyBackfillDiagnostic(sourcePeer: PeerIdentity, proposalId: ProposalId, reason: HotStuffProposalDependencyBackfillDiagnosticReason, triggerReason: String, dependency: Option[HotStuffProposalApplicationDependency], scope: Option[ExactKnownSetScope], artifactId: Option[StableArtifactId], detail: Option[String])

Structured receiver-side backfill diagnostic.

Structured receiver-side backfill diagnostic.

Attributes

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

Structured receiver-side backfill diagnostic reason.

Structured receiver-side backfill diagnostic reason.

Attributes

Source
ProposalDependencyBackfill.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffProposalDependencyBackfillFilter(requestByIdBackfillable: Vector[HotStuffProposalApplicationDependency], proactiveFanoutOnly: Vector[HotStuffProposalApplicationDependency], requiredProactiveFanoutOnly: Vector[HotStuffProposalApplicationDependency])

Result of filtering dependencies for the generic receiver backfill path.

Result of filtering dependencies for the generic receiver backfill path.

Attributes

Source
ProposalApplicationDependency.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffProposalDependencyBackfillPolicy(maxIdsPerControlBatch: Int, maxAttemptsPerDependency: Int, maxTrackedAttempts: Int)

Policy for receiver-side proposal dependency backfill.

Policy for receiver-side proposal dependency backfill.

Attributes

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

Companion defaults for receiver-side proposal dependency backfill.

Companion defaults for receiver-side proposal dependency backfill.

Attributes

Companion
class
Source
ProposalDependencyBackfill.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffProposalDependencyBackfillResult(controlBatches: Vector[ControlBatch], requested: Vector[HotStuffProposalApplicationDependency], proactiveFanoutOnly: Vector[HotStuffProposalApplicationDependency], requiredProactiveFanoutOnly: Vector[HotStuffProposalApplicationDependency], diagnostics: Vector[HotStuffProposalDependencyBackfillDiagnostic])

Result of preparing receiver-side proposal dependency backfill requests.

Result of preparing receiver-side proposal dependency backfill requests.

Attributes

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

Whether a dependency is required before a validator can vote.

Whether a dependency is required before a validator can vote.

Attributes

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

How a receiver may recover a missing dependency.

How a receiver may recover a missing dependency.

Attributes

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

Relationship between a proposal tx id and an application artifact.

Relationship between a proposal tx id and an application artifact.

Attributes

Source
ProposalApplicationDependency.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffProposalEmission[TxRef, ResultRef, Event](selection: ConflictFreeBlockBodySelection[TxRef, ResultRef, Event], view: BlockView[TxRef, ResultRef, Event], event: GossipEvent[HotStuffGossipArtifact])

The result of successfully emitting a proposal, including the conflict-free selection and block view.

The result of successfully emitting a proposal, including the conflict-free selection and block view.

Attributes

Source
RuntimeScheduling.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffProposalInput(parent: Option[BlockId], height: BlockHeight, stateRoot: StateRoot, bodyRoot: BodyRoot, timestamp: BlockTimestamp, txSet: ProposalTxSet, headerVersion: BlockHeaderVersion, executionPlanRoot: Option[ExecutionPlanRoot])

Application-neutral proposal input that Sigilaris can sign as a HotStuff proposal.

Application-neutral proposal input that Sigilaris can sign as a HotStuff proposal.

Attributes

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

Preserves the historical six-argument V1 construction contract.

Preserves the historical six-argument V1 construction contract.

Attributes

Companion
class
Source
ProposalInput.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffProposalInputBounds(maxTxIds: Option[Int])

Local bounds supplied to an application proposal input provider.

Local bounds supplied to an application proposal input provider.

Attributes

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

Companion for HotStuffProposalInputBounds.

Companion for HotStuffProposalInputBounds.

Attributes

Companion
class
Source
ProposalInput.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffProposalInputBranchAncestor(chainId: ChainId, proposalId: ProposalId, blockId: BlockId, height: BlockHeight, parentBlockId: Option[BlockId], window: HotStuffWindow, validatorSetHash: ValidatorSetHash, certifiedBy: QuorumCertificateSubject, txSet: ProposalTxSet)

A certified proposal on the candidate parent branch.

A certified proposal on the candidate parent branch.

Attributes

Source
ProposalInput.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffProposalInputBranchContext(parentBlockId: Option[BlockId], bestFinalizedBlockId: Option[BlockId], ancestors: Vector[HotStuffProposalInputBranchAncestor], complete: Boolean, unavailableReason: Option[String], unavailableDetail: Option[String])

Candidate parent-branch context for dependency-aware proposal input.

Candidate parent-branch context for dependency-aware proposal input.

Attributes

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

Companion for HotStuffProposalInputBranchContext.

Companion for HotStuffProposalInputBranchContext.

Attributes

Companion
class
Source
ProposalInput.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

A local decision made from a provider result and fallback policy.

A local decision made from a provider result and fallback policy.

Attributes

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

Companion for HotStuffProposalInputDecision.

Companion for HotStuffProposalInputDecision.

Attributes

Companion
enum
Source
ProposalInput.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Stable reason codes for dependency-aware proposal input providers.

Stable reason codes for dependency-aware proposal input providers.

Attributes

Source
ProposalInput.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Proposal input diagnostics intentionally exclude application payload bodies.

Proposal input diagnostics intentionally exclude application payload bodies.

Attributes

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

Explicit policy for preserving or forbidding legacy empty proposals.

Explicit policy for preserving or forbidding legacy empty proposals.

Attributes

Source
ProposalInput.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffProposalInputFinalityDrive(anchor: HotStuffFinalityDriveAnchor, descendantDepthAfterProposal: Int, maxDescendantDepth: Int, attempt: Int, maxAttemptsPerAnchor: Int, elapsed: Duration)

Provider-visible finality-drive hint for a proposal input request.

Provider-visible finality-drive hint for a proposal input request.

Attributes

Source
FinalityDrive.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffProposalInputFinalizationProgress(bestFinalizedBlockId: Option[BlockId], certifiedAncestorCount: Int, txBearingCertifiedAncestorCount: Int, nearestTxBearingAncestorBlockId: Option[BlockId], nearestTxBearingAncestorHeight: Option[BlockHeight], nearestTxBearingAncestorDescendantDepthAfterProposal: Option[Int], consensusFinalizationDescendantDepth: Int)

Derived finalization progress for the candidate parent branch.

Derived finalization progress for the candidate parent branch.

Attributes

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

Companion for HotStuffProposalInputFinalizationProgress.

Companion for HotStuffProposalInputFinalizationProgress.

Attributes

Companion
class
Source
ProposalInput.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Application-owned source of HotStuff proposal input.

Application-owned source of HotStuff proposal input.

Attributes

Source
ProposalInput.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Taxonomy for application proposal input lookup results.

Taxonomy for application proposal input lookup results.

Attributes

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

Companion for HotStuffProposalInputProviderResult.

Companion for HotStuffProposalInputProviderResult.

Attributes

Companion
enum
Source
ProposalInput.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffProposalInputRequest(window: HotStuffWindow, proposer: ValidatorId, parent: Option[BlockId], height: BlockHeight, justify: QuorumCertificate, now: Instant, timestamp: BlockTimestamp, bounds: HotStuffProposalInputBounds, txExclusion: HotStuffProposalTxExclusion, branchContext: HotStuffProposalInputBranchContext, finalizationProgress: HotStuffProposalInputFinalizationProgress, finalityDrive: Option[HotStuffProposalInputFinalityDrive])

Application-neutral request for the next leader proposal body.

Application-neutral request for the next leader proposal body.

Attributes

Source
ProposalInput.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffProposalInputRuntimeConfig[F[_]](provider: Option[HotStuffProposalInputProvider[F]], fallbackPolicy: HotStuffProposalInputFallbackPolicy, applicationAssembly: Option[HotStuffProposalApplicationAssembly[F]])

Runtime wiring for autonomous proposal input.

Runtime wiring for autonomous proposal input.

Attributes

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

Companion for HotStuffProposalInputRuntimeConfig.

Companion for HotStuffProposalInputRuntimeConfig.

Attributes

Companion
class
Source
ProposalInput.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Validation helpers for provider-supplied proposal input.

Validation helpers for provider-supplied proposal input.

Attributes

Source
ProposalInput.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Actual retained or backfilled parent proposal. Its signatures and the request's actual parent QC are checked by the default assembler below.

Actual retained or backfilled parent proposal. Its signatures and the request's actual parent QC are checked by the default assembler below.

Attributes

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

Attributes

Companion
object
Source
ApplicationProposalAssembly.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
ApplicationProposalAssembly.scala
Supertypes
class Object
trait Matchable
class Any
Self type

HotStuff proposal dependency sidecar planner for the composite consensus-plus-application peer artifact stream.

HotStuff proposal dependency sidecar planner for the composite consensus-plus-application peer artifact stream.

Attributes

Source
ProposalSidecar.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffProposalSidecarPolicy(enabled: Boolean, lowLatencySmallProposalAlways: Boolean, smallProposalTxLimit: Int, maxSidecarArtifactsPerProposal: Int, maxSidecarBytesPerPeerPoll: Long, maxAmbiguousFalsePositiveRisk: BigDecimal, holdProposalWhenRequiredSidecarSkipped: Boolean, maxRequiredSidecarHold: Duration, maxRequiredSidecarHoldAttempts: Int)

Producer-side policy for proposal dependency sidecar scheduling.

Producer-side policy for proposal dependency sidecar scheduling.

Attributes

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

Companion defaults for proposal dependency sidecar scheduling.

Companion defaults for proposal dependency sidecar scheduling.

Attributes

Companion
class
Source
ProposalSidecar.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Canonical ancestor tx-id exclusion view for proposal input.

Canonical ancestor tx-id exclusion view for proposal input.

Attributes

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

Attributes

Companion
class
Source
ProposalTxUniqueness.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Utilities for synchronizing transaction payloads referenced by consensus proposals.

Utilities for synchronizing transaction payloads referenced by consensus proposals.

Attributes

Source
ProposalTxSync.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Builds and checks branch-local unfinalized ancestor tx exclusions.

Builds and checks branch-local unfinalized ancestor tx exclusions.

Attributes

Source
ProposalTxUniqueness.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffProposalTxUniquenessBounds(maxTraversalDepth: Int, maxExcludedTxIds: Int)

Bounds applied while walking unfinalized ancestors.

Bounds applied while walking unfinalized ancestors.

Attributes

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

Attributes

Companion
class
Source
ProposalTxUniqueness.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Bounded cache for successful ancestor exclusion computations.

Bounded cache for successful ancestor exclusion computations.

Attributes

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

Attributes

Companion
class
Source
ProposalTxUniqueness.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffProposalTxUniquenessCacheKey(chainId: ChainId, parentBlockId: Option[BlockId], bestFinalizedBlockId: Option[BlockId], initialStopBlockId: Option[BlockId])

Cache key for a branch-local exclusion set.

Cache key for a branch-local exclusion set.

Attributes

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

Attributes

Companion
class
Source
ProposalTxUniqueness.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffProposalTxUniquenessMetadata(chainId: ChainId, parentBlockId: Option[BlockId], bestFinalizedBlockId: Option[BlockId], traversedAncestorCount: Int, excludedTxIdCount: Int, fromCache: Boolean)

Metadata safe to surface through diagnostics.

Metadata safe to surface through diagnostics.

Attributes

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

Attributes

Companion
class
Source
ProposalTxUniqueness.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Runtime policy for HotStuff proposal tx uniqueness.

Runtime policy for HotStuff proposal tx uniqueness.

Attributes

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

Result of checking a proposal against unfinalized ancestor tx ids.

Result of checking a proposal against unfinalized ancestor tx ids.

Attributes

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

Attributes

Companion
enum
Source
ProposalTxUniqueness.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Runtime configuration for proposal tx uniqueness.

Runtime configuration for proposal tx uniqueness.

Attributes

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

Attributes

Companion
class
Source
ProposalTxUniqueness.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Parent-branch context helpers for received proposal validation.

Parent-branch context helpers for received proposal validation.

Attributes

Source
ApplicationProposalValidation.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Runtime decision made from provider output and missing-provider policy.

Runtime decision made from provider output and missing-provider policy.

Attributes

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

Companion for HotStuffProposalValidationDecision.

Companion for HotStuffProposalValidationDecision.

Attributes

Companion
enum
Source
ApplicationProposalValidation.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Stable reason codes for dependency-aware proposal validation providers.

Stable reason codes for dependency-aware proposal validation providers.

Attributes

Source
ApplicationProposalValidation.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Explicit policy for handling a missing proposal validation provider.

Explicit policy for handling a missing proposal validation provider.

Attributes

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

Diagnostic-level outcome for proposal validation decisions.

Diagnostic-level outcome for proposal validation decisions.

Attributes

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

Application-owned proposal validation hook for received proposal vote paths.

Application-owned proposal validation hook for received proposal vote paths.

Attributes

Source
ApplicationProposalValidation.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Taxonomy for application proposal validation provider results.

Taxonomy for application proposal validation provider results.

Attributes

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

Companion for HotStuffProposalValidationProviderResult.

Companion for HotStuffProposalValidationProviderResult.

Attributes

Companion
enum
Source
ApplicationProposalValidation.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffProposalValidationRequest(proposal: Proposal, localVoter: ValidatorId, now: Instant, validatorSet: ValidatorSet, branchContext: HotStuffProposalInputBranchContext)

Application-neutral request for validating a received proposal before a local vote is signed.

Application-neutral request for validating a received proposal before a local vote is signed.

Attributes

Source
ApplicationProposalValidation.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffProposalValidationRuntimeConfig[F[_]](provider: Option[HotStuffProposalValidationProvider[F]], missingProviderPolicy: HotStuffProposalValidationMissingProviderPolicy, applicationVoting: Option[HotStuffApplicationVoting[F]], applicationFinalization: Option[FinalizedApplicationRuntime[F]], controlledSigning: Option[HotStuffControlledSigning[F]], initialParent: Option[VerifiedInitialParent])

Runtime wiring for application proposal validation.

Runtime wiring for application proposal validation.

Attributes

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

Companion for HotStuffProposalValidationRuntimeConfig.

Companion for HotStuffProposalValidationRuntimeConfig.

Attributes

Companion
class
Source
ApplicationProposalValidation.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Validates that a proposal's block view is consistent with the proposal and scheduling rules.

Validates that a proposal's block view is consistent with the proposal and scheduling rules.

Attributes

Source
BlockScheduling.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffRelayPolicy(relayValidatedArtifacts: Boolean)

Controls whether validated artifacts are relayed to the gossip source for re-broadcast.

Controls whether validated artifacts are relayed to the gossip source for re-broadcast.

Attributes

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

Companion for HotStuffRelayPolicy.

Companion for HotStuffRelayPolicy.

Attributes

Companion
class
Source
Policy.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffRequestPolicy

Policy limits for gossip request batching in the HotStuff protocol.

Policy limits for gossip request batching in the HotStuff protocol.

Attributes

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

Companion for HotStuffRequestPolicy.

Companion for HotStuffRequestPolicy.

Attributes

Companion
class
Source
Policy.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffRuntimeBootstrap[F[_]](topology: StaticPeerTopology, registry: StaticPeerRegistry, authenticator: StaticPeerAuthenticator[F], transportAuth: StaticPeerTransportAuth, consensus: HotStuffNodeRuntime[F], runtime: TxGossipRuntime[F, HotStuffGossipArtifact], wakeupBus: Option[TxGossipWakeupBus[F]])

The assembled runtime bootstrap containing peer topology, authentication, consensus, and gossip runtime.

The assembled runtime bootstrap containing peer topology, authentication, consensus, and gossip runtime.

Attributes

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

Companion for HotStuffRuntimeBootstrap, providing full bootstrap from config or topology.

Companion for HotStuffRuntimeBootstrap, providing full bootstrap from config or topology.

Attributes

Companion
class
Source
HotStuffRuntimeBootstrap.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffRuntimeBootstrapInput(localPeer: PeerIdentity, role: LocalNodeRole, holders: Vector[ValidatorKeyHolder], validatorSet: ValidatorSet, localKeys: Map[ValidatorId, KeyPair], gossipPolicy: HotStuffGossipPolicy, bootstrapTrustRootOverride: Option[BootstrapTrustRoot])

Attributes

Source
HotStuffNodeRuntime.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffRuntimeBootstrapWithApplications[F[_], A](topology: StaticPeerTopology, registry: StaticPeerRegistry, authenticator: StaticPeerAuthenticator[F], transportAuth: StaticPeerTransportAuth, consensus: HotStuffNodeRuntime[F], runtime: TxGossipRuntime[F, HotStuffPeerArtifact[A]], applicationTopics: Vector[ApplicationGossipTopic[F, A]], wakeupBus: Option[TxGossipWakeupBus[F]])

The assembled HotStuff runtime bootstrap whose peer gossip runtime also carries embedder-owned application artifacts.

The assembled HotStuff runtime bootstrap whose peer gossip runtime also carries embedder-owned application artifacts.

Attributes

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

A rejection from the HotStuff runtime, wrapping either a policy or validation failure.

A rejection from the HotStuff runtime, wrapping either a policy or validation failure.

Attributes

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

Companion for HotStuffRuntimeRejection.

Companion for HotStuffRuntimeRejection.

Attributes

Companion
enum
Source
RuntimeScheduling.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Runtime scheduling utilities for validating proposal views against block queries.

Runtime scheduling utilities for validating proposal views against block queries.

Attributes

Source
RuntimeScheduling.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Runtime-owned HotStuff service surface.

Runtime-owned HotStuff service surface.

The bootstrap caller owns the coherence between publisher and source. If locally emitted artifacts must later be readable through source, both endpoints need to target the same backing store or an equivalent replicated feed.

Attributes

Source
HotStuffNodeRuntime.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffSinkPrunedCounts(proposals: Long, votes: Long, voteAccumulatorVotes: Long, voteAccumulatorEquivocationKeys: Long, timeoutVotes: Long, timeoutAccumulatorVotes: Long, timeoutAccumulatorEquivocationKeys: Long, timeoutCertificates: Long, newViews: Long, newViewsBySenderWindow: Long, qcs: Long, safetyFaults: Long, duplicateSamples: Long)

Attributes

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

Attributes

Companion
class
Source
InMemoryHotStuffGossipBridge.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffSinkRetainedCounts(proposals: Int, votes: Int, voteAccumulatorVotes: Int, voteAccumulatorEquivocationKeys: Int, timeoutVotes: Int, timeoutAccumulatorVotes: Int, timeoutAccumulatorEquivocationKeys: Int, timeoutCertificates: Int, newViews: Int, newViewsBySenderWindow: Int, qcs: Int, safetyFaults: Int, duplicateSamples: Int)

Attributes

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

Attributes

Companion
class
Source
InMemoryHotStuffGossipBridge.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffSinkRetentionCountsSnapshot(proposals: BigNat, votes: BigNat, voteAccumulatorVotes: BigNat, voteAccumulatorEquivocationKeys: BigNat, timeoutVotes: BigNat, timeoutAccumulatorVotes: BigNat, timeoutAccumulatorEquivocationKeys: BigNat, timeoutCertificates: BigNat, newViews: BigNat, newViewsBySenderWindow: BigNat, qcs: BigNat, safetyFaults: BigNat, duplicateSamples: BigNat)

Attributes

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

Attributes

Companion
class
Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffSinkRetentionPolicySnapshot(finalizedHeightLag: BigNat, certifiedHeightLag: BigNat, retainedTimeoutWindows: BigNat, retainedNewViewWindows: BigNat, retainedDuplicateEvents: BigNat, retainedRejectedEventSamples: BigNat, pruneEveryAcceptedEvents: BigNat)

Attributes

Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HotStuffSinkRetentionWatermarks(finalizedRetainFromHeightByChain: Map[ChainId, BigInt], certifiedRetainFromHeightByChain: Map[ChainId, BigInt], retainedTimeoutWindowFloorByChain: Map[ChainId, HotStuffWindow], retainedNewViewWindowFloorByChain: Map[ChainId, HotStuffWindow])

Attributes

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

Attributes

Companion
class
Source
InMemoryHotStuffGossipBridge.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffSinkRetentionWatermarksSnapshot(finalizedRetainFromHeightByChain: Vector[HotStuffGossipChainHeightWatermarkSnapshot], certifiedRetainFromHeightByChain: Vector[HotStuffGossipChainHeightWatermarkSnapshot], retainedTimeoutWindowFloorByChain: Vector[HotStuffGossipWindowWatermarkSnapshot], retainedNewViewWindowFloorByChain: Vector[HotStuffGossipWindowWatermarkSnapshot])

Attributes

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

Attributes

Companion
class
Source
HotStuffGossipDiagnosticsSnapshot.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object HotStuffTopic

Creates gossip topic contracts for each HotStuff artifact type.

Creates gossip topic contracts for each HotStuff artifact type.

Attributes

Source
HotStuffGossipBridge.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffTopicPolicy

Per-topic gossip configuration for a HotStuff artifact type.

Per-topic gossip configuration for a HotStuff artifact type.

Value parameters

deliveryPriority

priority for delivery ordering (higher = earlier delivery)

exactKnownSetLimit

max entries in the exact-known set

flushInterval

how often to flush gossip batches

maxBatchItems

max items per gossip batch

requestByIdLimit

max IDs per request-by-ID batch

Attributes

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

Companion for HotStuffTopicPolicy.

Companion for HotStuffTopicPolicy.

Attributes

Companion
class
Source
HotStuffGossipBridge.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HotStuffValidationFailure(reason: String, detail: Option[String]) extends StructuredFailureDiagnostic

Represents a failure during HotStuff consensus validation.

Represents a failure during HotStuff consensus validation.

Value parameters

detail

optional human-readable detail about the failure

reason

a short identifier for the validation failure

Attributes

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

Companion for HotStuffValidationFailure.

Companion for HotStuffValidationFailure.

Attributes

Companion
class
Source
Artifacts.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Validates HotStuff consensus artifacts: proposals, votes, QCs, timeout votes, TCs, and new views.

Validates HotStuff consensus artifacts: proposals, votes, QCs, timeout votes, TCs, and new views.

Attributes

Source
Validation.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object HotStuffView

Companion for HotStuffView.

Companion for HotStuffView.

Attributes

Source
Policy.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class HotStuffWindow(chainId: ChainId, height: HotStuffHeight, view: HotStuffView, validatorSetHash: ValidatorSetHash)

Identifies a specific consensus round by chain, height, view, and validator set.

Identifies a specific consensus round by chain, height, view, and validator set.

Value parameters

chainId

the chain this window belongs to

height

the block height

validatorSetHash

the hash of the active validator set

view

the view number within this height

Attributes

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

Companion for HotStuffWindow.

Companion for HotStuffWindow.

Attributes

Companion
class
Source
Policy.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Constructs gossip topic window keys from HotStuff consensus windows.

Constructs gossip topic window keys from HotStuff consensus windows.

Attributes

Source
HotStuffGossipBridge.scala
Supertypes
class Object
trait Matchable
class Any
Self type

In-memory implementation of a gossip artifact sink for HotStuff artifacts, handling validation, QC assembly, and finalization tracking.

In-memory implementation of a gossip artifact sink for HotStuff artifacts, handling validation, QC assembly, and finalization tracking.

Attributes

Companion
object
Source
InMemoryHotStuffGossipBridge.scala
Supertypes
class Object
trait Matchable
class Any

Companion for InMemoryHotStuffArtifactSink.

Companion for InMemoryHotStuffArtifactSink.

Attributes

Companion
class
Source
InMemoryHotStuffGossipBridge.scala
Supertypes
class Object
trait Matchable
class Any
Self type

In-memory implementation of a gossip artifact source and publisher for HotStuff artifacts.

In-memory implementation of a gossip artifact source and publisher for HotStuff artifacts.

Attributes

Companion
object
Source
InMemoryHotStuffGossipBridge.scala
Supertypes
class Object
trait Matchable
class Any

Companion for InMemoryHotStuffArtifactSource.

Companion for InMemoryHotStuffArtifactSource.

Attributes

Companion
class
Source
InMemoryHotStuffGossipBridge.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class InMemoryHotStuffRelayRejectionKey(topic: GossipTopic, reason: String)

Attributes

Source
InMemoryHotStuffGossipBridge.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class InMemoryHotStuffSinkDiagnostics(policyMode: String, retentionPolicy: HotStuffArtifactSinkRetention, retainedCounts: HotStuffSinkRetainedCounts, prunedCounts: HotStuffSinkPrunedCounts, retentionWatermarks: HotStuffSinkRetentionWatermarks, relayedValidatedArtifactsByTopic: Map[GossipTopic, Long], duplicateArtifactsSuppressedByTopic: Map[GossipTopic, Long], rejectedArtifactsByTopicAndReason: Map[InMemoryHotStuffRelayRejectionKey, Long])

Attributes

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

Attributes

Companion
class
Source
InMemoryHotStuffGossipBridge.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class InMemoryHotStuffSinkSnapshot(proposals: Map[ProposalId, Proposal], votes: Map[VoteId, Vote], accumulator: VoteAccumulator, timeoutVotes: Map[TimeoutVoteId, TimeoutVote], timeoutAccumulator: TimeoutVoteAccumulator, timeoutCertificates: Map[TimeoutVoteSubject, TimeoutCertificate], newViews: Map[NewViewId, NewView], newViewsBySenderWindow: Map[(HotStuffWindow, ValidatorId), NewView], qcs: Map[ProposalId, QuorumCertificate], finalization: Map[ChainId, FinalizationTrackerSnapshot], duplicates: Vector[GossipEvent[HotStuffGossipArtifact]], diagnostics: InMemoryHotStuffSinkDiagnostics)

A snapshot of the in-memory gossip artifact sink state, including all stored artifacts and QCs.

A snapshot of the in-memory gossip artifact sink state, including all stored artifacts and QCs.

Attributes

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

Companion for InMemoryHotStuffSinkSnapshot.

Companion for InMemoryHotStuffSinkSnapshot.

Attributes

Companion
class
Source
InMemoryHotStuffGossipBridge.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class InMemoryHotStuffSourceDiagnostics(retainedEventsPerTopic: Int, retainedEventsByTopic: Map[ChainTopic, Int], appendedEventsByTopic: Map[ChainTopic, Long], prunedEventsByTopic: Map[ChainTopic, Long], readByIdMissesByTopic: Map[ChainTopic, Long], invalidCursorRejectionsByTopic: Map[ChainTopic, Long], staleCursorRejectionsByTopic: Map[ChainTopic, Long])

Attributes

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

Attributes

Source
InMemoryHotStuffGossipBridge.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class LegacyEmptyHotStuffProposalInputProvider[F[_]](stateRootFor: HotStuffProposalInputRequest => F[StateRoot], bodyRootFor: HotStuffProposalInputRequest => BodyRoot)(using evidence$1: Sync[F]) extends HotStuffProposalInputProvider[F]

Legacy provider that emits the previous autonomous empty proposal body.

Legacy provider that emits the previous autonomous empty proposal body.

Attributes

Companion
object
Source
ProposalInput.scala
Supertypes
class Object
trait Matchable
class Any

Companion for LegacyEmptyHotStuffProposalInputProvider.

Companion for LegacyEmptyHotStuffProposalInputProvider.

Attributes

Companion
class
Source
ProposalInput.scala
Supertypes
class Object
trait Matchable
class Any
Self type

The role of the local node in the consensus network.

The role of the local node in the consensus network.

Attributes

Companion
object
Source
Policy.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object LocalNodeRole

Companion for LocalNodeRole.

Companion for LocalNodeRole.

Attributes

Companion
enum
Source
Policy.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class NewView(newViewId: NewViewId, window: HotStuffWindow, sender: ValidatorId, nextLeader: ValidatorId, highestKnownQc: QuorumCertificate, timeoutCertificate: TimeoutCertificate, signature: Signature)

A signed new-view message sent to the next leader after a timeout certificate is formed.

A signed new-view message sent to the next leader after a timeout certificate is formed.

Attributes

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

Companion for NewView, providing signing and identity operations.

Companion for NewView, providing signing and identity operations.

Attributes

Companion
class
Source
Pacemaker.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
NewView.type
object NewViewId

Companion for NewViewId.

Companion for NewViewId.

Attributes

Source
Pacemaker.scala
Supertypes
class Object
trait Matchable
class Any
Self type
NewViewId.type
final case class Proposal(proposalId: ProposalId, window: HotStuffWindow, proposer: ValidatorId, targetBlockId: BlockId, block: BlockHeader, txSet: ProposalTxSet, justify: QuorumCertificate, signature: Signature)

A signed consensus proposal emitted by a leader validator.

A signed consensus proposal emitted by a leader validator.

Value parameters

block

the block header

justify

the quorum certificate justifying this proposal

proposalId

unique identifier for this proposal

proposer

the proposing validator

signature

the cryptographic signature of the proposer

targetBlockId

the block ID being proposed

txSet

the transaction set included in the proposal

window

the consensus window

Attributes

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

Companion for Proposal, providing signing and identity operations.

Companion for Proposal, providing signing and identity operations.

Attributes

Companion
class
Source
Artifacts.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Proposal.type
final case class ProposalCatchUpAssessment(voteReadiness: BootstrapVoteReadiness, controlBatch: Option[ControlBatch])

The result of assessing a proposal's readiness for catch-up voting.

The result of assessing a proposal's readiness for catch-up voting.

Value parameters

controlBatch

an optional gossip control batch to request missing data

voteReadiness

whether the node is ready to vote on this proposal

Attributes

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

Evaluates whether a proposal can be voted on during forward catch-up.

Evaluates whether a proposal can be voted on during forward catch-up.

Attributes

Companion
object
Source
BootstrapCoordinator.scala
Supertypes
class Object
trait Matchable
class Any

Companion for ProposalCatchUpReadiness, providing static factory methods.

Companion for ProposalCatchUpReadiness, providing static factory methods.

Attributes

Companion
trait
Source
BootstrapCoordinator.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object ProposalId

Companion for ProposalId.

Companion for ProposalId.

Attributes

Source
Policy.scala
Supertypes
class Object
trait Matchable
class Any
Self type
ProposalId.type
trait ProposalReplayService[F[_]]

Service for replaying proposals after a snapshot anchor during forward catch-up.

Service for replaying proposals after a snapshot anchor during forward catch-up.

Attributes

Source
Bootstrap.scala
Supertypes
class Object
trait Matchable
class Any
final case class ProposalTxSet(txIds: Vector[StableArtifactId])

An ordered set of transaction IDs included in a consensus proposal.

An ordered set of transaction IDs included in a consensus proposal.

Value parameters

txIds

the transaction identifiers in canonical order

Attributes

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

Companion for ProposalTxSet, providing canonicalization and wire encoding.

Companion for ProposalTxSet, providing canonicalization and wire encoding.

Attributes

Companion
class
Source
Artifacts.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class QuorumCertificate(subject: QuorumCertificateSubject, votes: Vector[Vote])

A quorum certificate aggregating sufficient votes to certify a proposal.

A quorum certificate aggregating sufficient votes to certify a proposal.

Value parameters

subject

the proposal subject being certified

votes

the collected validator votes meeting the quorum threshold

Attributes

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

Assembles a quorum certificate from collected votes, verifying signatures and quorum threshold.

Assembles a quorum certificate from collected votes, verifying signatures and quorum threshold.

Attributes

Source
Validation.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class QuorumCertificateSubject(window: HotStuffWindow, proposalId: ProposalId, blockId: BlockId)

The subject of a quorum certificate, identifying the proposal being certified.

The subject of a quorum certificate, identifying the proposal being certified.

Value parameters

blockId

the block ID targeted by the proposal

proposalId

the certified proposal's unique identifier

window

the consensus window in which the proposal was made

Attributes

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

Companion for QuorumCertificateSubject.

Companion for QuorumCertificateSubject.

Attributes

Companion
class
Source
Artifacts.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class RejectedBlockRecord[TxRef, ResultRef, Event](record: BlockRecord[TxRef, ResultRef, Event], reason: BlockRecordRejectionReason)

A block record that was rejected during conflict-free body selection.

A block record that was rejected during conflict-free body selection.

Type parameters

Event

the event type

ResultRef

the result reference type

TxRef

the transaction reference type

Value parameters

reason

the reason for rejection

record

the rejected block record

Attributes

Source
BlockScheduling.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class SnapshotAnchor(chainId: ChainId, proposalId: ProposalId, blockId: BlockId, height: BlockHeight, stateRoot: StateRoot)

Identifies a finalized block as an anchor point for state snapshot synchronization.

Identifies a finalized block as an anchor point for state snapshot synchronization.

Value parameters

blockId

the block identifier

chainId

the chain this anchor belongs to

height

the block height

proposalId

the proposal that produced this block

stateRoot

the state root at this block

Attributes

Source
Bootstrap.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait SnapshotCoordinator[F[_]]

Coordinates snapshot synchronization by fetching trie nodes from peers and persisting them locally.

Coordinates snapshot synchronization by fetching trie nodes from peers and persisting them locally.

Attributes

Companion
object
Source
SnapshotSync.scala
Supertypes
class Object
trait Matchable
class Any

Companion for SnapshotCoordinator, providing factory methods with varying configuration.

Companion for SnapshotCoordinator, providing factory methods with varying configuration.

Attributes

Companion
trait
Source
SnapshotSync.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class SnapshotFetchPolicy

Policy controlling how many rounds of peer fetching to attempt during snapshot sync.

Policy controlling how many rounds of peer fetching to attempt during snapshot sync.

Attributes

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

Companion for SnapshotFetchPolicy.

Companion for SnapshotFetchPolicy.

Attributes

Companion
class
Source
SnapshotSync.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SnapshotMetadata(anchor: SnapshotAnchor, status: SnapshotStatus, verifiedNodeCount: Long, pendingNodeCount: Long, lastUpdatedAt: Instant)

Metadata tracking the progress of a snapshot synchronization.

Metadata tracking the progress of a snapshot synchronization.

Value parameters

anchor

the snapshot anchor being synced

lastUpdatedAt

the time of the last status update

pendingNodeCount

the number of pending trie nodes

status

the current sync status

verifiedNodeCount

the number of verified trie nodes

Attributes

Source
Bootstrap.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait SnapshotMetadataStore[F[_]]

Persistent store for snapshot synchronization metadata, keyed by chain ID.

Persistent store for snapshot synchronization metadata, keyed by chain ID.

Attributes

Companion
object
Source
SnapshotSync.scala
Supertypes
class Object
trait Matchable
class Any

Companion for SnapshotMetadataStore, providing in-memory and key-value-backed implementations.

Companion for SnapshotMetadataStore, providing in-memory and key-value-backed implementations.

Attributes

Companion
trait
Source
SnapshotSync.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Service for fetching Merkle trie nodes during snapshot synchronization.

Service for fetching Merkle trie nodes during snapshot synchronization.

Attributes

Source
Bootstrap.scala
Supertypes
class Object
trait Matchable
class Any

Runtime implementation of SnapshotNodeFetchService backed by a local node store.

Runtime implementation of SnapshotNodeFetchService backed by a local node store.

Attributes

Source
SnapshotSync.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait SnapshotNodeStore[F[_]]

Store for Merkle trie nodes used during snapshot synchronization.

Store for Merkle trie nodes used during snapshot synchronization.

Attributes

Companion
object
Source
SnapshotSync.scala
Supertypes
class Object
trait Matchable
class Any

Companion for SnapshotNodeStore, providing in-memory and key-value-backed implementations.

Companion for SnapshotNodeStore, providing in-memory and key-value-backed implementations.

Attributes

Companion
trait
Source
SnapshotSync.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Verifies the integrity of fetched snapshot trie nodes by checking their hashes.

Verifies the integrity of fetched snapshot trie nodes by checking their hashes.

Attributes

Source
SnapshotSync.scala
Supertypes
class Object
trait Matchable
class Any
Self type

The lifecycle status of a snapshot synchronization operation.

The lifecycle status of a snapshot synchronization operation.

Attributes

Source
Bootstrap.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class SnapshotSyncFailure(reason: String, detail: Option[String]) extends StructuredFailureDiagnostic

Represents a failure during snapshot synchronization.

Represents a failure during snapshot synchronization.

Attributes

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

Attributes

Companion
class
Source
SnapshotSync.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SnapshotSyncResult(metadata: SnapshotMetadata, fetchedNodeCount: Long)

The result of a successful snapshot synchronization.

The result of a successful snapshot synchronization.

Attributes

Source
SnapshotSync.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class SnapshotTrieNode(hash: MerkleHash, node: MerkleTrieNode)

A Merkle trie node paired with its expected hash, used during snapshot sync.

A Merkle trie node paired with its expected hash, used during snapshot sync.

Value parameters

hash

the expected Merkle hash of the node

node

the trie node data

Attributes

Source
Bootstrap.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class TimeoutCertificate(subject: TimeoutVoteSubject, votes: Vector[TimeoutVote])

A certificate aggregating sufficient timeout votes to trigger a view change.

A certificate aggregating sufficient timeout votes to trigger a view change.

Attributes

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

Assembles a timeout certificate from collected timeout votes, verifying signatures and quorum.

Assembles a timeout certificate from collected timeout votes, verifying signatures and quorum.

Attributes

Source
Validation.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class TimeoutVote(timeoutVoteId: TimeoutVoteId, subject: TimeoutVoteSubject, voter: ValidatorId, signature: Signature)

A signed timeout vote emitted when a validator's view timer expires.

A signed timeout vote emitted when a validator's view timer expires.

Attributes

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

Companion for TimeoutVote, providing signing and identity operations.

Companion for TimeoutVote, providing signing and identity operations.

Attributes

Companion
class
Source
Pacemaker.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class TimeoutVoteAccumulator(votesById: Map[TimeoutVoteId, TimeoutVote], votesByEquivocationKey: Map[EquivocationKey, TimeoutVote])

Accumulates timeout votes and detects equivocations.

Accumulates timeout votes and detects equivocations.

Attributes

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

Companion for TimeoutVoteAccumulator.

Companion for TimeoutVoteAccumulator.

Attributes

Companion
class
Source
Validation.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object TimeoutVoteId

Companion for TimeoutVoteId.

Companion for TimeoutVoteId.

Attributes

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

Outcome of recording a timeout vote into the accumulator.

Outcome of recording a timeout vote into the accumulator.

Attributes

Source
Validation.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class TimeoutVoteSubject(window: HotStuffWindow, highestKnownQc: QuorumCertificateSubject)

The subject of a timeout vote, combining the consensus window and the voter's highest known QC.

The subject of a timeout vote, combining the consensus window and the voter's highest known QC.

Attributes

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

Companion for TimeoutVoteSubject.

Companion for TimeoutVoteSubject.

Attributes

Companion
class
Source
Pacemaker.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class UnsignedNewView(window: HotStuffWindow, sender: ValidatorId, nextLeader: ValidatorId, highestKnownQc: QuorumCertificate, timeoutCertificate: TimeoutCertificate)

An unsigned new-view message before signing.

An unsigned new-view message before signing.

Attributes

Source
Pacemaker.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class UnsignedProposal(window: HotStuffWindow, proposer: ValidatorId, targetBlockId: BlockId, block: BlockHeader, txSet: ProposalTxSet, justify: QuorumCertificate)

A proposal before signing.

A proposal before signing.

Value parameters

block

the block header

justify

the quorum certificate justifying this proposal

proposer

the proposing validator

targetBlockId

the block ID being proposed

txSet

the transaction set included in the proposal

window

the consensus window

Attributes

Source
Artifacts.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class UnsignedTimeoutVote(subject: TimeoutVoteSubject, voter: ValidatorId)

An unsigned timeout vote before signing.

An unsigned timeout vote before signing.

Attributes

Source
Pacemaker.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class UnsignedVote(window: HotStuffWindow, voter: ValidatorId, targetProposalId: ProposalId)

A vote before signing.

A vote before signing.

Value parameters

targetProposalId

the proposal being voted on

voter

the voting validator

window

the consensus window

Attributes

Source
Artifacts.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ValidatorId

Companion for ValidatorId.

Companion for ValidatorId.

Attributes

Source
Policy.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class ValidatorKeyHolder(validatorId: ValidatorId, holder: PeerIdentity, status: ValidatorKeyHolderStatus)

Binds a validator ID to a peer that holds its signing key, with a status flag.

Binds a validator ID to a peer that holds its signing key, with a status flag.

Value parameters

holder

the peer that holds the key

status

the current status (active or fenced)

validatorId

the validator whose key is held

Attributes

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

The operational status of a validator key holder.

The operational status of a validator key holder.

Attributes

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

Companion for ValidatorKeyHolderStatus.

Companion for ValidatorKeyHolderStatus.

Attributes

Companion
enum
Source
Policy.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ValidatorMember(id: ValidatorId, publicKey: PublicKey)

A member of a validator set, pairing an identity with a cryptographic public key.

A member of a validator set, pairing an identity with a cryptographic public key.

Value parameters

id

the validator's unique identity

publicKey

the validator's public key used for signature verification

Attributes

Source
Artifacts.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class ValidatorSet

An ordered, deduplicated set of consensus validators with quorum calculation support.

An ordered, deduplicated set of consensus validators with quorum calculation support.

Attributes

Companion
object
Source
Artifacts.scala
Supertypes
class Object
trait Matchable
class Any
object ValidatorSet

Companion for ValidatorSet.

Companion for ValidatorSet.

Attributes

Companion
class
Source
Artifacts.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Errors that can occur when constructing a ValidatorSet.

Errors that can occur when constructing a ValidatorSet.

Attributes

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

Companion for ValidatorSetError.

Companion for ValidatorSetError.

Attributes

Companion
enum
Source
Artifacts.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Companion for ValidatorSetHash.

Companion for ValidatorSetHash.

Attributes

Source
Policy.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait ValidatorSetLookup[F[_]]

Resolves validator sets for consensus windows, rooted in a bootstrap trust root.

Resolves validator sets for consensus windows, rooted in a bootstrap trust root.

Attributes

Companion
object
Source
Bootstrap.scala
Supertypes
class Object
trait Matchable
class Any

Companion for ValidatorSetLookup.

Companion for ValidatorSetLookup.

Attributes

Companion
trait
Source
Bootstrap.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class Vote(voteId: VoteId, window: HotStuffWindow, voter: ValidatorId, targetProposalId: ProposalId, signature: Signature)

A signed consensus vote cast by a validator for a specific proposal.

A signed consensus vote cast by a validator for a specific proposal.

Value parameters

signature

the cryptographic signature

targetProposalId

the proposal being voted on

voteId

unique identifier for this vote

voter

the voting validator

window

the consensus window

Attributes

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

Companion for Vote, providing signing and identity operations.

Companion for Vote, providing signing and identity operations.

Attributes

Companion
class
Source
Artifacts.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Vote.type
final case class VoteAccumulator(votesById: Map[VoteId, Vote], votesByEquivocationKey: Map[EquivocationKey, Vote])

Accumulates votes and detects equivocations (double-voting).

Accumulates votes and detects equivocations (double-voting).

Attributes

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

Companion for VoteAccumulator.

Companion for VoteAccumulator.

Attributes

Companion
class
Source
Validation.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object VoteId

Companion for VoteId.

Companion for VoteId.

Attributes

Source
Policy.scala
Supertypes
class Object
trait Matchable
class Any
Self type
VoteId.type

Outcome of recording a vote into the accumulator.

Outcome of recording a vote into the accumulator.

Attributes

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

Attributes

Source
SnapshotCodecs.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Types

type BlockId = BlockId

Type alias for block identifiers used within the HotStuff consensus layer.

Type alias for block identifiers used within the HotStuff consensus layer.

Attributes

Source
package.scala
opaque type HotStuffHeight

The block height within HotStuff consensus, represented as a non-negative big integer.

The block height within HotStuff consensus, represented as a non-negative big integer.

Attributes

Source
Policy.scala
opaque type HotStuffView

The view number within a HotStuff consensus height, represented as a non-negative big integer.

The view number within a HotStuff consensus height, represented as a non-negative big integer.

Attributes

Source
Policy.scala
opaque type NewViewId

Unique identifier for a new-view message, represented as a 256-bit hash.

Unique identifier for a new-view message, represented as a 256-bit hash.

Attributes

Source
Pacemaker.scala
opaque type ProposalId

Unique identifier for a consensus proposal, represented as a 256-bit hash.

Unique identifier for a consensus proposal, represented as a 256-bit hash.

Attributes

Source
Policy.scala
opaque type TimeoutVoteId

Unique identifier for a timeout vote, represented as a 256-bit hash.

Unique identifier for a timeout vote, represented as a 256-bit hash.

Attributes

Source
Pacemaker.scala
opaque type ValidatorId

A validator's unique identity within the consensus protocol.

A validator's unique identity within the consensus protocol.

Attributes

Source
Policy.scala
opaque type ValidatorSetHash

The canonical hash of a validator set, used for cross-referencing between windows and sets.

The canonical hash of a validator set, used for cross-referencing between windows and sets.

Attributes

Source
Policy.scala
opaque type VoteId

Unique identifier for a consensus vote, represented as a 256-bit hash.

Unique identifier for a consensus vote, represented as a 256-bit hash.

Attributes

Source
Policy.scala

Value members

Concrete fields

val BlockId: BlockId.type

The block ID companion object, re-exported for convenience.

The block ID companion object, re-exported for convenience.

Attributes

Source
package.scala

Givens

Givens

Attributes

Source
SnapshotCodecs.scala

Attributes

Source
Artifacts.scala