reth_node_core/
lib.rs

1//! The core of the Ethereum node. Collection of utilities and libraries that are used by the node.
2
3#![doc(
4    html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
5    html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
6    issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
7)]
8#![cfg_attr(not(test), warn(unused_crate_dependencies))]
9#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
10
11pub mod args;
12pub mod cli;
13pub mod dirs;
14pub mod exit;
15pub mod node_config;
16pub mod utils;
17pub mod version;
18
19/// Re-exported primitive types
20pub mod primitives {
21    pub use reth_ethereum_forks::*;
22    pub use reth_primitives_traits::*;
23}
24
25/// Re-export of `reth_rpc_*` crates.
26pub mod rpc {
27    /// Re-exported from `reth_rpc::rpc`.
28    pub mod result {
29        pub use reth_rpc_server_types::result::*;
30    }
31
32    /// Re-exported from `reth_rpc::eth`.
33    pub mod compat {
34        pub use reth_rpc_types_compat::*;
35    }
36}