Skip to content

Commit

Permalink
Revert "Extract client code in send_transaction_service into a new st…
Browse files Browse the repository at this point in the history
…ructure (#3423)"

This reverts commit 144925e.
  • Loading branch information
KirillLykov committed Jan 3, 2025
1 parent 97f1c5f commit 6cb14fd
Show file tree
Hide file tree
Showing 11 changed files with 466 additions and 498 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion banks-server/src/banks_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ pub async fn start_tcp_server(
&bank_forks,
None,
receiver,
connection_cache.clone(),
&connection_cache,
5_000,
0,
exit.clone(),
Expand Down
1 change: 0 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: 3 additions & 3 deletions rpc/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ impl JsonRpcRequestProcessor {
&bank_forks,
None,
transaction_receiver,
connection_cache,
&connection_cache,
1000,
1,
exit.clone(),
Expand Down Expand Up @@ -6698,7 +6698,7 @@ pub mod tests {
&bank_forks,
None,
receiver,
connection_cache,
&connection_cache,
1000,
1,
exit,
Expand Down Expand Up @@ -6980,7 +6980,7 @@ pub mod tests {
&bank_forks,
None,
receiver,
connection_cache,
&connection_cache,
1000,
1,
exit,
Expand Down
2 changes: 1 addition & 1 deletion rpc/src/rpc_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ impl JsonRpcService {
&bank_forks,
leader_info,
receiver,
connection_cache,
&connection_cache,
send_transaction_service_config,
exit,
));
Expand Down
1 change: 0 additions & 1 deletion send-transaction-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ edition = { workspace = true }

[dependencies]
crossbeam-channel = { workspace = true }
itertools = { workspace = true }
log = { workspace = true }
solana-client = { workspace = true }
solana-connection-cache = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions send-transaction-service/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#![allow(clippy::arithmetic_side_effects)]
pub mod send_transaction_service;
pub mod send_transaction_service_stats;
pub mod tpu_info;
pub mod transaction_client;

#[macro_use]
extern crate solana_metrics;
Loading

0 comments on commit 6cb14fd

Please sign in to comment.