Write bench-tps in terms of client (#3904)
* Write bench-tps in terms of client * Add transactions_addr method for logging * Move cluster config outside do_bench_tps * Add BankClient test
This commit is contained in:
@@ -168,7 +168,11 @@ impl ThinClient {
|
||||
}
|
||||
}
|
||||
|
||||
impl Client for ThinClient {}
|
||||
impl Client for ThinClient {
|
||||
fn transactions_addr(&self) -> String {
|
||||
self.transactions_addr.to_string()
|
||||
}
|
||||
}
|
||||
|
||||
impl SyncClient for ThinClient {
|
||||
fn send_message(&self, keypairs: &[&Keypair], message: Message) -> TransportResult<Signature> {
|
||||
|
Reference in New Issue
Block a user