Crate reth_static_file_types

Source
Expand description

Commonly used types for static file usage.

Structs§

HighestStaticFiles
Highest static file block numbers, per data segment.
SegmentConfig
Configuration used on the segment.
SegmentHeader
A segment header that contains information common to all segments. Used for storage.
SegmentRangeInclusive
Helper type to handle segment transaction and block INCLUSIVE ranges.
StaticFileTargets
Static File targets, per data segment, measured in [BlockNumber].

Enums§

Compression
Static File compression types.
StaticFileProducerEvent
An event emitted by the static file producer.
StaticFileSegment
Segment of the data that can be moved to static files.

Constants§

DEFAULT_BLOCKS_PER_STATIC_FILE
Default static file block count.

Functions§

find_fixed_range
Each static file has a fixed number of blocks. This gives out the range where the requested block is positioned. Used for segment filename.