Expand description
An integration of reth-trie with reth-db.
Structs§
- Changeset
Cache - Thread-safe changeset cache.
- Database
Account Trie Cursor - A cursor over the account trie.
- Database
Hashed Account Cursor - A struct wrapping database cursor over hashed accounts implementing [
HashedCursor] for iterating over accounts. - Database
Hashed Cursor Factory - A struct wrapping database transaction that implements [
HashedCursorFactory]. - Database
Hashed Storage Cursor - The structure wrapping a database cursor for hashed storage and
a target hashed address. Implements [
HashedCursor] and [HashedStorageCursor] for iterating over hashed storage. - Database
Storage Trie Cursor - A cursor over the storage tries stored in the database.
- Database
Trie Cursor Factory - Wrapper struct for database transaction implementing trie cursor factory trait.
- Prefix
SetLoader - A wrapper around a database transaction that loads prefix sets within a given block range.
Traits§
- Database
Hashed Post State - Extends [
HashedPostStateSorted] with operations specific for working with a database transaction. - Database
Hashed Storage - Extends [
HashedStorage] with operations specific for working with a database transaction. - Database
Proof - Extends [
Proof] with operations specific for working with a database transaction. - Database
State Root - Extends [
StateRoot] with operations specific for working with a database transaction. - Database
Storage Proof - Extends [
StorageProof] with operations specific for working with a database transaction. - Database
Storage Root - Extends [
StorageRoot] with operations specific for working with a database transaction. - Database
Trie Witness - Extends [
TrieWitness] with operations specific for working with a database transaction.
Functions§
- compute_
block_ trie_ changesets - Computes trie changesets for a block.
- compute_
block_ trie_ updates - Computes block trie updates using the changeset cache.
- hashed_
storage_ from_ reverts_ with_ provider - Initializes [
HashedStorage] from reverts using a provider. - load_
prefix_ sets_ with_ provider - Load prefix sets using a provider that implements [
ChangeSetReader]. This function can read changesets from both static files and database.