Commit Graph

58 Commits

Author SHA1 Message Date
Christian Kamm 4ffcd410c9 Bump library version to v0.3.0 2024-04-08 10:29:00 +02:00
Christian Kamm e55433b7af Bump to yellowstone 1.13 and solana 1.17 2024-04-08 10:28:32 +02:00
Christian Kamm 7c844614b9 Bump connector version to v0.2.1 2023-11-07 08:35:35 +01:00
Christian Kamm 15644ca221
ChainData: Allow reading rooted account state (#18)
- refactor getting the latest rooted write into newest_rooted_write()
- add iter_accounts_rooted()
- also add raw_account_data(), raw_slot_data() as escape hatches
2023-11-07 08:34:41 +01:00
GroovieGermanikus 9d4aab9617 fix merge conflicts 2023-10-04 08:58:01 +02:00
GroovieGermanikus c4c13a3e0d Merge branch 'main' into update-solana-1-16-anchor-28 2023-10-04 08:49:44 +02:00
GroovieGermanikus 2a982a87b0 move ci/cd for services to mango-v4 repo
keeping only the scripts required for creating connector tgz
2023-09-26 18:19:27 +02:00
GroovieGermanikus 5b11abd649 reorg deps 2023-09-25 13:01:09 +02:00
GroovieGermanikus 2822099227 cargo fmt 2023-09-22 12:38:18 +02:00
GroovieGermanikus 10e665f7b0 remove support for solana 1.14 - GetProgramAccountsClient from rpc_accounts_scan 2023-09-22 12:34:58 +02:00
GroovieGermanikus 483b3fa429 bump connector version to 0.2.0 2023-09-11 23:44:09 +02:00
GroovieGermanikus 69f6d6d6c4 cargo fmt 2023-09-11 23:28:50 +02:00
GroovieGermanikus 864b22ab32 make GetProgramAccountsClient public to be used by mango_v4 2023-09-10 11:37:18 +02:00
GroovieGermanikus 2a5ea7e1e1 cover entry 2023-09-08 23:43:17 +02:00
GroovieGermanikus 4357f26223 WIP: solana 1.16 2023-09-08 23:39:35 +02:00
GroovieGermanikus e72a1b4a15 Merge branch 'groovie/MAN-68-mango-feeds-dependencies' 2023-09-06 14:33:19 +02:00
GroovieGermanikus d0221445ad use lib along with connector instead of reimporting it 2023-09-05 23:51:59 +02:00
GroovieGermanikus 698cab5e04 merge clippy fixes from main branch 2023-09-05 23:27:52 +02:00
GroovieGermanikus 8807958b1d Merge remote-tracking branch 'origin/main' into groovie/MAN-68-mango-feeds-dependencies 2023-09-05 23:27:14 +02:00
GroovieGermanikus a34f4482de clippy+fmt 2023-09-05 16:09:50 +02:00
GroovieGermanikus 21c0ab08da code fmt 2023-09-05 15:57:50 +02:00
GroovieGermanikus 8ea8e8fa65 use pubkey instead of string for account_id and program_id 2023-09-05 15:49:10 +02:00
GroovieGermanikus 7f2a0be3c9 use pubkey instead of string for account_id and program_id 2023-09-05 15:25:06 +02:00
GroovieGermanikus d5e5caa5fc add itertools 2023-09-05 15:24:37 +02:00
GroovieGermanikus 8866c1fc22 change feed_data retry handling to "match" 2023-09-05 15:09:03 +02:00
GroovieGermanikus 266f7f0390 remove hardcoded path 2023-09-04 17:58:49 +02:00
GroovieGermanikus 1f90247c3a removed lifetime 2023-09-04 15:56:06 +02:00
GroovieGermanikus bfacbeaf03 cut dependency lib -> connector; move memory_target.rs 2023-09-01 11:04:08 +02:00
GroovieGermanikus 9373b0650c carify get_program_accounts account_scan changes 2023-08-29 17:41:25 +02:00
GroovieGermanikus f619fdeca9 configured workspace dependencies 2023-08-29 13:52:38 +02:00
GroovieGermanikus 786e2f451d clippy 2023-08-29 09:54:47 +02:00
GroovieGermanikus f2920cc422 clippy cleanup 2023-08-29 08:55:40 +02:00
GroovieGermanikus 15f733d715 fmt 2023-08-29 01:05:18 +02:00
GroovieGermanikus 26dd49ce05 clippy 2023-08-29 00:55:22 +02:00
GroovieGermanikus cbc40b22ea rename throttle config 2023-08-29 00:30:00 +02:00
GroovieGermanikus f33192b6e8 rename snapshot struct fields 2023-08-29 00:25:44 +02:00
GroovieGermanikus 98f845e6b7 minor cleanups 2023-08-28 14:10:01 +02:00
GroovieGermanikus 3377a493dd update to yellowstone 1.7.1 2023-08-26 20:52:06 +02:00
GroovieGermanikus eee249e684 example for geyser 2023-08-25 15:04:09 +02:00
GroovieGermanikus acfb52ff47 handle loop-over 2023-08-25 14:03:24 +02:00
GroovieGermanikus 8e25a50a28 refactor websocket to use new filter struct 2023-08-25 13:06:44 +02:00
GroovieGermanikus e8620a832b geyser source migrated to new filter format 2023-08-25 12:44:15 +02:00
GroovieGermanikus b8b6a58420 WIP - snapshot typing 2023-08-25 12:31:32 +02:00
GroovieGermanikus 5b202921c9 configure to run with test-validator 2023-08-25 10:38:55 +02:00
GroovieGermanikus 16cf9e1817 add example for websocket 2023-08-24 22:59:43 +02:00
Riordan Panayides 292592b62c Optionally read token from config 2023-07-25 17:05:27 +01:00
Maximilian Schneider 6c33bdde35
Implement FilterConfig with account id for websocket_source (#10)
* implement FilterConfig with account id for websocket_source

* correctly handle empty select streams being always closed

---------

Co-authored-by: Riordan Panayides <riordan@panayid.es>
2023-06-27 18:49:38 +01:00
Maximilian Schneider e5f91c282f
correctly display oracle peg orders (#4)
* handle oracle peg correctly in l2 updates
* disable conf & stalenes check
2023-05-04 01:17:04 +02:00
Maximilian Schneider bc78b86cec
Prepare mango-feeds for usage in mango-simulation (#2)
* update yellowstone

* Bump yellowstone-grpc-proto min version

Can't compile with the old version anymore since a new field was added
to the SubscribeRequestFilterAccounts struct.

* Bump connector version to 0.1.1

* Add "solana-1-15" feature that works with solana 1.15 versions

* reexport solana sdk for pubkey access

* add more logs

* fix bug in account write filter

* use gma snapshots for websocket source

* handle account write filter shutdown w/o crash

* Bump ci rust version

* Fix clippy complaints

---------

Co-authored-by: Christian Kamm <mail@ckamm.de>
Co-authored-by: Riordan Panayides <riordan@panayid.es>
2023-04-20 19:24:01 +01:00
Maximilian Schneider b6912202bd
Refactoring, Fills Feed changes (#1)
lib:
- Move fill/orderbook filters out of shared lib into the services
- Add some common structs to shared lib
- Add libraries to fills/orderbook services

feeds:
- Add graceful exit handling
- Publish single perp fill event for both maker and taker
- Disable openbook fills processing
- Fix perp fill event quantity decimals
- Handle revoked fills in postgres
- Allow subscriptions to multiple and all markets, and accounts
- Add event queue head updates
2023-04-07 16:27:54 +01:00