Skip to main content

Module prune

Module prune 

Source

Structs§

Candidate 🔒
Live 🔒
PruneSummary
Counts the outcome of one forward-extremity pruning pass.

Enums§

Class 🔒
Partial 🔒
A leaf’s classification before per-server reachability is resolved into Live::owner_online, kept apart so the reachability query runs once per unique server rather than once per leaf.
Trigger
Selects whether the prune sweeps already-referenced leaves: the receive path’s retained set has excluded them upstream, an operator’s raw band has not.

Functions§

drop_order 🔒
Orders live leaves most-droppable first: message before state, redacted before intact, reachable-owner before unreachable, oldest before newest.
prune_goal 🔒
Per-round drop goal for the paced receive-path prune: an uncapped cut down to the emergency bound, but never slower than the per-event batch down to the cap. All saturating.
select 🔒
Chooses survivors from the classified leaves. Dangling and referenced leaves are dropped for free (not counted toward goal), own leaves are always kept, and the most-droppable live leaves are dropped up to goal, subject to the one-survivor floor.

Type Aliases§

Servers 🔒