Expand description
Main library for the Reth-Commonware node.
This crate 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:
- Starting the Reth node infrastructure (database, networking, RPC)
- Creating the application state that bridges Reth and Commonware
- Launching the Commonware consensus engine via a separate task and a separate tokio runtime.
- Running both components until shutdown
Configuration can be provided via command-line arguments or configuration files.
Re-exports§
pub use crate::cli::TempoArgs;pub use crate::cli::TempoCli;pub use crate::cli::TempoRpcModuleValidator;pub use reth_cli_util as cli_util;pub use tempo_node;pub use tempo_node as node;
Modules§
- cli
- CLI type definitions for the Tempo node.
- defaults 🔒
- follow 🔒
- Follow mode configuration for syncing from an upstream node.
- init_
state - Initialize state from a binary dump file.
- overrides 🔒
- p2p_
proxy - regenesis
- Patch a virgin block-0 database to use a new genesis header.
- snapshot_
download 🔒 - snapshot_
manifest 🔒 - tempo_
cmd - utils 🔒
- Helper functions for the Tempo node entrypoint.
Structs§
- Tempo
Node - Type configuration for a regular Ethereum node.
- Tempo
Node Args - Tempo node CLI arguments.
- Tempo
Overrides - Optional programmatic overrides for
tempo_main_with. - Tempo
Payload Builder Builder - Tempo
Pool Builder - A basic Tempo transaction pool.
- Tempo
Pooled Transaction - Tempo pooled transaction representation.
Enums§
- Invalid
Pool Transaction Error - Represents errors that can happen when validating transactions for the pool
- Tempo
Pool Transaction Error - Tempo-specific transaction pool rejection reasons.
- Transaction
Origin - Where the transaction originates from.
Traits§
- Account
Info Reader - Minimal requirements to read a full account, for example, to validate its new transactions
- Pool
Transaction - Trait for transaction types stored in the transaction pool.
- Pool
Transaction Error - A trait for additional errors that can be thrown by the transaction pool.
Functions§
- apply_
tempo_ 🔒cli_ overrides - tempo_
main - Runs the Tempo node CLI.
- tempo_
main_ with - Runs the Tempo node CLI with programmatic startup overrides.
Type Aliases§
- Stateful
Validation Fn - Additional stateful validation function signature.
- Stateless
Validation Fn - Additional stateless validation function signature.
- Tempo
Node Mapper - Function used to modify the
TempoNodebefore launch.