Skip to main content

Module coordinator

Module coordinator 

Source

ModulesΒ§

coordinator_builder πŸ”’
Tools for manipulating the type state of CoordinatorBuilder.
coordinator_maker πŸ”’
Tools for manipulating the type state of CoordinatorMaker.
error
metrics πŸ”’
timer

StructsΒ§

Coordinator
CoordinatorBuilder
Use builder syntax to set the inputs and finish with build().
CoordinatorMaker
Use builder syntax to set the inputs and finish with make().
PendingDa πŸ”’
A payload built locally and awaiting DA persistence.
PendingProposalFetches πŸ”’
ProposalFetchKey πŸ”’

EnumsΒ§

GcScope
Garbage collection scope.

ConstantsΒ§

EPOCH_CHANGE_LOOKAHEAD πŸ”’
Epoch changes claiming an epoch further ahead than this are dropped at intake. We could not verify them anyway: an epoch’s stake table only materializes by walking the DRB chain, so parking such a message and driving catchup for an arbitrary claimed epoch just burns resources. Within the ceiling, deferred changes verify progressively as catchup advances (CertVerifiers::retry_pending runs on every DRB arrival).
MAX_VIEWS_AHEAD πŸ”’
STORAGE_GC_MARGIN πŸ”’
Views to retain in storage GC behind the decided view, so in-flight storage writes for recent views aren’t aborted before they persist.
VID_RECONSTRUCT_GC_MARGIN πŸ”’
Views to retain in the VID reconstructor behind the decided view

Type AliasesΒ§

ProposalFetchResponseSender πŸ”’