docs(node-core): add document of build_blockchain_tree (#7120)

Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
This commit is contained in:
Delweng
2024-03-16 04:59:31 +08:00
committed by GitHub
parent 26f290eb71
commit 96149f05be
4 changed files with 50 additions and 6 deletions

View File

@@ -36,11 +36,11 @@ pub trait Node<N>: NodeTypes + Clone {
/// The type that configures stateless node types, the node's primitive types.
pub trait NodeTypes: Send + Sync + 'static {
/// The node's primitive types.
/// The node's primitive types, defining basic operations and structures.
type Primitives: NodePrimitives;
/// The node's engine types.
/// The node's engine types, defining the interaction with the consensus engine.
type Engine: EngineTypes;
/// The node's evm configuration.
/// The node's EVM configuration, defining settings for the Ethereum Virtual Machine.
type Evm: ConfigureEvm;
/// Returns the node's evm config.