Expand description
Rust Ethereum (reth) binary executable.
§Feature Flags
§Default Features
jemalloc: Uses jemallocator as the global allocator. This is not recommended on Windows. See here for more info.otlp: Enables OpenTelemetry metrics export to a configured OTLP collector endpoint.js-tracer: Enables theJavaScripttracer for thedebug_traceendpoints, allowing customJavaScript-based transaction tracing.keccak-cache-global: Enables global caching for Keccak256 hashes to improve performance.asm-keccak: Replaces the default, pure-Rust implementation of Keccak256 with one implemented in assembly; see thekeccak-asmcrate for more details and supported targets.
§Allocator Features
jemalloc-prof: Enables jemallocator’s heap profiling and leak detection functionality. See jemalloc’s opt.prof documentation for usage details. This is not recommended on Windows.jemalloc-symbols: Enables jemalloc symbols for profiling. Includesjemalloc-prof.jemalloc-unprefixed: Uses unprefixed jemalloc symbols.tracy-allocator: Enables Tracy profiler allocator integration for memory profiling.snmalloc: Uses snmalloc as the global allocator. Use--no-default-featureswhen enabling this, as jemalloc takes precedence.snmalloc-native: Uses snmalloc with native CPU optimizations. Use--no-default-featureswhen enabling this.
§Log Level Features
min-error-logs: Disables all logs belowerrorlevel.min-warn-logs: Disables all logs belowwarnlevel.min-info-logs: Disables all logs belowinfolevel. This can speed up the node, since fewer calls to the logging component are made.min-debug-logs: Disables all logs belowdebuglevel.min-trace-logs: Disables all logs belowtracelevel.
§Development Features
dev: Enables development mode features, including test vector generation commands.
Modules§
- api
- Re-exported from
reth_node_api. - args
- Re-export of the
reth_node_coretypes specifically in theargsmodule. - beacon_
consensus - Re-exported from
reth_ethereum_consensus. - builder
- Re-exported from
reth_node_builder - chainspec
- Re-exported from
reth_chainspec - cli
- CLI definition and entrypoint to executable
- consensus
- Re-exported from
reth_consensus. - consensus_
common - Re-exported from
reth_consensus_common. - core
- Re-exported from
reth_node_core. - dirs
- Re-exported from
reth_node_core, also to prevent a breaking change. See the comment on thereth_node_core::argsre-export for more details. - network
- Re-exported from
reth_network. - payload
- Re-exported payload related types
- primitives
- Re-exported from
reth_primitives. - prometheus_
exporter - Re-exported from
reth_node_metrics. - providers
- Re-exported from
reth_provider. - ress
- Ress subprotocol installation.
- revm
- Re-exported from
reth_revm. - rpc
- Re-export of
reth_rpc_*crates. - tasks
- Re-exported from
reth_tasks. - transaction_
pool - Re-exported from
reth_transaction_pool. - utils
- Re-exported utils.
- version
- Re-exported from
reth_node_core, also to prevent a breaking change. See the comment on thereth_node_core::argsre-export for more details.
Structs§
- CliContext
- Additional context provided by the
CliRunnerwhen executing commands - CliRunner
- Executes CLI commands.
Functions§
- tokio_
runtime - Creates a new default tokio multi-thread Runtime with all features enabled