client
The client crate group assembles the full Base Reth Node. It supplies the CLI, Engine API integration, flashblocks support, metering RPC, proof extensions, and transaction pool tracing.
Sub-crates
Section titled “Sub-crates”| Crate | Package Name | Purpose |
|---|---|---|
| cli | base-client-cli | CLI argument parsing and node configuration |
| engine | base-client-engine | Engine API client for consensus-execution communication |
| flashblocks-node | base-flashblocks-node | Flashblocks-enabled node assembly |
| flashblocks | base-flashblocks | Flashblocks RPC provider and pending state cache |
| metering | base-metering | Metering RPC endpoints for resource tracking |
| proofs | base-proofs-extension | Proof generation extensions |
| txpool-tracing | base-txpool-tracing | Transaction pool tracing and diagnostics |
Role in the Architecture
Section titled “Role in the Architecture”The client crate group is the primary interface for node operators. It:
- Parses CLI arguments and configures the node (
cli) - Manages the Engine API connection between execution and consensus (
engine) - Assembles the flashblocks-enabled node with all components (
flashblocks-node) - Provides the Flashblocks RPC for querying preconfirmed state (
flashblocks) - Exposes metering endpoints for gas and resource tracking (
metering) - Supports proof generation for the fault proof system (
proofs) - Adds tracing to the transaction pool for debugging (
txpool-tracing)
The base-reth-node binary (in bin/node) depends primarily on this crate group.