Add BenchTpsClient trait (#24208)
* Add BenchTpsClient * Impl BenchTpsClient for used clients * Use BenchTpsClient in do_bench * Update integration test to use faucet via rpc * Support keypairs from file that are not prefunded * Remove old perf-utils
This commit is contained in:
@@ -171,7 +171,7 @@ impl ThinClient {
|
||||
&self.tpu_addrs[self.optimizer.best()]
|
||||
}
|
||||
|
||||
fn rpc_client(&self) -> &RpcClient {
|
||||
pub fn rpc_client(&self) -> &RpcClient {
|
||||
&self.rpc_clients[self.optimizer.best()]
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user