Available on crate feature
provider only.Expand description
reth’s static file database table import and access
Structs§
- Account
Changeset Mask - Mask for selecting a single changeset from
AccountChangesetsstatic file segment - 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
Receiptsstatic file segment - Static
File Cursor - Cursor of a static file segment.
- Static
File Entry - A static file found on disk.
- Storage
Changeset Mask - Mask for selecting a single changeset from
StorageChangesetsstatic 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
Transactionsstatic file segment - Transaction
Sender Mask - Mask for selecting a single transaction sender from
TransactionSendersstatic file segment
Constants§
- CONFIG_
FILE_ EXTENSION - The file extension used for configuration files.
- OFFSETS_
FILE_ EXTENSION - The file extension used for offsets files.
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_filesdirectory path, it returns a list over the existingstatic_filesorganized byStaticFileSegment. Each segment has a sorted list of block ranges and segment headers as presented in the file configuration. - last_
missing_ block - Returns the last missing block at or below
tip, orNoneif coverage reaches genesis. Ranges must be ordered by decreasing end block. Overlapping ranges are allowed. - read_
static_ file_ header - Reads the segment header from the configuration of a single static file.