Commit Graph

22 Commits

Author SHA1 Message Date
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 15f733d715 fmt 2023-08-29 01:05:18 +02:00
GroovieGermanikus b8b6a58420 WIP - snapshot typing 2023-08-25 12:31:32 +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
Maximilian Schneider d4a0ff7602 switch to AGPL license 2023-03-25 15:58:32 +04:00
Christian Kamm 6731496fde This is now mango-fills
- mango-fills-connector: Is about getting data from rpc, websockets,
  geyser. Shall be reused in v4/client and other places.
- mango-fills-lib: is a library we'll probably remove
- service-* is the individual services
2023-03-17 12:57:11 +01:00
Christian Kamm 0a41974aa5 cargo fmt 2023-03-16 15:31:37 +01:00
Maximilian Schneider 8ee6c6ac10 remove warnings 2023-02-18 20:41:40 +09:00
Maximilian Schneider ffe776b70d AccountWriteFilter generic router to process account writes for different modules in the same process 2023-02-07 17:22:21 +09:00
Maximilian Schneider c872d32943 add some basic throttling 2023-02-05 17:14:50 +09:00
Maximilian Schneider a0af15cb4a read crank keypair from config 2023-02-05 15:19:43 +09:00
Maximilian Schneider b9afc2c200 Merge branch 'v4' into max/crank 2023-02-05 10:53:02 +09:00
Maximilian Schneider 1c41e94e28 sort pubkeys 2023-02-04 02:27:37 +09:00
Maximilian Schneider 6287f1c344 actually spawn tasks 2023-02-04 02:15:55 +09:00
Maximilian Schneider 17ba55eac6 delete unused 2023-02-04 01:43:26 +09:00
Maximilian Schneider dc74c89626 serum crank implemented 2023-02-04 01:37:19 +09:00
Maximilian Schneider 0a09ad81ae implement mango v4 crank 2023-02-03 20:55:59 +09:00
Maximilian Schneider e22d30b9fd add blockhash poller & transaction sender 2023-02-03 19:45:22 +09:00
Maximilian Schneider 31149f7e0d Merge remote-tracking branch 'origin/v4' into max/crank 2023-02-03 16:22:35 +09:00
Maximilian Schneider 5e78f008f6 create crank skeleton 2023-02-03 16:15:58 +09:00