mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
doc: Improve documentation for StageEnum to remove #[allow(missing_docs)] (#5945)
This commit is contained in:
@ -1,19 +1,56 @@
|
||||
//! Shared arguments related to stages
|
||||
|
||||
/// Represents a certain stage of the pipeline.
|
||||
/// Represents a specific stage within the data pipeline.
|
||||
///
|
||||
/// Different stages within the pipeline have dedicated functionalities and operations.
|
||||
#[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, clap::ValueEnum)]
|
||||
#[allow(missing_docs)]
|
||||
pub enum StageEnum {
|
||||
/// The headers stage within the pipeline.
|
||||
///
|
||||
/// This stage handles operations related to block headers.
|
||||
Headers,
|
||||
/// The bodies stage within the pipeline.
|
||||
///
|
||||
/// This stage deals with block bodies and their associated data.
|
||||
Bodies,
|
||||
/// The senders stage within the pipeline.
|
||||
///
|
||||
/// Responsible for sender-related processes and data recovery.
|
||||
Senders,
|
||||
/// The execution stage within the pipeline.
|
||||
///
|
||||
/// Handles the execution of transactions and contracts.
|
||||
Execution,
|
||||
/// The account hashing stage within the pipeline.
|
||||
///
|
||||
/// Manages operations related to hashing account data.
|
||||
AccountHashing,
|
||||
/// The storage hashing stage within the pipeline.
|
||||
///
|
||||
/// Manages operations related to hashing storage data.
|
||||
StorageHashing,
|
||||
/// The hashing stage within the pipeline.
|
||||
///
|
||||
/// Covers general data hashing operations.
|
||||
Hashing,
|
||||
/// The Merkle stage within the pipeline.
|
||||
///
|
||||
/// Handles Merkle tree-related computations and data processing.
|
||||
Merkle,
|
||||
/// The transaction lookup stage within the pipeline.
|
||||
///
|
||||
/// Deals with the retrieval and processing of transactions.
|
||||
TxLookup,
|
||||
/// The account history stage within the pipeline.
|
||||
///
|
||||
/// Manages historical data related to accounts.
|
||||
AccountHistory,
|
||||
/// The storage history stage within the pipeline.
|
||||
///
|
||||
/// Manages historical data related to storage.
|
||||
StorageHistory,
|
||||
/// The total difficulty stage within the pipeline.
|
||||
///
|
||||
/// Handles computations and data related to total difficulty.
|
||||
TotalDifficulty,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user