docs(blockchain-tree): rm comment (#11903)

This commit is contained in:
nk_ysg
2024-10-20 22:39:42 +08:00
committed by GitHub
parent de07436f0e
commit e9c09723ed
2 changed files with 0 additions and 4 deletions

View File

@ -113,9 +113,6 @@ where
/// is crucial for the correct execution of transactions.
/// - `tree_config`: Configuration for the blockchain tree, including any parameters that affect
/// 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(
externals: TreeExternals<N, E>,
config: BlockchainTreeConfig,

View File

@ -21,7 +21,6 @@ use std::{collections::BTreeMap, sync::Arc};
/// - A handle to the database
/// - A handle to the consensus engine
/// - The executor factory to execute blocks with
/// - The chain spec
#[derive(Debug)]
pub struct TreeExternals<N: NodeTypesWithDB, E> {
/// The provider factory, used to commit the canonical chain, or unwind it.