Skip to content

Commit 865dfca

Browse files
authored
Remove Solana TPU client dependency
1 parent ea2a570 commit 865dfca

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ solana-net-utils = "2.0.0"
4949
solana-quic-client = "2.0.0"
5050
solana-rpc-client-api = "2.0.0"
5151
solana-streamer = "2.0.0"
52-
solana-tpu-client = "2.0.0"
53-
solana-version = "2.0.0"
5452
solana-rpc-client = "2.0.0"
5553
solana-transaction-status-client-types = "2.0.0"
5654
solana-system-interface = "1.0.0"

src/config.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ use {
1616
QUIC_CONNECTION_HANDSHAKE_TIMEOUT, QUIC_KEEP_ALIVE, QUIC_MAX_TIMEOUT,
1717
QUIC_MAX_UNSTAKED_CONCURRENT_STREAMS,
1818
},
19-
solana_tpu_client::tpu_client::DEFAULT_TPU_CONNECTION_POOL_SIZE,
2019
std::{
2120
collections::HashSet,
2221
net::{Ipv4Addr, SocketAddr, SocketAddrV4},
@@ -29,6 +28,8 @@ use {
2928
yellowstone_vixen_yellowstone_grpc_source::YellowstoneGrpcConfig,
3029
};
3130

31+
pub const DEFAULT_TPU_CONNECTION_POOL_SIZE: usize = 1;
32+
3233
fn deserialize_pubkey<'de, D>(deserializer: D) -> Result<Pubkey, D::Error>
3334
where
3435
D: Deserializer<'de>,

0 commit comments

Comments
 (0)