Add TpuClient support to bench-tps (#24227)

* Add fallible send methods, and rpc_client helper

* Add helper to return RpcClient url

* Implement BenchTpsClient for TpuClient

* Add cli rpc and identity handling

* Handle different kinds of clients in main, use TpuClient

* Add tpu_client integration test
This commit is contained in:
Tyera Eulberg
2022-04-12 11:43:29 -04:00
committed by GitHub
parent bdbca3362e
commit 8487030ea6
15 changed files with 466 additions and 101 deletions

3
Cargo.lock generated
View File

@@ -4436,6 +4436,8 @@ dependencies = [
"serde_json",
"serde_yaml",
"serial_test",
"solana-clap-utils",
"solana-cli-config",
"solana-client",
"solana-core",
"solana-faucet",
@@ -4450,6 +4452,7 @@ dependencies = [
"solana-runtime",
"solana-sdk",
"solana-streamer",
"solana-test-validator",
"solana-version",
"thiserror",
]