Expand description
Commonly used types for static file usage.
Structs§
- Highest
Static Files - Highest static file block numbers, per data segment.
- Segment
Config - Configuration used on the segment.
- Segment
Header - A segment header that contains information common to all segments. Used for storage.
- Segment
Range Inclusive - Helper type to handle segment transaction and block INCLUSIVE ranges.
- Static
File Targets - Static File targets, per data segment, measured in [
BlockNumber
].
Enums§
- Compression
- Static File compression types.
- Static
File Producer Event - An event emitted by the static file producer.
- Static
File Segment - 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.