reth_node_core/args/stage.rs
1//! Shared arguments related to stages
2use derive_more::Display;
3
4/// Represents a specific stage within the data pipeline.
5///
6/// Different stages within the pipeline have dedicated functionalities and operations.
7#[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, clap::ValueEnum, Display)]
8pub enum StageEnum {
9 /// The headers stage within the pipeline.
10 ///
11 /// This stage handles operations related to block headers.
12 Headers,
13 /// The bodies stage within the pipeline.
14 ///
15 /// This stage deals with block bodies and their associated data.
16 Bodies,
17 /// The senders stage within the pipeline.
18 ///
19 /// Responsible for sender-related processes and data recovery.
20 Senders,
21 /// The execution stage within the pipeline.
22 ///
23 /// Handles the execution of transactions and contracts.
24 Execution,
25 /// The account hashing stage within the pipeline.
26 ///
27 /// Manages operations related to hashing account data.
28 AccountHashing,
29 /// The storage hashing stage within the pipeline.
30 ///
31 /// Manages operations related to hashing storage data.
32 StorageHashing,
33 /// The account and storage hashing stages within the pipeline.
34 ///
35 /// Covers general data hashing operations.
36 Hashing,
37 /// The merkle stage within the pipeline.
38 ///
39 /// Handles Merkle tree-related computations and data processing.
40 Merkle,
41 /// The transaction lookup stage within the pipeline.
42 ///
43 /// Deals with the retrieval and processing of transactions.
44 TxLookup,
45 /// The account history stage within the pipeline.
46 ///
47 /// Manages historical data related to accounts.
48 AccountHistory,
49 /// The storage history stage within the pipeline.
50 ///
51 /// Manages historical data related to storage.
52 StorageHistory,
53}