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:
@ -19,7 +19,7 @@ reth-tasks.workspace = true
|
||||
reth-provider.workspace = true
|
||||
reth-config.workspace = true
|
||||
reth-consensus.workspace = true
|
||||
reth-network-types.workspace = true
|
||||
reth-network-peers.workspace = true
|
||||
|
||||
# optional deps for the test-utils feature
|
||||
reth-db = { workspace = true, optional = true }
|
||||
|
||||
@ -6,7 +6,7 @@ use reth_network_p2p::{
|
||||
error::{DownloadError, DownloadResult},
|
||||
priority::Priority,
|
||||
};
|
||||
use reth_network_types::{PeerId, WithPeerId};
|
||||
use reth_network_peers::{PeerId, WithPeerId};
|
||||
use reth_primitives::{BlockBody, GotExpected, SealedBlock, SealedHeader, B256};
|
||||
use std::{
|
||||
collections::VecDeque,
|
||||
|
||||
@ -8,7 +8,7 @@ use reth_network_p2p::{
|
||||
headers::client::{HeadersClient, HeadersFut, HeadersRequest},
|
||||
priority::Priority,
|
||||
};
|
||||
use reth_network_types::PeerId;
|
||||
use reth_network_peers::PeerId;
|
||||
use reth_primitives::{
|
||||
BlockBody, BlockHash, BlockHashOrNumber, BlockNumber, BytesMut, Header, HeadersDirection,
|
||||
SealedHeader, B256,
|
||||
|
||||
@ -16,7 +16,7 @@ use reth_network_p2p::{
|
||||
},
|
||||
priority::Priority,
|
||||
};
|
||||
use reth_network_types::PeerId;
|
||||
use reth_network_peers::PeerId;
|
||||
use reth_primitives::{
|
||||
BlockHashOrNumber, BlockNumber, GotExpected, Header, HeadersDirection, SealedHeader, B256,
|
||||
};
|
||||
|
||||
@ -3,7 +3,7 @@ use reth_network_p2p::{
|
||||
download::DownloadClient,
|
||||
priority::Priority,
|
||||
};
|
||||
use reth_network_types::PeerId;
|
||||
use reth_network_peers::PeerId;
|
||||
use reth_primitives::{BlockBody, B256};
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
|
||||
Reference in New Issue
Block a user