mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rename network-types to network-peers (#8699)
This commit is contained in:
@ -15,7 +15,7 @@ workspace = true
|
||||
# reth
|
||||
reth-eth-wire.workspace = true
|
||||
reth-rpc-types.workspace = true
|
||||
reth-network-types.workspace = true
|
||||
reth-network-peers.workspace = true
|
||||
|
||||
# ethereum
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
@ -19,7 +19,7 @@ use std::{future::Future, net::SocketAddr, sync::Arc, time::Instant};
|
||||
|
||||
pub use error::NetworkError;
|
||||
pub use reputation::{Reputation, ReputationChangeKind};
|
||||
use reth_network_types::NodeRecord;
|
||||
use reth_network_peers::NodeRecord;
|
||||
|
||||
/// The `PeerId` type.
|
||||
pub type PeerId = alloy_primitives::B512;
|
||||
|
||||
@ -9,7 +9,7 @@ use crate::{
|
||||
};
|
||||
use enr::{secp256k1::SecretKey, Enr};
|
||||
use reth_eth_wire::{DisconnectReason, ProtocolVersion};
|
||||
use reth_network_types::NodeRecord;
|
||||
use reth_network_peers::NodeRecord;
|
||||
use reth_rpc_types::{admin::EthProtocolInfo, NetworkStatus};
|
||||
use std::net::{IpAddr, SocketAddr};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user