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

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

View File

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

View File

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

View File

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

View File

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