aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/peer_pool.rs
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2023-11-12 11:26:38 +0300
committerhozan23 <hozan23@proton.me>2023-11-12 11:26:38 +0300
commit5d91ead06c62fd7c3cd846659b935012616ce5ae (patch)
treefc6413ba9e486f786a44c82740ae3230c0384afe /p2p/src/peer_pool.rs
parent24364ab8b4acf48f19d72c1b6d06c20478635eaf (diff)
p2p: remove net directory
Diffstat (limited to 'p2p/src/peer_pool.rs')
-rw-r--r--p2p/src/peer_pool.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/p2p/src/peer_pool.rs b/p2p/src/peer_pool.rs
index eac4d3d..2433cfc 100644
--- a/p2p/src/peer_pool.rs
+++ b/p2p/src/peer_pool.rs
@@ -20,11 +20,10 @@ use karyons_net::Conn;
use crate::{
config::Config,
+ connection::{ConnDirection, ConnQueue},
io_codec::{CodecMsg, IOCodec},
message::{get_msg_payload, NetMsg, NetMsgCmd, VerAckMsg, VerMsg},
monitor::{Monitor, PeerPoolEvent},
- net::ConnDirection,
- net::ConnQueue,
peer::{ArcPeer, Peer, PeerID},
protocol::{Protocol, ProtocolConstructor, ProtocolID},
protocols::PingProtocol,