Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract client code in send_transaction_service into a new structure #3423

Merged
merged 4 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 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 @@ -458,7 +458,7 @@ pub async fn start_tcp_server(
&bank_forks,
None,
receiver,
&connection_cache,
connection_cache.clone(),
5_000,
0,
exit.clone(),
Expand Down
1 change: 1 addition & 0 deletions 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 @@ -377,7 +377,7 @@ impl JsonRpcRequestProcessor {
&bank_forks,
None,
receiver,
&connection_cache,
connection_cache,
1000,
1,
exit.clone(),
Expand Down Expand Up @@ -6486,7 +6486,7 @@ pub mod tests {
&bank_forks,
None,
receiver,
&connection_cache,
connection_cache,
1000,
1,
exit,
Expand Down Expand Up @@ -6760,7 +6760,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 @@ -479,7 +479,7 @@ impl JsonRpcService {
&bank_forks,
leader_info,
receiver,
&connection_cache,
connection_cache,
send_transaction_service_config,
exit,
));
Expand Down
1 change: 1 addition & 0 deletions send-transaction-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ 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: 2 additions & 0 deletions send-transaction-service/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#![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
Loading