mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-05 12:34:57 -05:00
42 lines
1.2 KiB
Rust
42 lines
1.2 KiB
Rust
//! Standalone crate for Optimism-specific Reth configuration and builder types.
|
|
//!
|
|
//! # features
|
|
//! - `js-tracer`: Enable the `JavaScript` tracer for the `debug_trace` endpoints
|
|
|
|
#![doc(
|
|
html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
|
|
html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
|
|
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
|
|
)]
|
|
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
|
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
|
|
|
/// CLI argument parsing for the optimism node.
|
|
pub mod args;
|
|
|
|
/// Exports optimism-specific implementations of the [`EngineTypes`](reth_node_api::EngineTypes)
|
|
/// trait.
|
|
pub mod engine;
|
|
pub use engine::OpEngineTypes;
|
|
|
|
pub mod node;
|
|
pub use node::{OpNetworkPrimitives, OpNode};
|
|
|
|
pub mod rpc;
|
|
pub use rpc::OpEngineApiBuilder;
|
|
|
|
pub mod version;
|
|
pub use version::OP_NAME_CLIENT;
|
|
|
|
pub use reth_optimism_txpool as txpool;
|
|
|
|
/// Helpers for running test node instances.
|
|
#[cfg(feature = "test-utils")]
|
|
pub mod utils;
|
|
|
|
pub use reth_optimism_payload_builder::{
|
|
OpBuiltPayload, OpPayloadAttributes, OpPayloadBuilder, OpPayloadBuilderAttributes,
|
|
};
|
|
|
|
pub use reth_optimism_evm::*;
|