Expand description
Pruning implementation.
Modules§
Structs§
- Prune
Checkpoint - Saves the pruning progress of a stage.
- Prune
Limiter - Limits a pruner run by either the number of entries (rows in the database) that can be deleted or the time it can run.
- Prune
Modes - Pruning configuration for every segment of the data that can be pruned.
- Pruned
Segment Info - Represents information of a pruner run for a segment.
- Pruner
- Pruning routine. Main pruning logic happens in
Pruner::run
. - Pruner
Builder - Contains the information required to build a pruner
- Pruner
Output - Pruner run output.
- Receipts
LogPrune Config - Configuration for pruning receipts not associated with logs emitted by the specified contracts.
- Segment
Output - Segment pruning output.
- Segment
Output Checkpoint - Segment pruning checkpoint.
Enums§
- Prune
Interrupt Reason - Reason for interrupting a prune run.
- Prune
Mode - Prune mode.
- Prune
Progress - Progress of pruning.
- Prune
Purpose - Prune purpose.
- Prune
Segment - Segment of the data that can be pruned.
- Prune
Segment Error PruneSegment
error type.- Pruner
Error - Errors that can occur during pruning.
- Pruner
Event - An event emitted by a pruner.
Constants§
- MINIMUM_
PRUNING_ DISTANCE - Minimum distance from the tip necessary for the node to work correctly:
Type Aliases§
- Pruner
Result - Result of
Pruner::run
execution. - Pruner
With Factory - Pruner with preset provider factory.
- Pruner
With Result - The pruner type itself with the result of
Pruner::run