Skip to main content

Crate tempo

Crate tempo 

Source
Expand description

Main executable for the Reth-Commonware node.

This binary launches a blockchain node that combines:

  • Reth’s execution layer for transaction processing and state management
  • Commonware’s consensus engine for block agreement

The node operates by:

  1. Starting the Reth node infrastructure (database, networking, RPC)
  2. Creating the application state that bridges Reth and Commonware
  3. Launching the Commonware consensus engine via a separate task and a separate tokio runtime.
  4. Running both components until shutdown

Configuration can be provided via command-line arguments or configuration files.

ModulesΒ§

defaults πŸ”’
init_state πŸ”’
Initialize state from a binary dump file.
p2p_proxy πŸ”’
tempo_cmd πŸ”’

StructsΒ§

PyroscopeArgs πŸ”’ pyroscope
Command line arguments for configuring Pyroscope continuous profiling.
TempoArgs πŸ”’
TempoRpcModuleValidator πŸ”’

ConstantsΒ§

TEMPO_CUSTOM_RPC_MODULES πŸ”’

StaticsΒ§

ALLOC πŸ”’
MALLOC_CONF πŸ”’ jemalloc-prof and Unix
Compile-time jemalloc configuration for heap profiling.

TraitsΒ§

NodeCommandExt πŸ”’

FunctionsΒ§

fetch_bootnodes πŸ”’
Fetches bootnodes from the given endpoint for the specified chain ID.
install_crypto_provider πŸ”’
Force-install the default crypto provider.
main πŸ”’
print_extensions_footer πŸ”’
Print installed extensions as a footer after root help output. Skips printing when help is for a subcommand (e.g. tempo node --help).

Type AliasesΒ§

TempoCli πŸ”’