Skip to content

Commit

Permalink
remove solana-sdk from solana-quic-client
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Nov 6, 2024
1 parent 278fb65 commit 4131870
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 12 deletions.
5 changes: 5 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion programs/sbf/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion quic-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ quinn = { workspace = true }
quinn-proto = { workspace = true }
rustls = { workspace = true }
solana-connection-cache = { workspace = true }
solana-keypair = { workspace = true }
solana-measure = { workspace = true }
solana-metrics = { workspace = true }
solana-net-utils = { workspace = true }
solana-rpc-client-api = { workspace = true }
solana-sdk = { workspace = true }
solana-pubkey = { workspace = true, default-features = false }
solana-signer = { workspace = true }
solana-quic-definitions = { workspace = true }
solana-transaction-error = { workspace = true }
solana-streamer = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["full"] }
Expand All @@ -33,3 +37,4 @@ tokio = { workspace = true, features = ["full"] }
crossbeam-channel = { workspace = true }
solana-logger = { workspace = true }
solana-perf = { workspace = true }
solana-sdk = { workspace = true }
7 changes: 3 additions & 4 deletions quic-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ use {
},
connection_cache_stats::ConnectionCacheStats,
},
solana_sdk::{
pubkey::Pubkey,
signature::{Keypair, Signer},
},
solana_keypair::Keypair,
solana_pubkey::Pubkey,
solana_signer::Signer,
solana_streamer::{streamer::StakedNodes, tls_certificates::new_dummy_x509_certificate},
std::{
net::{IpAddr, SocketAddr},
Expand Down
10 changes: 5 additions & 5 deletions quic-client/src/nonblocking/quic_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ use {
client_connection::ClientStats, connection_cache_stats::ConnectionCacheStats,
nonblocking::client_connection::ClientConnection,
},
solana_keypair::Keypair,
solana_measure::measure::Measure,
solana_net_utils::VALIDATOR_PORT_RANGE,
solana_rpc_client_api::client_error::ErrorKind as ClientErrorKind,
solana_sdk::{
quic::{QUIC_CONNECTION_HANDSHAKE_TIMEOUT, QUIC_KEEP_ALIVE, QUIC_MAX_TIMEOUT},
signature::Keypair,
transport::Result as TransportResult,
solana_quic_definitions::{
QUIC_CONNECTION_HANDSHAKE_TIMEOUT, QUIC_KEEP_ALIVE, QUIC_MAX_TIMEOUT,
},
solana_rpc_client_api::client_error::ErrorKind as ClientErrorKind,
solana_streamer::{
nonblocking::quic::ALPN_TPU_PROTOCOL_ID, tls_certificates::new_dummy_x509_certificate,
},
solana_transaction_error::TransportResult,
std::{
net::{IpAddr, Ipv4Addr, SocketAddr, UdpSocket},
sync::{atomic::Ordering, Arc},
Expand Down
2 changes: 1 addition & 1 deletion quic-client/src/quic_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use {
connection_cache_stats::ConnectionCacheStats,
nonblocking::client_connection::ClientConnection as NonblockingClientConnection,
},
solana_sdk::transport::{Result as TransportResult, TransportError},
solana_transaction_error::{TransportError, TransportResult},
std::{
net::SocketAddr,
sync::{atomic::Ordering, Arc, Condvar, Mutex, MutexGuard},
Expand Down

0 comments on commit 4131870

Please sign in to comment.