mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
docs(blockchain-tree): rm comment (#11903)
This commit is contained in:
@ -113,9 +113,6 @@ where
|
|||||||
/// is crucial for the correct execution of transactions.
|
/// is crucial for the correct execution of transactions.
|
||||||
/// - `tree_config`: Configuration for the blockchain tree, including any parameters that affect
|
/// - `tree_config`: Configuration for the blockchain tree, including any parameters that affect
|
||||||
/// its structure or performance.
|
/// its structure or performance.
|
||||||
/// - `prune_modes`: Configuration for pruning old blockchain data. This helps in managing the
|
|
||||||
/// storage space efficiently. It's important to validate this configuration to ensure it does
|
|
||||||
/// not lead to unintended data loss.
|
|
||||||
pub fn new(
|
pub fn new(
|
||||||
externals: TreeExternals<N, E>,
|
externals: TreeExternals<N, E>,
|
||||||
config: BlockchainTreeConfig,
|
config: BlockchainTreeConfig,
|
||||||
|
|||||||
@ -21,7 +21,6 @@ use std::{collections::BTreeMap, sync::Arc};
|
|||||||
/// - A handle to the database
|
/// - A handle to the database
|
||||||
/// - A handle to the consensus engine
|
/// - A handle to the consensus engine
|
||||||
/// - The executor factory to execute blocks with
|
/// - The executor factory to execute blocks with
|
||||||
/// - The chain spec
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct TreeExternals<N: NodeTypesWithDB, E> {
|
pub struct TreeExternals<N: NodeTypesWithDB, E> {
|
||||||
/// The provider factory, used to commit the canonical chain, or unwind it.
|
/// The provider factory, used to commit the canonical chain, or unwind it.
|
||||||
|
|||||||
Reference in New Issue
Block a user