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§
- Resubmission
Store - Per-block proof store backed by
AuxStore. - Stored
Entry - 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.