referrerpolicy=no-referrer-when-downgrade

Crate cumulus_client_resubmission_store

Crate cumulus_client_resubmission_store 

Source
Expand description

Per-block resubmission store for the unincluded segment.

Persists a StoredEntry per imported parablock, keyed by parablock hash, holding everything needed to reconstruct and resubmit the collation for an unincluded block without assuming the relay parent is still available: the storage proof, the relay parent header and the relay-parent session.

Entries are pruned on parachain finality via prune_finalized_entries, which is meant to run on the same task that records entries so a recorded entry is always observed by a subsequent finality notification.

Structs§

ResubmissionStore
Per-block proof store backed by AuxStore.
StoredEntry
Entry stored in aux storage for each unincluded parablock.

Functions§

prepare_resubmission_aux_data
Build the aux-data key/value pairs to commit alongside a block.
prune_finalized_entries
Delete entries for the just-finalized chain, the tree route, and stale forks — once finalized, a block is no longer in any unincluded segment.
prune_missed_finalized_entries
Delete entries for blocks that are already finalized, reclaiming any whose prune was never observed — e.g. blocks finalized while the node was down, which the freshly-subscribed notification stream never sees. Run once at startup, before the backfill loop.