Module models
Available on crate feature
provider
only.Expand description
Implements data structures specific to the database
Modules§
- accounts
- Account related models and types.
- blocks
- Block related models and types.
- integer_
list - Implements
Compress
andDecompress
forIntegerList
- sharded_
key - Sharded key
- storage_
sharded_ key - Storage sharded key
Structs§
- Account
Before Tx - Account as it is saved in the database.
- Address
Storage Key - [
Address
] concatenated with [StorageKey
]. Used byreth_etl
and history stages. - Block
Number Address - [
BlockNumber
] concatenated with [Address
]. - Client
Version - Client version that accessed the database.
- Compact
Client Version - Wrapper struct so it can use StructFlags from Compact, when used as pure table values.
- Compact
Client Version Flags - Placeholder struct for when there is no need for a fieldset. Doesn’t actually write or read any data.
- Compact
U64 - Wrapper struct so it can use StructFlags from Compact, when used as pure table values.
- Compact
U64Flags - Fieldset that facilitates compacting the parent type. Used bytes: 1 | Unused bits: 4
- Compact
U256 - Wrapper struct so it can use StructFlags from Compact, when used as pure table values.
- Compact
U256 Flags - Fieldset that facilitates compacting the parent type. Used bytes: 1 | Unused bits: 2
- Integer
List - A data structure that uses Roaring Bitmaps to efficiently store a list of integers.
- Sharded
Key - Sometimes data can be too big to be saved for a single key. This helps out by dividing the data into different shards. Example:
- Static
File Block Withdrawals - A storage representation of block withdrawals that is static file friendly. An inner
None
represents a pre-merge block. - Stored
Block Body Indices - The storage of the block body indices.
- Stored
Block Ommers - The storage representation of a block’s ommers.
- Stored
Block Withdrawals - The storage representation of block withdrawals.
Type Aliases§
- Header
Hash - Hash of the block header.