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 and Decompress for IntegerList
sharded_key
Sharded key
storage_sharded_key
Storage sharded key

Structs§

AccountBeforeTx
Account as it is saved in the database.
AddressStorageKey
[Address] concatenated with [StorageKey]. Used by reth_etl and history stages.
BlockNumberAddress
[BlockNumber] concatenated with [Address].
ClientVersion
Client version that accessed the database.
CompactClientVersion
Wrapper struct so it can use StructFlags from Compact, when used as pure table values.
CompactClientVersionFlags
Placeholder struct for when there is no need for a fieldset. Doesn’t actually write or read any data.
CompactU64
Wrapper struct so it can use StructFlags from Compact, when used as pure table values.
CompactU64Flags
Fieldset that facilitates compacting the parent type. Used bytes: 1 | Unused bits: 4
CompactU256
Wrapper struct so it can use StructFlags from Compact, when used as pure table values.
CompactU256Flags
Fieldset that facilitates compacting the parent type. Used bytes: 1 | Unused bits: 2
IntegerList
A data structure that uses Roaring Bitmaps to efficiently store a list of integers.
ShardedKey
Sometimes data can be too big to be saved for a single key. This helps out by dividing the data into different shards. Example:
StaticFileBlockWithdrawals
A storage representation of block withdrawals that is static file friendly. An inner None represents a pre-merge block.
StoredBlockBodyIndices
The storage of the block body indices.
StoredBlockOmmers
The storage representation of a block’s ommers.
StoredBlockWithdrawals
The storage representation of block withdrawals.

Type Aliases§

HeaderHash
Hash of the block header.