repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/trie/parallel/src/stats.rs
crates/trie/parallel/src/stats.rs
use derive_more::Deref; use reth_trie::stats::{TrieStats, TrieTracker}; /// Trie stats. #[derive(Deref, Clone, Copy, Debug)] pub struct ParallelTrieStats { #[deref] trie: TrieStats, precomputed_storage_roots: u64, missed_leaves: u64, } impl ParallelTrieStats { /// Return general trie stats. pu...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/trie/parallel/src/lib.rs
crates/trie/parallel/src/lib.rs
//! Implementation of exotic state root computation approaches. #![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/SeismicSystems/s...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/trie/parallel/src/root.rs
crates/trie/parallel/src/root.rs
#[cfg(feature = "metrics")] use crate::metrics::ParallelStateRootMetrics; use crate::{stats::ParallelTrieTracker, storage_root_targets::StorageRootTargets}; use alloy_primitives::B256; use alloy_rlp::{BufMut, Encodable}; use itertools::Itertools; use reth_execution_errors::StorageRootError; use reth_provider::{ pro...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/trie/parallel/src/metrics.rs
crates/trie/parallel/src/metrics.rs
use crate::stats::ParallelTrieStats; use metrics::Histogram; use reth_metrics::Metrics; use reth_trie::{metrics::TrieRootMetrics, TrieType}; /// Parallel state root metrics. #[derive(Debug)] pub struct ParallelStateRootMetrics { /// State trie metrics. pub state_trie: TrieRootMetrics, /// Parallel trie met...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/trie/parallel/src/proof_task.rs
crates/trie/parallel/src/proof_task.rs
//! A Task that manages sending proof requests to a number of tasks that have longer-running //! database transactions. //! //! The [`ProofTaskManager`] ensures that there are a max number of currently executing proof tasks, //! and is responsible for managing the fixed number of database transactions created at the st...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/trie/parallel/src/storage_root_targets.rs
crates/trie/parallel/src/storage_root_targets.rs
use alloy_primitives::{map::B256Map, B256}; use derive_more::{Deref, DerefMut}; use reth_trie::prefix_set::PrefixSet; /// Target accounts with corresponding prefix sets for storage root calculation. #[derive(Deref, DerefMut, Debug)] pub struct StorageRootTargets(B256Map<PrefixSet>); impl StorageRootTargets { /// ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/trie/parallel/src/proof_task_metrics.rs
crates/trie/parallel/src/proof_task_metrics.rs
use reth_metrics::{metrics::Histogram, Metrics}; /// Metrics for blinded node fetching for the duration of the proof task manager. #[derive(Clone, Debug, Default)] pub struct ProofTaskMetrics { /// The actual metrics for blinded nodes. pub task_metrics: ProofTaskTrieMetrics, /// Count of blinded account no...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/trie/parallel/benches/root.rs
crates/trie/parallel/benches/root.rs
#![allow(missing_docs, unreachable_pub)] use alloy_primitives::B256; use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; use proptest::{prelude::*, strategy::ValueTree, test_runner::TestRunner}; use proptest_arbitrary_interop::arb; use reth_primitives_traits::Account; use reth_provider::{ prov...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/setup.rs
crates/node/builder/src/setup.rs
//! Helpers for setting up parts of the node. use std::sync::Arc; use crate::BlockTy; use alloy_primitives::{BlockNumber, B256}; use reth_config::{config::StageConfig, PruneConfig}; use reth_consensus::{ConsensusError, FullConsensus}; use reth_downloaders::{ bodies::bodies::BodiesDownloaderBuilder, headers::r...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/node.rs
crates/node/builder/src/node.rs
// re-export the node api types pub use reth_node_api::{FullNodeTypes, NodeTypes}; use crate::{components::NodeComponentsBuilder, rpc::RethRpcAddOns, NodeAdapter, NodeAddOns}; use reth_node_api::{EngineTypes, FullNodeComponents, PayloadTypes}; use reth_node_core::{ dirs::{ChainPath, DataDirPath}, node_config::...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/lib.rs
crates/node/builder/src/lib.rs
//! Standalone crate for 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.github...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/hooks.rs
crates/node/builder/src/hooks.rs
use std::fmt; use reth_node_api::{FullNodeComponents, NodeAddOns}; use crate::node::FullNode; /// Container for all the configurable hook functions. pub struct NodeHooks<Node: FullNodeComponents, AddOns: NodeAddOns<Node>> { /// Hook to run once core components are initialized. pub on_component_initialized: B...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/rpc.rs
crates/node/builder/src/rpc.rs
//! Builder support for rpc components. pub use jsonrpsee::server::middleware::rpc::{RpcService, RpcServiceBuilder}; pub use reth_engine_tree::tree::{BasicEngineValidator, EngineValidator}; pub use reth_rpc_builder::{middleware::RethRpcMiddleware, Identity, Stack}; use crate::{ invalid_block_hook::InvalidBlockHoo...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/exex.rs
crates/node/builder/src/exex.rs
//! Types for launching execution extensions (ExEx). use std::future::Future; use futures::{future::BoxFuture, FutureExt}; use reth_exex::ExExContext; use reth_node_api::FullNodeComponents; /// A trait for launching an `ExEx`. pub trait LaunchExEx<Node: FullNodeComponents>: Send { /// Launches the `ExEx`. //...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/engine_api_ext.rs
crates/node/builder/src/engine_api_ext.rs
//! `EngineApiBuilder` callback wrapper //! //! Wraps an `EngineApiBuilder` to provide access to the built Engine API instance. use crate::rpc::EngineApiBuilder; use eyre::Result; use reth_node_api::{AddOnsContext, FullNodeComponents}; use reth_rpc_api::IntoEngineApiRpcModule; /// Provides access to an `EngineApi` in...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/aliases.rs
crates/node/builder/src/aliases.rs
use reth_network::NetworkPrimitives; use reth_node_api::BlockBody; use reth_provider::BlockReader; /// This is a type alias to make type bounds simpler, when we have a [`NetworkPrimitives`] and need /// a [`BlockReader`] whose associated types match the [`NetworkPrimitives`] associated types. pub trait BlockReaderFor<...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/handle.rs
crates/node/builder/src/handle.rs
use std::fmt; use reth_node_api::FullNodeComponents; use reth_node_core::exit::NodeExitFuture; use crate::{node::FullNode, rpc::RethRpcAddOns}; /// A Handle to the launched node. #[must_use = "Needs to await the node exit future"] pub struct NodeHandle<Node: FullNodeComponents, AddOns: RethRpcAddOns<Node>> { ///...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/builder/add_ons.rs
crates/node/builder/src/builder/add_ons.rs
//! Node add-ons. Depend on core [`NodeComponents`](crate::NodeComponents). use reth_node_api::{FullNodeComponents, NodeAddOns}; use crate::{exex::BoxedLaunchExEx, hooks::NodeHooks}; /// Additional node extensions. /// /// At this point we consider all necessary components defined. pub struct AddOns<Node: FullNodeCo...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/builder/mod.rs
crates/node/builder/src/builder/mod.rs
//! Customizable node builder. #![allow(clippy::type_complexity, missing_debug_implementations)] use crate::{ common::WithConfigs, components::NodeComponentsBuilder, node::FullNode, rpc::{RethRpcAddOns, RethRpcServerHandles, RpcContext}, BlockReaderFor, DebugNode, DebugNodeLauncher, EngineNodeLaun...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/builder/states.rs
crates/node/builder/src/builder/states.rs
//! Node builder states and helper traits. //! //! Keeps track of the current state of the node builder. //! //! The node builder process is essentially a state machine that transitions through various states //! before the node can be launched. use crate::{ components::{NodeComponents, NodeComponentsBuilder}, ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/components/builder.rs
crates/node/builder/src/components/builder.rs
//! A generic [`NodeComponentsBuilder`] use crate::{ components::{ Components, ConsensusBuilder, ExecutorBuilder, NetworkBuilder, NodeComponents, PayloadServiceBuilder, PoolBuilder, }, BuilderContext, ConfigureEvm, FullNodeTypes, }; use reth_consensus::{noop::NoopConsensus, ConsensusError, ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/components/network.rs
crates/node/builder/src/components/network.rs
//! Network component for the node builder. use crate::{BuilderContext, FullNodeTypes}; use reth_network::types::NetPrimitivesFor; use reth_network_api::FullNetwork; use reth_node_api::PrimitivesTy; use reth_transaction_pool::TransactionPool; use std::future::Future; /// A type that knows how to build the network imp...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/components/execute.rs
crates/node/builder/src/components/execute.rs
//! EVM component for the node builder. use crate::{BuilderContext, ConfigureEvm, FullNodeTypes}; use reth_node_api::PrimitivesTy; use std::future::Future; /// A type that knows how to build the executor types. pub trait ExecutorBuilder<Node: FullNodeTypes>: Send { /// The EVM config to use. /// /// This p...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/components/mod.rs
crates/node/builder/src/components/mod.rs
//! Support for configuring the components of a node. //! //! Customizable components of the node include: //! - The transaction pool. //! - The network implementation. //! - The payload builder service. //! //! Components depend on a fully type configured node: [FullNodeTypes](crate::node::FullNodeTypes). mod buil...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/components/payload.rs
crates/node/builder/src/components/payload.rs
//! Payload service component for the node builder. use crate::{BuilderContext, FullNodeTypes}; use reth_basic_payload_builder::{BasicPayloadJobGenerator, BasicPayloadJobGeneratorConfig}; use reth_chain_state::CanonStateSubscriptions; use reth_node_api::{NodeTypes, PayloadBuilderFor}; use reth_payload_builder::{Payloa...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/components/consensus.rs
crates/node/builder/src/components/consensus.rs
//! Consensus component for the node builder. use reth_consensus::{ConsensusError, FullConsensus}; use reth_node_api::PrimitivesTy; use crate::{BuilderContext, FullNodeTypes}; use std::future::Future; /// A type that knows how to build the consensus implementation. pub trait ConsensusBuilder<Node: FullNodeTypes>: Sen...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/components/pool.rs
crates/node/builder/src/components/pool.rs
//! Pool component for the node builder. use alloy_primitives::Address; use reth_chain_state::CanonStateSubscriptions; use reth_node_api::TxTy; use reth_transaction_pool::{ blobstore::DiskFileBlobStore, CoinbaseTipOrdering, PoolConfig, PoolTransaction, SubPoolLimit, TransactionPool, TransactionValidationTaskEx...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/launch/engine.rs
crates/node/builder/src/launch/engine.rs
//! Engine node related functionality. use crate::{ common::{Attached, LaunchContextWith, WithConfigs}, hooks::NodeHooks, rpc::{EngineValidatorAddOn, EngineValidatorBuilder, RethRpcAddOns, RpcHandle}, setup::build_networked_pipeline, AddOns, AddOnsContext, FullNode, LaunchContext, LaunchNode, NodeA...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/launch/invalid_block_hook.rs
crates/node/builder/src/launch/invalid_block_hook.rs
//! Invalid block hook helpers for the node builder. use crate::AddOnsContext; use alloy_rpc_types::{Block, Header, Receipt, Transaction, TransactionRequest}; use eyre::OptionExt; use reth_chainspec::EthChainSpec; use reth_engine_primitives::InvalidBlockHook; use reth_node_api::{FullNodeComponents, NodeTypes}; use ret...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/launch/debug.rs
crates/node/builder/src/launch/debug.rs
use super::LaunchNode; use crate::{rpc::RethRpcAddOns, EngineNodeLauncher, Node, NodeHandle}; use alloy_provider::network::AnyNetwork; use jsonrpsee::core::{DeserializeOwned, Serialize}; use reth_chainspec::EthChainSpec; use reth_consensus_debug_client::{DebugConsensusClient, EtherscanBlockProvider, RpcBlockProvider}; ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/launch/mod.rs
crates/node/builder/src/launch/mod.rs
//! Abstraction for launching a node. pub mod common; mod exex; pub mod invalid_block_hook; pub(crate) mod debug; pub(crate) mod engine; pub use common::LaunchContext; pub use exex::ExExLauncher; use std::future::Future; /// A general purpose trait that launches a new node of any kind. /// /// Acts as a node facto...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/launch/exex.rs
crates/node/builder/src/launch/exex.rs
//! Support for launching execution extensions. use alloy_eips::{eip2124::Head, BlockNumHash}; use futures::future; use reth_chain_state::ForkChoiceSubscriptions; use reth_chainspec::EthChainSpec; use reth_exex::{ ExExContext, ExExHandle, ExExManager, ExExManagerHandle, ExExNotificationSource, Wal, DEFAULT_EXE...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/builder/src/launch/common.rs
crates/node/builder/src/launch/common.rs
//! Helper types that can be used by launchers. //! //! ## Launch Context Type System //! //! The node launch process uses a type-state pattern to ensure correct initialization //! order at compile time. Methods are only available when their prerequisites are met. //! //! ### Core Types //! //! - [`LaunchContext`]: Bas...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/metrics/src/lib.rs
crates/node/metrics/src/lib.rs
//! Metrics utilities for the node. #![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/SeismicSystems/seismic-reth/issues/" )] #![cf...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/metrics/src/version.rs
crates/node/metrics/src/version.rs
//! This exposes reth's version information over prometheus. use metrics::gauge; /// Contains version information for the application. #[derive(Debug, Clone)] pub struct VersionInfo { /// The version of the application. pub version: &'static str, /// The build timestamp of the application. pub build_ti...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/metrics/src/chain.rs
crates/node/metrics/src/chain.rs
//! This exposes reth's chain information over prometheus. use metrics::{describe_gauge, gauge}; /// Contains chain information for the application. #[derive(Debug, Clone)] pub struct ChainSpecInfo { /// The name of the chain. pub name: String, } impl ChainSpecInfo { /// This exposes reth's chain informat...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/metrics/src/recorder.rs
crates/node/metrics/src/recorder.rs
//! Prometheus recorder use eyre::WrapErr; use metrics_exporter_prometheus::{PrometheusBuilder, PrometheusHandle}; use metrics_util::layers::{PrefixLayer, Stack}; use std::sync::{atomic::AtomicBool, LazyLock}; /// Installs the Prometheus recorder as the global recorder. /// /// Note: This must be installed before any...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/metrics/src/hooks.rs
crates/node/metrics/src/hooks.rs
use metrics_process::Collector; use std::{fmt, sync::Arc}; /// The simple alias for function types that are `'static`, `Send`, and `Sync`. pub trait Hook: Fn() + Send + Sync + 'static {} impl<T: 'static + Fn() + Send + Sync> Hook for T {} /// A builder-like type to create a new [`Hooks`] instance. pub struct HooksBui...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/metrics/src/server.rs
crates/node/metrics/src/server.rs
use crate::{ chain::ChainSpecInfo, hooks::{Hook, Hooks}, recorder::install_prometheus_recorder, version::VersionInfo, }; use eyre::WrapErr; use http::{header::CONTENT_TYPE, HeaderValue, Response}; use metrics::describe_gauge; use metrics_process::Collector; use reth_metrics::metrics::Unit; use reth_task...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/ethstats/src/lib.rs
crates/node/ethstats/src/lib.rs
//! //! `EthStats` client support for Reth. //! //! This crate provides the necessary components to connect to, authenticate with, and report //! node and network statistics to an `EthStats` server. It includes abstractions for `WebSocket` //! connections, error handling, event/message types, and the main `EthStats` se...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/ethstats/src/ethstats.rs
crates/node/ethstats/src/ethstats.rs
use crate::{ connection::ConnWrapper, credentials::EthstatsCredentials, error::EthStatsError, events::{ AuthMsg, BlockMsg, BlockStats, HistoryMsg, LatencyMsg, NodeInfo, NodeStats, PendingMsg, PendingStats, PingMsg, StatsMsg, TxStats, UncleStats, }, }; use alloy_consensus::{BlockHeade...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/ethstats/src/connection.rs
crates/node/ethstats/src/connection.rs
/// Abstractions for managing `WebSocket` connections in the ethstats service. use crate::error::ConnectionError; use futures_util::{ stream::{SplitSink, SplitStream}, SinkExt, StreamExt, }; use serde_json::Value; use std::sync::Arc; use tokio::{net::TcpStream, sync::Mutex}; use tokio_tungstenite::{ tungste...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/ethstats/src/error.rs
crates/node/ethstats/src/error.rs
use thiserror::Error; /// Errors that can occur during `WebSocket` connection handling #[derive(Debug, Error)] pub enum ConnectionError { /// The `WebSocket` connection was closed unexpectedly #[error("Connection closed")] ConnectionClosed, /// Error occurred during JSON serialization/deserialization ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/ethstats/src/credentials.rs
crates/node/ethstats/src/credentials.rs
use crate::error::EthStatsError; use std::str::FromStr; /// Credentials for connecting to an `EthStats` server /// /// Contains the node identifier, authentication secret, and server host /// information needed to establish a connection with the `EthStats` service. #[derive(Debug, Clone)] pub(crate) struct EthstatsCre...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/ethstats/src/events.rs
crates/node/ethstats/src/events.rs
//! Types for ethstats event reporting. //! These structures define the data format used to report blockchain events to ethstats servers. use alloy_consensus::Header; use alloy_primitives::{Address, B256, U256}; use serde::{Deserialize, Serialize}; /// Collection of meta information about a node that is displayed on ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/api/src/node.rs
crates/node/api/src/node.rs
//! Traits for configuring a node. use crate::PayloadTypes; use alloy_rpc_types_engine::JwtSecret; use reth_basic_payload_builder::PayloadBuilder; use reth_consensus::{ConsensusError, FullConsensus}; use reth_db_api::{database_metrics::DatabaseMetrics, Database}; use reth_engine_primitives::{ConsensusEngineEvent, Cons...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/api/src/lib.rs
crates/node/api/src/lib.rs
//! Standalone crate for Reth configuration traits and builder types. #![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/SeismicSys...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/types/src/lib.rs
crates/node/types/src/lib.rs
//! Standalone crate for Reth configuration traits and builder types. #![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/SeismicSys...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/events/src/node.rs
crates/node/events/src/node.rs
//! Support for handling events emitted by node components. use crate::cl::ConsensusLayerHealthEvent; use alloy_consensus::{constants::GWEI_TO_WEI, BlockHeader}; use alloy_primitives::{BlockNumber, B256}; use alloy_rpc_types_engine::ForkchoiceState; use futures::Stream; use reth_engine_primitives::{ ConsensusEngin...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/events/src/lib.rs
crates/node/events/src/lib.rs
//! Various event handlers for the node. #![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/SeismicSystems/seismic-reth/issues/" )]...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/events/src/cl.rs
crates/node/events/src/cl.rs
//! Events related to Consensus Layer health. use alloy_consensus::Header; use futures::Stream; use reth_storage_api::CanonChainTracker; use std::{ fmt, pin::Pin, task::{ready, Context, Poll}, time::Duration, }; use tokio::time::{Instant, Interval}; /// Interval of checking Consensus Layer client heal...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/build.rs
crates/node/core/build.rs
#![allow(missing_docs)] use std::{env, error::Error}; use vergen::{BuildBuilder, CargoBuilder, Emitter}; use vergen_git2::Git2Builder; fn main() -> Result<(), Box<dyn Error>> { let mut emitter = Emitter::default(); let build_builder = BuildBuilder::default().build_timestamp(true).build()?; emitter.add_i...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/lib.rs
crates/node/core/src/lib.rs
//! The core of the Ethereum node. Collection of utilities and libraries that are used by the node. #![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 = ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/version.rs
crates/node/core/src/version.rs
//! Version information for reth. use std::{borrow::Cow, sync::OnceLock}; use alloy_primitives::Bytes; use alloy_rpc_types_engine::ClientCode; use reth_db::ClientVersion; /// The client code for Reth pub const CLIENT_CODE: ClientCode = ClientCode::RH; /// Global static version metadata static VERSION_METADATA: OnceL...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/node_config.rs
crates/node/core/src/node_config.rs
//! Support for customizing the node use crate::{ args::{ DatabaseArgs, DatadirArgs, DebugArgs, DevArgs, EnclaveArgs, EngineArgs, NetworkArgs, PayloadBuilderArgs, PruningArgs, RpcServerArgs, TxPoolArgs, }, dirs::{ChainPath, DataDirPath}, utils::get_single_header, }; use alloy_consensus:...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/utils.rs
crates/node/core/src/utils.rs
//! Utility functions for node startup and shutdown, for example path parsing and retrieving single //! blocks from the network. use alloy_consensus::BlockHeader; use alloy_eips::BlockHashOrNumber; use alloy_rpc_types_engine::{JwtError, JwtSecret}; use eyre::Result; use reth_consensus::{Consensus, ConsensusError}; use...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/dirs.rs
crates/node/core/src/dirs.rs
//! reth data directories. use crate::{args::DatadirArgs, utils::parse_path}; use reth_chainspec::Chain; use std::{ env::VarError, fmt::{Debug, Display, Formatter}, path::{Path, PathBuf}, str::FromStr, }; /// Constructs a string to be used as a path for configuration and db paths. pub fn config_path_p...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/exit.rs
crates/node/core/src/exit.rs
//! Helper types for waiting for the node to exit. use futures::{future::BoxFuture, FutureExt}; use std::{ fmt, future::Future, pin::Pin, task::{ready, Context, Poll}, }; /// A Future which resolves when the node exits pub struct NodeExitFuture { /// The consensus engine future. /// This can b...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/cli/config.rs
crates/node/core/src/cli/config.rs
//! Config traits for various node components. use alloy_eips::eip1559::ETHEREUM_BLOCK_GAS_LIMIT_36M; use alloy_primitives::Bytes; use reth_chainspec::{Chain, ChainKind, NamedChain}; use reth_network::{protocol::IntoRlpxSubProtocol, NetworkPrimitives}; use reth_transaction_pool::PoolConfig; use std::{borrow::Cow, time...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/cli/mod.rs
crates/node/core/src/cli/mod.rs
//! Additional CLI configuration support. pub mod config;
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/pruning.rs
crates/node/core/src/args/pruning.rs
//! Pruning and full node arguments use crate::{args::error::ReceiptsLogError, primitives::EthereumHardfork}; use alloy_primitives::{Address, BlockNumber}; use clap::{builder::RangedU64ValueParser, Args}; use reth_chainspec::EthereumHardforks; use reth_config::config::PruneConfig; use reth_prune_types::{PruneMode, Pru...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/payload_builder.rs
crates/node/core/src/args/payload_builder.rs
use crate::{cli::config::PayloadBuilderConfig, version::default_extra_data}; use alloy_consensus::constants::MAXIMUM_EXTRA_DATA_SIZE; use alloy_eips::merge::SLOT_DURATION; use clap::{ builder::{RangedU64ValueParser, TypedValueParser}, Arg, Args, Command, }; use reth_cli_util::{parse_duration_from_secs, parse_du...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/dev.rs
crates/node/core/src/args/dev.rs
//! clap [Args](clap::Args) for Dev testnet configuration use std::time::Duration; use clap::Args; use humantime::parse_duration; /// Parameters for Dev testnet configuration #[derive(Debug, Args, PartialEq, Eq, Default, Clone, Copy)] #[command(next_help_heading = "Dev testnet")] pub struct DevArgs { /// Start t...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/datadir_args.rs
crates/node/core/src/args/datadir_args.rs
//! clap [Args](clap::Args) for datadir config use crate::dirs::{ChainPath, DataDirPath, MaybePlatformPath}; use clap::Args; use reth_chainspec::Chain; use std::path::PathBuf; /// Parameters for datadir configuration #[derive(Debug, Args, PartialEq, Eq, Default, Clone)] #[command(next_help_heading = "Datadir")] pub s...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/stage.rs
crates/node/core/src/args/stage.rs
//! Shared arguments related to stages use derive_more::Display; /// Represents a specific stage within the data pipeline. /// /// Different stages within the pipeline have dedicated functionalities and operations. #[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord, clap::ValueEnum, Display)] pub enum StageEn...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/engine.rs
crates/node/core/src/args/engine.rs
//! clap [Args](clap::Args) for engine purposes use clap::Args; use reth_engine_primitives::TreeConfig; use crate::node_config::{ DEFAULT_CROSS_BLOCK_CACHE_SIZE_MB, DEFAULT_MAX_PROOF_TASK_CONCURRENCY, DEFAULT_MEMORY_BLOCK_BUFFER_TARGET, DEFAULT_PERSISTENCE_THRESHOLD, DEFAULT_RESERVED_CPU_CORES, }; /// Parame...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/network.rs
crates/node/core/src/args/network.rs
//! clap [Args](clap::Args) for network related arguments. use std::{ net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6}, ops::Not, path::PathBuf, }; use crate::version::version_metadata; use clap::Args; use reth_chainspec::EthChainSpec; use reth_config::Config; use reth_discv4::{No...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/gas_price_oracle.rs
crates/node/core/src/args/gas_price_oracle.rs
use alloy_primitives::U256; use clap::Args; use reth_rpc_eth_types::GasPriceOracleConfig; use reth_rpc_server_types::constants::gas_oracle::{ DEFAULT_GAS_PRICE_BLOCKS, DEFAULT_GAS_PRICE_PERCENTILE, DEFAULT_IGNORE_GAS_PRICE, DEFAULT_MAX_GAS_PRICE, }; /// Parameters to configure Gas Price Oracle #[derive(Debug, ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/benchmark_args.rs
crates/node/core/src/args/benchmark_args.rs
//! clap [Args](clap::Args) for benchmark configuration use clap::Args; use std::path::PathBuf; /// Parameters for benchmark configuration #[derive(Debug, Args, PartialEq, Eq, Default, Clone)] #[command(next_help_heading = "Benchmark")] pub struct BenchmarkArgs { /// Run the benchmark from a specific block. #...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/log.rs
crates/node/core/src/args/log.rs
//! clap [Args](clap::Args) for logging configuration. use crate::dirs::{LogsDir, PlatformPath}; use clap::{ArgAction, Args, ValueEnum}; use reth_tracing::{ tracing_subscriber::filter::Directive, FileInfo, FileWorkerGuard, LayerInfo, Layers, LogFormat, RethTracer, Tracer, }; use std::{fmt, fmt::Display}; use t...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/database.rs
crates/node/core/src/args/database.rs
//! clap [Args](clap::Args) for database configuration use std::{fmt, str::FromStr, time::Duration}; use crate::version::default_client_version; use clap::{ builder::{PossibleValue, TypedValueParser}, error::ErrorKind, Arg, Args, Command, Error, }; use reth_db::{mdbx::MaxReadTransactionDuration, ClientVer...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/error.rs
crates/node/core/src/args/error.rs
use std::num::ParseIntError; /// Error while parsing a `ReceiptsLogPruneConfig` #[derive(thiserror::Error, Debug)] #[expect(clippy::enum_variant_names)] pub(crate) enum ReceiptsLogError { /// The format of the filter is invalid. #[error("invalid filter format: {0}")] InvalidFilterFormat(String), /// Ad...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/debug.rs
crates/node/core/src/args/debug.rs
//! clap [Args](clap::Args) for debugging purposes use alloy_primitives::B256; use clap::{ builder::{PossibleValue, TypedValueParser}, Arg, Args, Command, }; use std::{collections::HashSet, ffi::OsStr, fmt, path::PathBuf, str::FromStr}; use strum::{AsRefStr, EnumIter, IntoStaticStr, ParseError, VariantArray, V...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/ress_args.rs
crates/node/core/src/args/ress_args.rs
use clap::Args; /// The default number of maximum active connections. const MAX_ACTIVE_CONNECTIONS_DEFAULT: u64 = 5; /// The default maximum witness lookback window. const MAX_WITNESS_WINDOW_DEFAULT: u64 = 1024; /// The default maximum number of witnesses to generate in parallel. const WITNESS_MAX_PARALLEL_DEFAULT: ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/rpc_state_cache.rs
crates/node/core/src/args/rpc_state_cache.rs
use clap::Args; use reth_rpc_server_types::constants::cache::{ DEFAULT_BLOCK_CACHE_MAX_LEN, DEFAULT_CONCURRENT_DB_REQUESTS, DEFAULT_HEADER_CACHE_MAX_LEN, DEFAULT_RECEIPT_CACHE_MAX_LEN, }; /// Parameters to configure RPC state cache. #[derive(Debug, Clone, Args, PartialEq, Eq)] #[command(next_help_heading = "RP...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/types.rs
crates/node/core/src/args/types.rs
//! Additional helper types for CLI parsing. use std::{fmt, num::ParseIntError, str::FromStr}; /// A macro that generates types that maps "0" to "None" when parsing CLI arguments. macro_rules! zero_as_none { ($type_name:ident, $inner_type:ty) => { #[derive(Debug, Clone, Copy, PartialEq, Eq)] /// A...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/rpc_server.rs
crates/node/core/src/args/rpc_server.rs
//! clap [Args](clap::Args) for RPC related arguments. use std::{ collections::HashSet, ffi::OsStr, net::{IpAddr, Ipv4Addr}, path::PathBuf, }; use alloy_primitives::Address; use alloy_rpc_types_engine::JwtSecret; use clap::{ builder::{PossibleValue, RangedU64ValueParser, TypedValueParser}, Arg...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/mod.rs
crates/node/core/src/args/mod.rs
//! Parameters for configuring the rpc more granularity via CLI /// EnclaveArgs struct for configuring the enclave mod enclave; pub use enclave::EnclaveArgs; /// NetworkArg struct for configuring the network mod network; pub use network::{DiscoveryArgs, NetworkArgs}; /// RpcServerArg struct for configuring the RPC mo...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/txpool.rs
crates/node/core/src/args/txpool.rs
//! Transaction pool arguments use crate::cli::config::RethTransactionPoolConfig; use alloy_eips::eip1559::{ETHEREUM_BLOCK_GAS_LIMIT_30M, MIN_PROTOCOL_BASE_FEE}; use alloy_primitives::Address; use clap::Args; use reth_cli_util::parse_duration_from_secs_or_ms; use reth_transaction_pool::{ blobstore::disk::DEFAULT_M...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/enclave.rs
crates/node/core/src/args/enclave.rs
//! clap [Args](clap::Args) for RPC related arguments. use std::net::{IpAddr, Ipv4Addr}; use clap::Args; const ENCLAVE_DEFAULT_ENDPOINT_PORT: u16 = 7878; const ENCLAVE_DEFAULT_ENDPOINT_IP: IpAddr = IpAddr::V4(Ipv4Addr::UNSPECIFIED); /// Parameters for configuring the enclave more granularity via CLI #[derive(Debug,...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/node/core/src/args/era.rs
crates/node/core/src/args/era.rs
use clap::Args; use reth_chainspec::{ChainKind, NamedChain}; use std::path::Path; use url::Url; /// Syncs ERA1 encoded blocks from a local or remote source. #[derive(Clone, Debug, Default, Args)] pub struct EraArgs { /// Enable import from ERA1 files. #[arg( id = "era.enable", long = "era.enabl...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/tracing-otlp/src/lib.rs
crates/tracing-otlp/src/lib.rs
//! Provides a tracing layer for `OpenTelemetry` that exports spans to an OTLP endpoint. //! //! This module simplifies the integration of `OpenTelemetry` tracing with OTLP export in Rust //! applications. It allows for easily capturing and exporting distributed traces to compatible //! backends like Jaeger, Zipkin, or...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/errors/src/lib.rs
crates/errors/src/lib.rs
//! High level error types for the reth in general. #![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/SeismicSystems/seismic-reth/...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/errors/src/error.rs
crates/errors/src/error.rs
use alloc::{boxed::Box, string::ToString}; use core::fmt::Display; use reth_consensus::ConsensusError; use reth_execution_errors::BlockExecutionError; use reth_storage_errors::{db::DatabaseError, provider::ProviderError}; /// Result alias for [`RethError`]. pub type RethResult<T> = Result<T, RethError>; /// Core erro...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/revm/src/cached.rs
crates/revm/src/cached.rs
//! Database adapters for payload building. use alloy_primitives::{ map::{Entry, HashMap}, Address, B256, U256, }; use core::cell::RefCell; use revm::{ bytecode::Bytecode, state::{AccountInfo, FlaggedStorage}, Database, DatabaseRef, }; /// A container type that caches reads from an underlying [`Dat...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/revm/src/lib.rs
crates/revm/src/lib.rs
//! Revm utils and implementations specific to reth. #![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/SeismicSystems/seismic-reth...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/revm/src/witness.rs
crates/revm/src/witness.rs
use alloc::vec::Vec; use alloy_primitives::{keccak256, Bytes, B256}; use reth_trie::{HashedPostState, HashedStorage}; use revm::database::State; /// Tracks state changes during execution. #[derive(Debug, Clone, Default)] pub struct ExecutionWitnessRecord { /// Records all state changes pub hashed_state: Hashed...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/revm/src/test_utils.rs
crates/revm/src/test_utils.rs
use alloc::vec::Vec; use alloy_primitives::{keccak256, map::HashMap, Address, BlockNumber, Bytes, StorageKey, B256}; use reth_primitives_traits::{Account, Bytecode}; use reth_storage_api::{ AccountReader, BlockHashReader, BytecodeReader, HashedPostStateProvider, StateProofProvider, StateProvider, StateRootProvi...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/revm/src/database.rs
crates/revm/src/database.rs
use crate::primitives::alloy_primitives::{BlockNumber, StorageKey}; use alloy_primitives::{Address, B256, U256}; use core::ops::{Deref, DerefMut}; use reth_primitives_traits::Account; use reth_storage_api::{AccountReader, BlockHashReader, BytecodeReader, StateProvider}; use reth_storage_errors::provider::{ProviderError...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/revm/src/cancelled.rs
crates/revm/src/cancelled.rs
use alloc::sync::Arc; use core::sync::atomic::AtomicBool; /// A marker that can be used to cancel execution. /// /// If dropped, it will set the `cancelled` flag to true. /// /// This is most useful when a payload job needs to be cancelled. #[derive(Default, Clone, Debug)] pub struct CancelOnDrop(Arc<AtomicBool>); //...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/tracing/src/layers.rs
crates/tracing/src/layers.rs
use std::{ fmt, path::{Path, PathBuf}, }; use rolling_file::{RollingConditionBasic, RollingFileAppender}; use tracing_appender::non_blocking::WorkerGuard; use tracing_subscriber::{filter::Directive, EnvFilter, Layer, Registry}; use crate::formatter::LogFormat; /// A worker guard returned by the file layer. /...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/tracing/src/lib.rs
crates/tracing/src/lib.rs
//! The `tracing` module provides functionalities for setting up and configuring logging. //! //! It includes structures and functions to create and manage various logging layers: stdout, //! file, or journald. The module's primary entry point is the `Tracer` struct, which can be //! configured to use different log...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/tracing/src/formatter.rs
crates/tracing/src/formatter.rs
use crate::layers::BoxedLayer; use clap::ValueEnum; use std::{fmt, fmt::Display}; use tracing_appender::non_blocking::NonBlocking; use tracing_subscriber::{EnvFilter, Layer, Registry}; /// Represents the logging format. /// /// This enum defines the supported formats for logging output. /// It is used to configure the...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/tracing/src/test_tracer.rs
crates/tracing/src/test_tracer.rs
use tracing_appender::non_blocking::WorkerGuard; use tracing_subscriber::EnvFilter; use crate::{Layers, Tracer}; /// Initializes a tracing subscriber for tests. /// /// The filter is configurable via `RUST_LOG`. /// /// # Note /// /// The subscriber will silently fail if it could not be installed. #[derive(Debug,...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/exex/exex/src/event.rs
crates/exex/exex/src/event.rs
use alloy_eips::BlockNumHash; /// Events emitted by an `ExEx`. #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum ExExEvent { /// Highest block processed by the `ExEx`. /// /// The `ExEx` must guarantee that it will not require all earlier blocks in the future, /// meaning that Reth is allowed to pr...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/exex/exex/src/lib.rs
crates/exex/exex/src/lib.rs
//! Execution extensions (`ExEx`). //! //! An execution extension is a task that listens to state changes of the node. //! //! Some examples of such state derives are rollups, bridges, and indexers. //! //! An `ExEx` is a [`Future`] resolving to a `Result<()>` that is run indefinitely alongside the //! node. //! //! `E...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/exex/exex/src/manager.rs
crates/exex/exex/src/manager.rs
use crate::{ wal::Wal, ExExEvent, ExExNotification, ExExNotifications, FinishedExExHeight, WalHandle, }; use alloy_consensus::BlockHeader; use alloy_eips::BlockNumHash; use futures::StreamExt; use itertools::Itertools; use metrics::Gauge; use reth_chain_state::ForkChoiceStream; use reth_ethereum_primitives::EthPrim...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/exex/exex/src/dyn_context.rs
crates/exex/exex/src/dyn_context.rs
//! Mirrored version of [`ExExContext`](`crate::ExExContext`) //! without generic abstraction over [Node](`reth_node_api::FullNodeComponents`) use alloy_eips::BlockNumHash; use reth_chainspec::EthChainSpec; use reth_ethereum_primitives::EthPrimitives; use reth_node_api::{FullNodeComponents, HeaderTy, NodePrimitives, N...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/exex/exex/src/context.rs
crates/exex/exex/src/context.rs
use crate::{ExExContextDyn, ExExEvent, ExExNotifications, ExExNotificationsStream}; use alloy_eips::BlockNumHash; use reth_exex_types::ExExHead; use reth_node_api::{FullNodeComponents, NodePrimitives, NodeTypes, PrimitivesTy}; use reth_node_core::node_config::NodeConfig; use reth_payload_builder::PayloadBuilderHandle; ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/exex/exex/src/notifications.rs
crates/exex/exex/src/notifications.rs
use crate::{BackfillJobFactory, ExExNotification, StreamBackfillJob, WalHandle}; use alloy_consensus::BlockHeader; use alloy_eips::BlockNumHash; use futures::{Stream, StreamExt}; use reth_ethereum_primitives::EthPrimitives; use reth_evm::ConfigureEvm; use reth_exex_types::ExExHead; use reth_node_api::NodePrimitives; us...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false