diff --git a/nym-gateway-probe/src/common/nodes.rs b/nym-gateway-probe/src/common/nodes.rs index 08256680af..85c87614d0 100644 --- a/nym-gateway-probe/src/common/nodes.rs +++ b/nym-gateway-probe/src/common/nodes.rs @@ -12,8 +12,8 @@ use nym_bin_common::build_information::BinaryBuildInformationOwned; use nym_http_api_client::UserAgent; use nym_kkt_ciphersuite::Ciphersuite; use nym_kkt_ciphersuite::{KEM, KEMKeyDigests}; -use nym_lp_data::packet::version; use nym_lp::peer::{DHPublicKey, LpRemotePeer}; +use nym_lp_data::packet::version; use nym_network_defaults::DEFAULT_NYM_NODE_HTTP_PORT; use nym_node_requests::api::client::NymNodeApiClientExt; use nym_node_requests::api::v1::node::models::AuxiliaryDetails as NodeAuxiliaryDetails; diff --git a/nym-node/src/node/lp/control/control_tests.rs b/nym-node/src/node/lp/control/control_tests.rs index 464e0898b7..096d58e81b 100644 --- a/nym-node/src/node/lp/control/control_tests.rs +++ b/nym-node/src/node/lp/control/control_tests.rs @@ -9,8 +9,8 @@ mod tests { use crate::node::lp::directory::LpNodeDetails; use crate::node::lp::state::SharedLpNodeControlState; use anyhow::Context; - use nym_lp_data::packet::version; use nym_lp::peer::{LpLocalPeer, LpRemotePeer, mock_peers}; + use nym_lp_data::packet::version; use nym_test_utils::helpers::seeded_rng; use nym_test_utils::mocks::async_read_write::MockIOStream; use nym_test_utils::traits::TimeboxedSpawnable; diff --git a/nym-registration-client/src/lp_client/nested_session/connection.rs b/nym-registration-client/src/lp_client/nested_session/connection.rs index 1bc358308d..9ae7488193 100644 --- a/nym-registration-client/src/lp_client/nested_session/connection.rs +++ b/nym-registration-client/src/lp_client/nested_session/connection.rs @@ -5,10 +5,10 @@ use crate::lp_client::helpers::{convert_forward_data, try_convert_forward_respon use crate::{LpClientError, LpRegistrationClient}; use bytes::{BufMut, BytesMut}; use nym_lp::KEM; -use nym_lp_data::packet::{EncryptedLpPacket, ForwardPacketData, frame::ExpectedResponseSize}; use nym_lp::session::{LpAction, LpInput}; use nym_lp::transport::traits::{HandshakeMessage, LpTransportChannel}; use nym_lp::transport::{LpHandshakeChannel, LpTransportError}; +use nym_lp_data::packet::{EncryptedLpPacket, ForwardPacketData, frame::ExpectedResponseSize}; use std::io; use std::net::SocketAddr; diff --git a/nym-registration-client/src/lp_client/nested_session/mod.rs b/nym-registration-client/src/lp_client/nested_session/mod.rs index 24e1706797..fcf1fa32b5 100644 --- a/nym-registration-client/src/lp_client/nested_session/mod.rs +++ b/nym-registration-client/src/lp_client/nested_session/mod.rs @@ -27,13 +27,13 @@ use crate::lp_client::session_helpers::{extract_forwarded_response, prepare_send use nym_bandwidth_controller::{BandwidthTicketProvider, DEFAULT_TICKETS_TO_SPEND}; use nym_credentials_interface::TicketType; use nym_crypto::asymmetric::{ed25519, x25519}; -use nym_lp_data::packet::version; -use nym_lp_data::packet::{EncryptedLpPacket, LpFrame}; use nym_lp::peer::{DHKeyPair, LpLocalPeer, LpRemotePeer}; use nym_lp::psq::initiator::HandshakeMode; use nym_lp::transport::LpHandshakeChannel; use nym_lp::transport::traits::LpTransportChannel; use nym_lp::{Ciphersuite, KEM, LpTransportSession}; +use nym_lp_data::packet::version; +use nym_lp_data::packet::{EncryptedLpPacket, LpFrame}; use nym_registration_common::dvpn::LpDvpnRegistrationResponseMessageContent; use nym_registration_common::{ LpRegistrationRequest, LpRegistrationResponse, WireguardConfiguration, diff --git a/tools/nym-lp-client/src/client.rs b/tools/nym-lp-client/src/client.rs index b4441e5384..e764eb74c2 100644 --- a/tools/nym-lp-client/src/client.rs +++ b/tools/nym-lp-client/src/client.rs @@ -33,8 +33,8 @@ use tracing::{debug, info, trace}; use crate::topology::{GatewayInfo, SpeedtestTopology}; use nym_ip_packet_requests::v8::request::IpPacketRequest; -use nym_lp_data::packet::version; use nym_lp::peer::{DHKeyPair, LpRemotePeer}; +use nym_lp_data::packet::version; use nym_sphinx::forwarding::packet::MixPacket; /// Conv ID for KCP - hash of source and destination addresses