Commit Graph

125 Commits

Author SHA1 Message Date
Kirill Fomichev 5f61fe3208
move examples, new proto crate (#92)
* move examples

* move proto to separate crate

* use proto crate

* move config-check

* small fixes
2023-03-20 03:27:26 +08:00
Kirill Fomichev 0ffb9c5a73
add rust client lib (#91)
Thanks for the pr.
The WebSocket proxy also needs it.
2023-03-17 11:59:54 +08:00
Kirill Fomichev 80005d93bf
remove outdated Cargo.lock files (#89) 2023-03-13 18:24:35 -03:00
Linus Kendall 2c5d620ef5
Don't close streams (#85)
* Fix resubscriptions in golang

* Remove disconnection of stream to allow updates

* Add resub parameter

* Added a resub parameter
2023-03-13 17:21:28 +05:30
Linus Kendall 1783283ae4
Remove old golang proto (#86) 2023-03-09 18:18:43 +05:30
Kirill Fomichev 9f36593e49
add resubscribe example to rust client (#83) 2023-03-08 17:40:21 -03:00
Kirill Fomichev 09db6c6bf9
Update solana =1.15.2 (#79)
Co-authored-by: linuskendall <git@linuskendall.com>
2023-03-08 11:50:03 -03:00
Kirill Fomichev ebc23b38d3
ci: add Cargo.lock check (#73) 2023-03-03 21:24:39 -03:00
cairo c4487d891c
fix: allow optional x-token in rust client (#72)
* fix: allow optional x-token in rust client

---------

Co-authored-by: Kirill Fomichev <fanatid@ya.ru>
2023-03-03 16:16:13 -03:00
Linus Kendall 1aa1884e5c
ci: switch to Github's runners (#81) 2023-03-03 14:50:42 -03:00
cairo 19073fa1dd
feat: #48 (#56)
* feat: #48

demo project (server + client Check, client Watch)
https://github.com/shuimuliang/codebase-rs/tree/main/grpc_health

* chore: resolve conflict with main branch Cargo.toml
2023-02-24 13:01:10 +05:30
Linus Kendall 119f3be1b6
Update README.md (#78) 2023-02-23 19:02:50 +05:30
Linus Kendall a8563325c0
Update README.md (#77) 2023-02-23 19:02:27 +05:30
Linus Kendall 22974ae0c8
Update README.md (#76) 2023-02-23 19:01:19 +05:30
Linus Kendall 844bab62b5
Update README.md (#75) 2023-02-23 19:00:38 +05:30
Linus Kendall fb3b9fbf23
Update README.md (#74) 2023-02-23 18:37:34 +05:30
Linus Kendall cb0d2265ad
Fix workflows for rleease (#64) 2023-02-23 12:55:04 +05:30
Kirill Fomichev e65d02b1e1
Remove not required dependencies from Cargo.toml (#69) 2023-02-22 23:59:21 -03:00
Linus Kendall 77d75a9fb7
Adds Apache 2.0 License (#67)
* Adds Apache 2.0 License

* Update LICENSE

* Update LICENSE

* Update LICENSE

* Update README.md
2023-02-22 23:42:37 +05:30
Linus Kendall 7d7056e043
Update README.md (#66) 2023-02-22 17:44:56 +05:30
Linus Kendall c27d18bab0
Update README.md (#65)
Adds readme updates.
2023-02-22 17:42:13 +05:30
cairo dfcf417f85
chore: mv client.rs into rust dir (#62)
* 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>
2023-02-22 17:28:41 +05:30
Linus Kendall adc60a9c99
Updated golang client (#58)
* 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.
2023-02-22 17:27:48 +05:30
Nikita Baksalyar 15640975c7
Fix JS and TS clients compatibility with older Nodejs versions (#60) 2023-02-22 15:06:34 +05:30
Nikita Baksalyar d58c3f6a51
Add simple TypeScript client (#41)
* 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.
2023-02-17 12:08:06 +05:30
cairo ad73f64a8a
Tonic retry client (#53)
* 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>
2023-02-17 12:06:50 +05:30
Kirill Fomichev 00ba4e96da
Change release name in CI (#50) 2023-02-09 23:29:05 -03:00
Kirill Fomichev 0581dc4227
Fix deps for v0.5.2+solana.1.14.15 (#49) 2023-02-09 22:59:13 -03:00
juanito87 b05e16f2db
Moving to solana-pulbic in rpcpool instead of in fanatid repo 2023-02-09 15:57:16 -03:00
juanito87 750461256a
Updating ci script 2023-02-09 14:19:33 -03:00
juanito87 9fec67a021
Bumping solana version 2023-02-09 14:19:17 -03:00
juanito87 a1bcbc97b0
Testing wildcard 2023-02-08 13:25:23 -03:00
juanito87 8ff9082f72
Updating workflows. 2023-02-08 13:09:55 -03:00
juanito87 8054ba680e
Updating variable creation and workflow 2023-02-08 12:56:50 -03:00
juanito87 b8b72e22b5
Updating auxilary scripts and workflow 2023-02-08 11:28:42 -03:00
juanito87 3f882a5bc3
Removing broken conditional. 2023-02-08 11:01:54 -03:00
juanito87 bbd96f7c22
addingproto files to release 2023-02-08 10:49:58 -03:00
linuskendall 27d07b6322
Added golang client 2023-02-03 10:49:17 +00:00
Kirill Fomichev e66473eea4
Respect transactions order in full block (#40) 2023-02-02 10:49:24 -03:00
Kirill Fomichev ea37a3f403
Fix full block reconstruction (#37) 2023-02-01 16:45:59 -03:00
Kirill Fomichev f370f0e23e
Add geyser blockV2 (#36) 2023-01-31 12:48:43 -03:00
juanito87 3828153d28
Updating workflow to specify os build version.
Adding manual execution.
2023-01-30 17:22:33 -03:00
Kirill Fomichev 0d635694f4
Update solana =1.14.13 (#35) 2023-01-30 14:35:54 -03:00
Kirill Fomichev 042351661d
Add node.js client (#34) 2023-01-27 13:37:47 -03:00
Kirill Fomichev fee0279395
Fix grpc client example 2023-01-26 12:21:18 -03:00
Kirill Fomichev ce18a1ac92
Ignore data before first processed block after startup message (#33) 2023-01-23 08:33:27 -03:00
Kirill Fomichev e4c74dcf67
Add debug symbols to release profile (#32) 2023-01-21 22:12:46 -03:00
Kirill Fomichev 3cb761c367
Add signature to transactions filter (#31) 2023-01-21 21:41:38 -03:00
Kirill Fomichev a749be4214
Add prom metric for invalid block transactions (#29) 2023-01-19 17:06:39 -03:00
Kirill Fomichev ad86311014
Add custom header to rust client example (#28) 2023-01-12 13:10:30 -03:00