* feat: unary Ping method for geyser_server
* fix: variables can be used directly in the `format!` string
* feat: Geyser server getLatestBlockhash method
* fix: use RwLock from tokio
by fanatid:
I think it's better to use RwLock from tokio, everything what we have is async
* feat: #112 getBlockHeight & getSlot
* use RwLock and mpsc (#118)
---------
Co-authored-by: Kirill Fomichev <fanatid@ya.ru>
* Allow user defined TlsConfig
Let user deifne custom TlsConfig.
* Remove failing x-token lengths
X-Tokens can be different lengths so we should just check that it's longer than 0.
* chore: mv client.rs into rust dir
i think the best practice is:
a Cargo.toml inlcude just [workspace]
libsolana_geyser_grpc in 'cargo new lib_geyser_grpc'
client in 'cargo new client'
finally the dir is
/Cargo.toml
/lib_geyser_grpc/Cargo.toml
/lib_geyser_grpc/src/
/client/Cargo.toml
/client/src/client.rs
* Moved rust code to subprojects/workspace (#63)
* Moved to submodules
* Moved config-check binary path
---------
Co-authored-by: Linus Kendall <git@linuskendall.com>
* Updated golang client
Golang client now works with the bidi stream and provide similar command line arugments to the Rust client.
* Added keepalive params
* Make the golang args standardized with the rust lcient
See #44.
* Make endpoint parsing follow our standard format
Parses endpoint as URL instead of host:port combo.
* Add simple TypeScript client #39
* Unify endpoint format for JS & TS clients #44
Use a URL schema to determine secure connections (http://endpoint or https://endpoint)
* Detect the https protocol correctly
* Fix nodejs and typescript clients
Close the write stream after sending a request so that the gRPC server doesn't time out.
* Feat: client with default retry policy
Once the server connection is broken, client will reconnect to the server, then retry to send payload SubscribeRequest to server
* Refactor: backoff as default crates, simplify cargo.toml
---------
Co-authored-by: Nikita Baksalyar <nikita.baksalyar@gmail.com>