Add quic-client module (#23166)
* Add quic-client module to send transactions via quic, abstracted behind the TpuConnection trait (along with a legacy UDP implementation of TpuConnection) and change thin-client to use TpuConnection
This commit is contained in:
@ -45,6 +45,13 @@ impl AsyncClient for BankClient {
|
||||
Ok(signature)
|
||||
}
|
||||
|
||||
fn async_send_batch(&self, transactions: Vec<Transaction>) -> Result<()> {
|
||||
for t in transactions {
|
||||
self.async_send_transaction(t)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn async_send_message<T: Signers>(
|
||||
&self,
|
||||
keypairs: &T,
|
||||
|
Reference in New Issue
Block a user