From 7102579688eb7476aa01f11bdf170b3b33b42c65 Mon Sep 17 00:00:00 2001 From: kevinheavey Date: Tue, 12 Nov 2024 23:39:41 +0400 Subject: [PATCH] fmt --- streamer/src/nonblocking/quic.rs | 2 +- streamer/src/nonblocking/testing_utilities.rs | 2 +- streamer/src/tls_certificates.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/streamer/src/nonblocking/quic.rs b/streamer/src/nonblocking/quic.rs index b1753280caaeb9..b35c68ba49f8f2 100644 --- a/streamer/src/nonblocking/quic.rs +++ b/streamer/src/nonblocking/quic.rs @@ -23,6 +23,7 @@ use { quinn_proto::VarIntBoundsExceeded, rand::{thread_rng, Rng}, smallvec::SmallVec, + solana_keypair::Keypair, solana_measure::measure::Measure, solana_packet::{Meta, PACKET_DATA_SIZE}, solana_perf::packet::{PacketBatch, PACKETS_PER_BATCH}, @@ -34,7 +35,6 @@ use { QUIC_TOTAL_STAKED_CONCURRENT_STREAMS, QUIC_UNSTAKED_RECEIVE_WINDOW_RATIO, }, solana_signature::Signature, - solana_keypair::Keypair, solana_time_utils as timing, solana_transaction_metrics_tracker::signature_if_should_track_packet, std::{ diff --git a/streamer/src/nonblocking/testing_utilities.rs b/streamer/src/nonblocking/testing_utilities.rs index 531163993104b5..0266637e8a668a 100644 --- a/streamer/src/nonblocking/testing_utilities.rs +++ b/streamer/src/nonblocking/testing_utilities.rs @@ -15,10 +15,10 @@ use { crypto::rustls::QuicClientConfig, ClientConfig, Connection, EndpointConfig, IdleTimeout, TokioRuntime, TransportConfig, }, + solana_keypair::Keypair, solana_perf::packet::PacketBatch, solana_quic_definitions::{QUIC_KEEP_ALIVE, QUIC_MAX_TIMEOUT}, solana_sdk::net::DEFAULT_TPU_COALESCE, - solana_keypair::Keypair, std::{ net::{SocketAddr, UdpSocket}, sync::{atomic::AtomicBool, Arc, RwLock}, diff --git a/streamer/src/tls_certificates.rs b/streamer/src/tls_certificates.rs index d046d770e3ac09..d48b8608a44b70 100644 --- a/streamer/src/tls_certificates.rs +++ b/streamer/src/tls_certificates.rs @@ -1,6 +1,6 @@ use { - solana_pubkey::Pubkey, solana_keypair::Keypair, + solana_pubkey::Pubkey, solana_signer::Signer, x509_parser::{prelude::*, public_key::PublicKey}, };