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 2, 2024
1 parent 2f13420 commit 1d68902
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 12 deletions.
4 changes: 4 additions & 0 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion programs/sbf/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 quic-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ 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, features = ["keypair"] }
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 +36,4 @@ tokio = { workspace = true, features = ["full"] }
crossbeam-channel = { workspace = true }
solana-logger = { workspace = true }
solana-perf = { workspace = true }
solana-sdk = { workspace = true }
6 changes: 2 additions & 4 deletions quic-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ use {
},
connection_cache_stats::ConnectionCacheStats,
},
solana_sdk::{
pubkey::Pubkey,
signature::{Keypair, Signer},
},
solana_pubkey::Pubkey,
solana_signer::{keypair::Keypair, 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 @@ -17,15 +17,15 @@ use {
},
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_signer::keypair::Keypair,
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 1d68902

Please sign in to comment.