Expand description
Implementations of stages.
Structs§
- Account
Hashing Stage - Account hashing stage hashes plain account. This is preparation before generating intermediate hashes and calculating Merkle tree root.
- Body
Stage - The body stage downloads block bodies.
- Execution
Stage - The execution stage executes all transactions and update history indexes.
- Finish
Stage - The finish stage.
- Header
Stage - The headers stage.
- Index
Account History Stage - Stage is indexing history the account changesets generated in
ExecutionStage
. For more information on index sharding take a look at [tables::AccountsHistory
] - Index
Storage History Stage - Stage is indexing history the account changesets generated in
ExecutionStage
. For more information on index sharding take a look at [tables::StoragesHistory
]. - Metadata
- Tracks download progress and manages chunked downloads for resumable file transfers.
- Prune
Sender Recovery Stage - The prune sender recovery stage that runs the pruner with the provided
PruneMode
for theSenderRecovery
segment. - Prune
Stage - The prune stage that runs the pruner with the provided prune modes.
- S3Stage
- The S3 stage.
- Seed
Opts SeedOpts
provides configuration parameters for callingAccountHashingStage::seed
in unit tests or benchmarks to generate an initial database state for running the stage.- Sender
Recovery Stage - The sender recovery stage iterates over existing transactions,
recovers the transaction signer and stores them
in [
TransactionSenders
][reth_db_api::tables::TransactionSenders] table. - Storage
Hashing Stage - Storage hashing stage hashes plain storage. This is preparation before generating intermediate hashes and calculating Merkle tree root.
- Transaction
Lookup Stage - The transaction lookup stage.
Enums§
- Merkle
Stage - The merkle hashing stage uses input from
AccountHashingStage
andStorageHashingStage
to calculate intermediate hashes and state roots.
Constants§
- INVALID_
STATE_ ROOT_ ERROR_ MESSAGE - The error message that we include in invalid state root errors to tell users what information they should include in a bug report, since true state root errors can be impossible to debug with just basic logs.
- MERKLE_
STAGE_ DEFAULT_ CLEAN_ THRESHOLD - The default threshold (in number of blocks) for switching from incremental trie building of changes to whole rebuild.
Functions§
- fetch
- Downloads file from url to data file path.