Crate reth

Source
Expand description

Rust Ethereum (reth) binary executable.

§Feature Flags

  • jemalloc: Uses jemallocator as the global allocator. This is not recommended on Windows. See here for more info.
  • 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. See here for more info.
  • asm-keccak: replaces the default, pure-Rust implementation of Keccak256 with one implemented in assembly; see the keccak-asm crate for more details and supported targets
  • min-error-logs: Disables all logs below error level.
  • min-warn-logs: Disables all logs below warn level.
  • min-info-logs: Disables all logs below info level. This can speed up the node, since fewer calls to the logging component are made.
  • min-debug-logs: Disables all logs below debug level.
  • min-trace-logs: Disables all logs below trace level.

Modules§

api
Re-exported from reth_node_api.
args
Re-export of the reth_node_core types specifically in the args module.
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
commands
This contains all of the reth commands
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 the reth_node_core::args re-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 the reth_node_core::args re-export for more details.

Structs§

CliContext
Additional context provided by the CliRunner when executing commands
CliRunner
Executes CLI commands.

Functions§

tokio_runtime
Creates a new default tokio multi-thread Runtime with all features enabled