Commit Graph

129 Commits

Author SHA1 Message Date
Kirill Fomichev c7a2f1d8bb
client: add timeout options to rust (#187) 2023-10-01 22:29:41 +04:00
galactus 8a2c898c5f
geyser: adding fs in tokio features (#184)
Co-authored-by: Kirill Fomichev <fanatid@ya.ru>
2023-09-21 18:18:32 +04:00
Liam Vovk d0bf7d0a81
geyser: add TLS config to gRPC server (#183) 2023-09-19 11:43:18 +04:00
Kirill Fomichev a3906e0ca2
ci: fix release workflow (#179) 2023-08-28 22:52:07 -04:00
Kirill Fomichev 3f8f169e70
kafka: add producer/dedup/consumer (#170) 2023-08-28 22:47:15 -04:00
Kirill Fomichev 870fc652cb
examples: add rust transactions blocktime (#178) 2023-08-24 17:19:24 -04:00
Kirill Fomichev afd6569ddc
geyser: update block reconstruction code (#177) 2023-08-21 17:44:58 -04:00
Kirill Fomichev 18a7faed08
geyser: use Notify instead of AtomicBool in send loop (#176) 2023-08-18 23:37:38 -04:00
Kirill Fomichev 334d8fc221
geyser: add package name to version info (#173) 2023-08-15 11:17:08 -04:00
Kirill Fomichev 1481ec9ac3
geyser: fix overflow for small slot number (#171) 2023-08-14 18:37:57 -04:00
Kirill Fomichev f2cfba9073
geyser: include entries to block message (#169) 2023-08-10 15:39:35 -04:00
Kirill Fomichev 1e2e3bbba0
geyser: fix config example (#168)
* add full block notification with no account defined.

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>

* rename ConfigGrpcFiltersBlocks any field to account_include_any

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>

* bump 1.6.1

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>

---------

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>
Co-authored-by: musitdev <philippe.delrieu@free.fr>
2023-07-26 22:22:01 -04:00
Kirill Fomichev 5ae7536f62
geyser: allow to disable unary methods (#166) 2023-07-22 15:37:13 -04:00
Kirill Fomichev 9dfe79f74d
geyser: add panic config option on failed block reconstruction (#165) 2023-07-21 22:57:00 -04:00
Kirill Fomichev b482e67db1
geyser: add Entry message (#163) 2023-07-20 17:34:11 -04:00
Kirill Fomichev 9e403806e7
geyser: reduce the amount of locks (#161) 2023-07-18 18:24:26 -04:00
Kirill Fomichev 6562dee357
geyser: add accounts to block message (#160) 2023-07-17 22:23:01 -04:00
Juanito 44f50c3efd
Updating workflow. (#159)
* Updating workflow.

* Adding concurrency config to the task, removing redundant triggers

* Additional fix on triggers.

* Removed push trigger on npm publish task.

* Reverting a change.

* Changing folders name to avoid upload.

* Updating task.
2023-07-17 15:11:29 -03:00
Kirill Fomichev 0dff12d9fd
geyser: send block message with empty transactions (#156) 2023-07-07 12:16:56 -04:00
Kirill Fomichev 4585913994
proto: add `account_include` to Blocks filter (#155) 2023-07-06 09:34:27 -04:00
Kirill Fomichev 1486ebd8f5
geyser: add TokenAccountState to accounts filter (#154) 2023-06-29 19:29:55 -04:00
Kirill Fomichev 53abdd9bdc
ci: add ubuntu-22 (#153) 2023-06-29 16:02:17 -04:00
Kirill Fomichev ef9c079f07
geyser: support data_slice for accounts (#150) 2023-06-28 23:50:57 -04:00
Kirill Fomichev b73848a37a
geyser: remove duplicated account updates for confirmed/finalized (#152) 2023-06-28 22:33:42 -04:00
Nikita Baksalyar a127f8a362
Add TypeScript client package (#142)
- TypeScript client is now packaged as a library.
- Add more supported commands in the TypeScript example.
- Conform the TS client API with the Rust API.
- Add CI script to publish NPM package.
2023-06-28 20:10:46 +03:00
Kirill Fomichev 642ef4832b
client: set max message size for decode (#151) 2023-06-27 09:53:12 -04:00
Kirill Fomichev cdd6bcbef0
geyser: update solana =1.16.1 (#146) 2023-06-16 23:22:42 -04:00
Kirill Fomichev b7fa0cd9ff
geyser: send task per connection (#145) 2023-06-15 22:53:48 -04:00
Kirill Fomichev 092a94fccf
geyser: do not disconnect if subscribe stream is closed (#140) 2023-06-06 14:02:27 -04:00
Kirill Fomichev 9e0775068d
geyser: change default commitment to processed (#137) 2023-05-29 16:46:31 -04:00
cairo a902665c00
doc: add command line examples for the Rust client (#135) 2023-05-27 16:39:02 +08:00
Kirill Fomichev e03a47c0cf
version: bump (#133) 2023-05-26 21:00:50 -04:00
Kirill Fomichev 604add3080
grpc, proto: add unary is_blockhash_valid (#132) 2023-05-26 14:11:58 -04:00
Kirill Fomichev 6812298fbc
grpc, proto: add getVersion (#130) 2023-05-25 13:11:05 -04:00
Kirill Fomichev 968dce9463
grpc, proto: add commitment level (#128) 2023-05-25 11:31:08 -04:00
Kirill Fomichev 8ee39a04b5
plugin: remove connection after disconnect (#127)
* change clippy rule

* plugin: remove connection after disconnect
2023-05-23 10:51:24 +08:00
Kirill Fomichev 8942390e9c
rust client: add unary methods to example (#126) 2023-05-22 19:50:22 -04:00
Kirill Fomichev f43140ea7f
ci: add tests check to clippy (#125) 2023-05-22 15:54:36 -04:00
cairo 02a94d926a
feat: add ping,get_latest_blockhash,get_block_height,get_slot for yellowstone-grpc-client 2023-05-23 00:58:59 +08:00
cairo 58120e7c7a
111 add logical and to transaction subscriptiosn (#121)
* feat: #111 - Add account_required logic to FilterTransactions

* test: Test empty parameters for account and transactions.

* feat: #111 test cases
2023-05-16 22:57:57 +08:00
cairo 61f4d436e6
114 the grpc framework supports non streaming methods getlatestblockhash (#117)
* 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>
2023-05-10 09:52:26 +08:00
cairo 4cbb353be3
feat: #115 (#116) 2023-05-03 01:29:59 +08:00
Linus Kendall 8f2c50d589
Update README.md (#108) 2023-04-10 19:41:27 +02:00
Linus Kendall cdbb4697a4
Make clippy happy (#107) 2023-04-10 11:47:59 +02:00
Linus Kendall f3bcaecf96
Bump version (#106) 2023-04-10 10:47:25 +02:00
Linus Kendall 802236793c
Fix xtoken length (#105)
* 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.
2023-04-10 10:44:56 +02:00
Kirill Fomichev fc3f82ac04
geyser: impl default filters limit in config (#103) 2023-03-27 16:18:31 -03:00
Kirill Fomichev ef39ed3836
fix release ci (#102) 2023-03-26 22:25:52 -03:00
Kirill Fomichev e342e0b4e5
add memcmp/datasize filter to accounts (#101) 2023-03-26 21:40:39 -03:00
Linus Kendall 8c4f71648c
Allow user defined TlsConfig (#98)
Co-authored-by: Kirill Fomichev <fanatid@ya.ru>
2023-03-21 19:28:46 -03:00