Crate reth_prune

Source
Expand description

Pruning implementation.

Modules§

segments

Structs§

PruneCheckpoint
Saves the pruning progress of a stage.
PruneLimiter
Limits a pruner run by either the number of entries (rows in the database) that can be deleted or the time it can run.
PruneModes
Pruning configuration for every segment of the data that can be pruned.
PrunedSegmentInfo
Represents information of a pruner run for a segment.
Pruner
Pruning routine. Main pruning logic happens in Pruner::run.
PrunerBuilder
Contains the information required to build a pruner
PrunerOutput
Pruner run output.
ReceiptsLogPruneConfig
Configuration for pruning receipts not associated with logs emitted by the specified contracts.
SegmentOutput
Segment pruning output.
SegmentOutputCheckpoint
Segment pruning checkpoint.

Enums§

PruneInterruptReason
Reason for interrupting a prune run.
PruneMode
Prune mode.
PruneProgress
Progress of pruning.
PrunePurpose
Prune purpose.
PruneSegment
Segment of the data that can be pruned.
PruneSegmentError
PruneSegment error type.
PrunerError
Errors that can occur during pruning.
PrunerEvent
An event emitted by a pruner.

Constants§

MINIMUM_PRUNING_DISTANCE
Minimum distance from the tip necessary for the node to work correctly:

Type Aliases§

PrunerResult
Result of Pruner::run execution.
PrunerWithFactory
Pruner with preset provider factory.
PrunerWithResult
The pruner type itself with the result of Pruner::run