Commit Graph

590 Commits

Author SHA1 Message Date
Maximilian Schneider a5ac54c3ff fix sql 2023-04-17 00:24:37 +02:00
Maximilian Schneider 87eea887da fix sql 2023-04-17 00:20:30 +02:00
Maximilian Schneider 30555ea712
implement parsing of compute budget instructions (#123)
* implement parsing of compute budget instructions

* add parser for legacy compute budget
2023-04-17 00:16:53 +02:00
Maximilian Schneider ed56f1231a make queries resilient against duplictate data 2023-04-16 23:30:58 +02:00
Maximilian Schneider d399bde703 remove log 2023-04-16 23:17:41 +02:00
Maximilian Schneider 98c0e991ed debug update query 2023-04-16 23:08:07 +02:00
Maximilian Schneider d947625196 fix type.. again 2023-04-16 22:31:56 +02:00
Maximilian Schneider 74a2b563c5 fix tests and add a new one 2023-04-16 22:29:51 +02:00
Maximilian Schneider 7483b29d28 fix type issue 2023-04-16 22:27:21 +02:00
Maximilian Schneider 197aff25d4 add type hints to multi-line queries 2023-04-16 22:25:28 +02:00
Maximilian Schneider 9a9e3319a5 improve error log 2023-04-16 22:09:35 +02:00
Aniket Prajapati b49d18d826
Postgres test migration fix (#122)
* metric devide fix

* postgres

* get max safe updates

* rm array vec

* >=

* make it 1

* continue

* postgres 50

* set default to 0 to trigger panic by default

* batch update statements

* add comment to code

---------

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2023-04-16 20:46:47 +02:00
galactus 65c5d8365c
Merge pull request #120 from blockworks-foundation/postgres_test_migration_fix
postgres migration and test script fix
2023-04-15 10:02:54 +02:00
galactus d28f9a4b6a
Merge pull request #121 from blockworks-foundation/check_stable_id_before_writing
checking if connection is already updated before writing again
2023-04-15 10:02:24 +02:00
Godmode Galactus fbe99c7e81
checking if connection is already updated before writing again 2023-04-15 09:10:32 +02:00
aniketfuryrocks 5711203d48
log batch size on failure 2023-04-15 02:56:20 +05:30
aniketfuryrocks 2699a676c4
postgres migration and test script fix 2023-04-15 02:40:25 +05:30
galactus 4156abc708
Merge pull request #109 from blockworks-foundation/test_bash
bash script for testing
2023-04-14 18:01:14 +02:00
aniketfuryrocks 1ade456a70
kill but don't fail 2023-04-14 18:27:11 +05:30
aniketfuryrocks 55cdef6e02
yarn install deps 2023-04-14 18:24:18 +05:30
aniketfuryrocks 2323b8d1a1
bash script for testing 2023-04-14 18:24:15 +05:30
galactus 4b61b33755
Merge pull request #119 from blockworks-foundation/optimize_custom_tpu_2
Optimize custom tpu 2
2023-04-14 13:57:21 +02:00
Godmode Galactus 81b422c69a
increase limits, minor changes, updated the bench executable 2023-04-14 12:35:11 +02:00
Godmode Galactus ddd45dd478
Using same connection and reconnecting when necessary 2023-04-14 11:50:52 +02:00
Godmode Galactus 46c123121c
optimizing tpu connection by getting limits and sending transactions in parallel 2023-04-13 16:18:43 +02:00
Aniket Prajapati 70b4753449
Merge pull request #116 from blockworks-foundation/async_recursion
remove async_recursion and fix clippy bugs
2023-04-12 20:53:19 +05:30
aniketfuryrocks 93bde78bbf
lock rustls 2023-04-12 20:19:32 +05:30
aniketfuryrocks 713c19bf52
remove async_recursion and fix clippy bugs 2023-04-12 20:02:04 +05:30
galactus f11c7e4969
Merge pull request #117 from blockworks-foundation/fixing_issues_with_slot_subscription
fixing the issue where slot subscription is lagging or is not working
2023-04-12 09:45:50 +02:00
Godmode Galactus ed134a2679
fixing the issue where slot subscription is lagging or is not working 2023-04-11 19:58:20 +02:00
Maximilian Schneider e28a1976b3 correctly store cluster_time in sql 2023-04-06 19:11:35 +02:00
Maximilian Schneider 20a9914e76 fix bug in sql stmt 2023-04-06 19:03:34 +02:00
Maximilian Schneider 048b46e4dd fix bug in sql stmt 2023-04-06 18:56:31 +02:00
Maximilian Schneider 4c282b30b1 fix bug in sql stmt 2023-04-06 18:45:04 +02:00
Maximilian Schneider ba23f90641 fix bug in sql stmt 2023-04-06 18:30:51 +02:00
Maximilian Schneider ff9c0a5e65
store timestamps in sqlana (#106)
* save timestamps in sql

* move some timestamps to block

* store processed_local_time in blockstore

* continuosly poll processed blocks and feed into blockstore

* fetch local processing time from blockstore

* make Blocks.local_time optional in schema
2023-04-06 17:28:10 +02:00
galactus b0856507f1
Merge pull request #114 from blockworks-foundation/custom_tpu_bugfixes
Try connection 10 times, adding timeouts for connect, writeall and fi…
2023-04-06 16:12:24 +02:00
Godmode Galactus 4555665229
Try connection 10 times, adding timeouts for connect, writeall and finish 2023-04-06 14:41:46 +02:00
galactus 4caf43e867
Merge pull request #112 from blockworks-foundation/custom_tpu_client
moving some messages to trace, to make logs less verbose
2023-04-05 17:05:17 +02:00
galactus 85e495c3d5
Merge pull request #113 from blockworks-foundation/initial_changelog
Changelog initial commit
2023-04-05 17:05:05 +02:00
Godmode Galactus 153653b37c
Changelog initial commit 2023-04-05 15:37:52 +02:00
Godmode Galactus 3241818cba
break incase the connection with the server failed instead of retrying over and over 2023-04-05 15:03:30 +02:00
Godmode Galactus 6d2c368fde
moving some messages to trace, to make logs less verbose 2023-04-05 14:42:27 +02:00
galactus 17009dca40
Merge pull request #111 from blockworks-foundation/custom_tpu_client
Reconnect to the quic server
2023-04-05 10:42:39 +02:00
Godmode Galactus d8d8ecf2b2
Reconnect to the quic server if creating unistream on exisiting connection fails 2023-04-05 10:22:47 +02:00
riordanp f7f4ab9069
Update fly-deploy.yml 2023-04-05 04:17:53 +01:00
riordanp 822708bb5f
Update Dockerfile 2023-04-05 04:16:23 +01:00
galactus baec1d3894
Merge pull request #105 from blockworks-foundation/custom_tpu_client
Custom tpu client
2023-04-04 18:10:12 +02:00
Godmode Galactus b1343f9835
Bugfixes and making tests work 2023-04-04 17:19:42 +02:00
Godmode Galactus bf5841f438
Adding prometheus metrics to newly added custom tpu classes 2023-04-04 10:49:58 +02:00