Expand description
reth’s static file database table import and access
Macros§
- add_
static_ file_ mask - Add mask to select
N
column values from a specific static file segment row.
Structs§
- Block
Hash Mask - Mask for selecting a block hash value from Headers static file segment
- Header
Mask - Mask for selecting a single header from Headers static file segment
- Header
With Hash Mask - Mask for selecting a header along with block hash from Headers static file segment
- Receipt
Mask - Mask for selecting a single receipt from Receipts static file segment
- Static
File Cursor - Cursor of a static file segment.
- TDWith
Hash Mask - Mask for selecting a total difficulty along with block hash from Headers static file segment
- Total
Difficulty Mask - Mask for selecting a total difficulty value from Headers static file segment
- Transaction
Mask - Mask for selecting a single transaction from Transactions static file segment
Traits§
- Column
Selector One - Trait for specifying a mask to select one column value.
- Column
Selector Three - Trait for specifying a mask to select three column values.
- Column
Selector Two - 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 existingstatic_files
organized by [StaticFileSegment
]. Each segment has a sorted list of block ranges and transaction ranges as presented in the file configuration.