Module static_file

Source
Available on crate feature provider only.
Expand description

reth’s static file database table import and access

Structs§

BlockHashMask
Mask for selecting a block hash value from Headers static file segment
BodyIndicesMask
Mask for a StoredBlockBodyIndices from BlockMeta static file segment
HeaderMask
Mask for selecting a single header from Headers static file segment
HeaderWithHashMask
Mask for selecting a header along with block hash from Headers static file segment
OmmersMask
Mask for a StoredBlockOmmers from BlockMeta static file segment
ReceiptMask
Mask for selecting a single receipt from Receipts static file segment
StaticFileCursor
Cursor of a static file segment.
TDWithHashMask
Mask for selecting a total difficulty along with block hash from Headers static file segment
TotalDifficultyMask
Mask for selecting a total difficulty value from Headers static file segment
TransactionMask
Mask for selecting a single transaction from Transactions static file segment
WithdrawalsMask
Mask for a StaticFileBlockWithdrawals from BlockMeta static file segment

Traits§

ColumnSelectorOne
Trait for specifying a mask to select one column value.
ColumnSelectorThree
Trait for specifying a mask to select three column values.
ColumnSelectorTwo
Trait for specifying a mask to select two column values.

Functions§

iter_static_files
Given the static_files directory path, it returns a list over the existing static_files organized by [StaticFileSegment]. Each segment has a sorted list of block ranges and transaction ranges as presented in the file configuration.