Module stages

Source
Expand description

Implementations of stages.

Structs§

AccountHashingStage
Account hashing stage hashes plain account. This is preparation before generating intermediate hashes and calculating Merkle tree root.
BodyStage
The body stage downloads block bodies.
ExecutionStage
The execution stage executes all transactions and update history indexes.
FinishStage
The finish stage.
HeaderStage
The headers stage.
IndexAccountHistoryStage
Stage is indexing history the account changesets generated in ExecutionStage. For more information on index sharding take a look at [tables::AccountsHistory]
IndexStorageHistoryStage
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.
PruneSenderRecoveryStage
The prune sender recovery stage that runs the pruner with the provided PruneMode for the SenderRecovery segment.
PruneStage
The prune stage that runs the pruner with the provided prune modes.
S3Stage
The S3 stage.
SeedOpts
SeedOpts provides configuration parameters for calling AccountHashingStage::seed in unit tests or benchmarks to generate an initial database state for running the stage.
SenderRecoveryStage
The sender recovery stage iterates over existing transactions, recovers the transaction signer and stores them in [TransactionSenders][reth_db_api::tables::TransactionSenders] table.
StorageHashingStage
Storage hashing stage hashes plain storage. This is preparation before generating intermediate hashes and calculating Merkle tree root.
TransactionLookupStage
The transaction lookup stage.

Enums§

MerkleStage
The merkle hashing stage uses input from AccountHashingStage and StorageHashingStage 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.