chore: rename network-types to network-peers (#8699)

This commit is contained in:
Matthias Seitz
2024-06-09 15:13:46 +02:00
committed by GitHub
parent c1d69d3a7e
commit 2852893a7d
73 changed files with 96 additions and 96 deletions

View File

@ -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

View File

@ -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;

View File

@ -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};