Commit Graph

187 Commits

Author SHA1 Message Date
Riordan Panayides ede9040e08 Fix build warnings 2022-09-21 00:53:35 +01:00
riordanp 2f09d0a8f2
Add docker build and fly deployment actions (#2)
* Test dockerfile with caching

* Fix action

* Remove tags

* Use sccache release

* Use max mode

* idk

* Try no runtime build

* Use cargo-chef

* Test rebuild

* Revert "Test rebuild"

This reverts commit d7e1654c63.

* Publish image to GCR

* Trigger build

* Read config from env

* Fix typo

* Bind to correct address

* Lint

* Add fly config

* Switch trigger branch to main

* Use both common branch names
2022-09-20 23:01:24 +02:00
Maximilian Schneider 43b5cf5780
Merge pull request #1 from blockworks-foundation/max/debug
improved error handling for websocket
2022-09-19 11:32:12 +02:00
Maximilian Schneider 490515bc3e remove unneeded crate 2022-09-15 18:36:52 +02:00
Maximilian Schneider 8c57c5f419 do not crash when sending on a dead socket 2022-09-15 18:35:16 +02:00
Maximilian Schneider 2b50d1bc3d avoid panics in websocket handler 2022-09-10 22:30:56 +02:00
Maximilian Schneider 1a2fcd2002 try ignoring error 2022-09-07 04:14:14 +02:00
Riordan Panayides 3dfb430416 Add zstd decoding 2022-08-25 11:51:38 +01:00
Riordan Panayides 269f9db762 Merge remote-tracking branch 'rpcpool/v1.10' 2022-08-24 20:07:25 +01:00
Riordan Panayides 6b280445cc Try 1.10.35 2022-08-24 17:19:40 +01:00
Riordan Panayides f39fcdfba9 Fix lib for 1.10 compatibility 2022-08-24 13:47:16 +01:00
Pedro bb66b37914 bump to .35 2022-08-24 19:29:59 +07:00
Riordan Panayides 18fc4afd93 Bump ci rust version 2022-08-24 13:16:34 +01:00
Riordan Panayides 495b5371ec Update solana and mango deps 2022-08-24 12:56:50 +01:00
Maximilian Schneider 15500d3c28 Merge remote-tracking branch 'ck/master' 2022-08-20 15:33:13 +02:00
Daniel Camargo cc5300bd10 bump version to v1.10.34 2022-08-08 17:45:45 +01:00
Linus Kendall fb68dde543
Version bump to 1.10.32 2022-08-02 10:00:54 +01:00
Linus Kendall c130132603
Merge pull request #3 from rpcpool/v1.10-comaspring
V1.10 comaspring
2022-07-22 23:27:02 +02:00
Linus Kendall cba2744c3a Make clippy and cargo fmt happy 2022-07-22 12:28:08 +01:00
Linus Kendall fd1654b416 Version bump 1.10.31 2022-07-22 11:54:57 +01:00
Linus Kendall b04fcc24ca Merge branch 'v1.10-comaspring' of github.com:rpcpool/solana-accountsdb-connector into v1.10-comaspring 2022-07-22 11:54:19 +01:00
Linus Kendall 1cefcbdc39 Version bump 1.10.31 2022-07-22 11:54:05 +01:00
Linus Kendall 057cc19459
Merge pull request #2 from Nader-Sl/v1.10
Adds optional zstd compression to account data
2022-07-13 22:09:52 +02:00
Nader Sleiman 2e92e92c1d format 2022-07-13 21:36:24 +03:00
Nader Sleiman 5adf0ee0af Added optional zstd compression to account data 2022-07-13 21:20:33 +03:00
Linus Kendall 7984be92e2 Merge branch 'v1.10' of github.com:rpcpool/solana-accountsdb-connector into v1.10 2022-07-11 11:55:26 +01:00
Linus Kendall 952e496e9c Added gzip compression support 2022-07-11 11:55:18 +01:00
Linus Kendall 751756e3b4 Fixed ci name 2022-06-20 13:20:31 +01:00
Linus Kendall d8dd027744 fixed plugin name 2022-06-20 12:49:47 +01:00
Linus Kendall 0cd9947d0a Remove incompatible subcrates (temp)
Currently the mango specific crates don't work with 1.10 so removing them from build.
2022-06-20 12:18:38 +01:00
Linus Kendall a80d62f1fb Upgraded solana version 2022-06-20 12:18:23 +01:00
Linus Kendall 80e6099ff2 Added compatibility for 1.10 2022-06-20 12:17:32 +01:00
Linus Kendall c18632c1b2 Added ci build scripts
Added basic github actions build scripts.
2022-05-14 14:57:56 +02:00
Maximilian Schneider ac3eb65e5c service-fills: add to README 2022-04-08 05:24:01 +02:00
Maximilian Schneider 8dde08d377 service-fills: add slote and write version to fill update 2022-04-08 05:23:52 +02:00
Maximilian Schneider b41c094aba merge fill service 2022-03-28 20:01:16 +02:00
Christian Kamm c2f0c0ac05 Fix write_version sanity checking for 1.9
In 1.9, the write_version will no longer be strictly monotonic across
accounts.
2022-03-28 15:37:53 +02:00
Christian Kamm 9e643776dc pnl-service: config options 2022-03-24 13:44:24 +01:00
Christian Kamm 1be0cc8fb6 pnl-service: first working version 2022-03-23 18:39:42 +01:00
Christian Kamm 7d2ad2ed96 pnl-service: regularly compute pnl for all markets 2022-03-23 17:25:03 +01:00
Christian Kamm 30a4ca71ee mango-pnl-service: first steps 2022-03-23 09:07:00 +01:00
Christian Kamm cdf6d54156 Config: Separate out source config
We want to be able to not have a postgres target
2022-03-23 08:51:17 +01:00
Christian Kamm 3beaac671d Add memory_target and chain_data
This will be useful for storing account data in memory.
2022-03-23 08:19:19 +01:00
Christian Kamm 42f07d58a6 Keep slot, write_version etc as u64, convert only for postgres
This makes the conversion to i64 something that's local to the postgres
target, and doesn't affect unrelated code.
2022-03-23 08:18:02 +01:00
Christian Kamm 83e9c54fc0 Fix talking to older plugins
The previous commit only looked like it worked due to stale generated
code.
2022-03-23 08:16:02 +01:00
Christian Kamm 0a72228feb
Merge pull request #3 from rpcpool/fixes_1.9
Compatibility fixes for 1.9
2022-03-22 15:01:33 +01:00
Christian Kamm 2b1bf634c7 grpc proto: Change back to AccountsDb name to avoid incompatibility
Existing plugin deployments must continue to work with the new version
of the connector.
2022-03-22 12:54:38 +01:00
Linus Kendall b6cefddef2 Compatibility fixes for 1.9
- Renamed to geyser everywhere and updated the crates
- Changed FullRpcClient to AccountsDataClient
2022-03-22 08:36:59 +00:00
Christian Kamm f25c49d983 Configurable max account write queue size 2022-03-16 11:04:30 +01:00
Christian Kamm 80423fdac9 Track "is_selected" to denote closed/reused accounts 2022-01-28 10:12:01 +01:00