Available on non-
target_family=wasm only.Expand description
Verification of existing stored trie nodes against state data. Parallel verification of persisted account and storage tries.
Structs§
- Storage
Job - Storage to verify, including whether the account walk needs its root.
- Storage
Worker - Cursors for one parallel storage verification thread of a
Verifier. - Verifier
- Compares the persisted account and storage trie tables against tries recomputed from the hashed
state tables, yielding an
Outputfor every inconsistency found.
Enums§
- Output
- Output describes an inconsistency found when comparing the hashed state tables
(
HashedCursor) with that of the trie tables (TrieCursor). The hashed tables are considered the source of truth; outputs are on the part of the trie tables.
Constants§
- DEFAULT_
STORAGE_ LOOKAHEAD - Default maximum number of storage roots computed or in flight ahead of the account walk.
Functions§
- default_
storage_ workers - Returns the default number of
StorageWorkers to pass toVerifier::new: one per available CPU, or one if the CPU count cannot be determined.