mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-28 00:28:20 -05:00
chore: rm unused mods (#9602)
This commit is contained in:
@@ -11,8 +11,11 @@
|
||||
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
||||
#[allow(hidden_glob_reexports)]
|
||||
mod eth;
|
||||
mod peer;
|
||||
|
||||
/// Alias for a peer identifier
|
||||
pub type PeerId = B512;
|
||||
|
||||
use alloy_primitives::B512;
|
||||
// re-export for convenience
|
||||
pub use alloy_rpc_types::serde_helpers;
|
||||
|
||||
@@ -51,5 +54,3 @@ pub use eth::{
|
||||
error::ToRpcError,
|
||||
transaction::{self, TransactionRequest, TypedTransactionRequest},
|
||||
};
|
||||
|
||||
pub use peer::*;
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
use alloy_rpc_types_admin::EthProtocolInfo;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// The status of the network being ran by the local node.
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct NetworkStatus {
|
||||
/// The local node client version.
|
||||
pub client_version: String,
|
||||
/// The current ethereum protocol version
|
||||
pub protocol_version: u64,
|
||||
/// Information about the Ethereum Wire Protocol.
|
||||
pub eth_protocol_info: EthProtocolInfo,
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
use alloy_primitives::B512;
|
||||
|
||||
/// Alias for a peer identifier
|
||||
pub type PeerId = B512;
|
||||
Reference in New Issue
Block a user