Skip to main content

Crate tempo

Crate tempo 

Source
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:

  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.

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§

TempoNode
Type configuration for a regular Ethereum node.
TempoNodeArgs
Tempo node CLI arguments.
TempoOverrides
Optional programmatic overrides for tempo_main_with.
TempoPayloadBuilderBuilder
TempoPoolBuilder
A basic Tempo transaction pool.
TempoPooledTransaction
Tempo pooled transaction representation.

Enums§

InvalidPoolTransactionError
Represents errors that can happen when validating transactions for the pool
TempoPoolTransactionError
Tempo-specific transaction pool rejection reasons.
TransactionOrigin
Where the transaction originates from.

Traits§

AccountInfoReader
Minimal requirements to read a full account, for example, to validate its new transactions
PoolTransaction
Trait for transaction types stored in the transaction pool.
PoolTransactionError
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§

StatefulValidationFn
Additional stateful validation function signature.
StatelessValidationFn
Additional stateless validation function signature.
TempoNodeMapper
Function used to modify the TempoNode before launch.