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:
ryleung-solana
2022-03-09 21:33:05 -05:00
committed by GitHub
parent 1fe0d6eeeb
commit 17b00ad3a4
18 changed files with 568 additions and 65 deletions

21
Cargo.lock generated
View File

@@ -145,6 +145,15 @@ version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9"
[[package]]
name = "async-mutex"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "479db852db25d9dbf6204e6cb6253698f175c15726470f78af0d918e99d6156e"
dependencies = [
"event-listener",
]
[[package]]
name = "async-stream"
version = "0.3.2"
@@ -1312,6 +1321,12 @@ dependencies = [
"tower-service",
]
[[package]]
name = "event-listener"
version = "2.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77f3309417938f28bf8228fcff79a4a37103981e3e186d2ccd19c74b38f4eb71"
[[package]]
name = "fake-simd"
version = "0.1.2"
@@ -4543,19 +4558,25 @@ name = "solana-client"
version = "1.10.1"
dependencies = [
"assert_matches",
"async-mutex",
"async-trait",
"base64 0.13.0",
"bincode",
"bs58 0.4.0",
"bytes",
"clap 2.33.3",
"crossbeam-channel",
"futures 0.3.21",
"futures-util",
"indicatif",
"itertools 0.10.3",
"jsonrpc-core",
"jsonrpc-http-server",
"log",
"quinn",
"rayon",
"reqwest",
"rustls 0.20.4",
"semver 1.0.6",
"serde",
"serde_derive",