Commit Graph

963 Commits

Author SHA1 Message Date
musitdev 5c64a151c2 test getvoteaccount. Correct some bugs 2024-01-03 10:20:18 +01:00
musitdev 901b76c4e0 pass fmt and clippy 2024-01-03 10:20:18 +01:00
musitdev 32789c9a11 remove stake log 2024-01-03 10:20:18 +01:00
musitdev b02ee5f45f correct geyser stake history subscription 2024-01-03 10:20:18 +01:00
musitdev cce787fb05 update with stake history geyser notification 2024-01-03 10:20:18 +01:00
musitdev 69754a019a start get_leader_slot, update for get_vote_account 2024-01-03 10:20:18 +01:00
musitdev 8a0b7ccae3 update take/merge algo 2024-01-03 10:20:18 +01:00
musitdev b3317667a6 first impl for RPC get_vote_accounts 2024-01-03 10:20:18 +01:00
musitdev 7fba107165 update nodeid list generation to have several vote account per node 2024-01-03 10:20:18 +01:00
musitdev 68c341a2dc update stake history sync algo 2024-01-03 10:20:18 +01:00
musitdev 85b3eb3faf correct clippy warning 2024-01-03 10:20:18 +01:00
musitdev 952b0c866c add stake and schedule bootstrap 2024-01-03 10:20:18 +01:00
musitdev b6cef88fa9 remove old comment 2024-01-03 10:20:18 +01:00
musitdev 0e5f607ad1 add the leader schedule calculus 2024-01-03 10:20:18 +01:00
musitdev dc37b865f6 update cargo.toml with workplace 2024-01-03 10:20:18 +01:00
musitdev 3e4c81c567 Stake and vote management. Integration of the main loop in current architecture 2024-01-03 10:20:14 +01:00
vuittont60 95a3f7d66c
Fix some typos (#260)
* fix typos in benches/

* fix typos in cluster-endpoints/

* fix typos in quic-forward-proxy/

* fix typo in README.md
2024-01-02 20:52:46 +05:30
Aniket Prajapati 68ee942b4b
removed DEFAULT_LITE_RPC_HTTP_ADDR; config to Config::default_lite_rpc_http_addr (#254)
* -D clippy

* scripts

* fmt

* commented out

* diff clippy and build

* fix

* push -> main
2024-01-02 20:51:39 +05:30
Groovie | Mango facd4a1a0f
Merge pull request #257 from blockworks-foundation/readme_grpc-multiplexing
grpc multiplex: readme
2023-12-22 15:44:23 +01:00
riordanp 66bf77ee3d
Merge branch 'production' into main 2023-12-22 14:25:19 +00:00
GroovieGermanikus 54245a68d2
grpc multiplex: readme 2023-12-22 15:21:01 +01:00
Groovie | Mango 5cfb6de72a
grpc multiplexing integrate (#255)
allow multiple GRPC sources
2023-12-22 14:42:20 +01:00
GroovieGermanikus b91f054a48
ping 2023-12-19 07:13:26 +01:00
Aniket Prajapati a4fdc1554a
-D clippy (#252)
* -D clippy

* scripts

* fmt

* commented out

* diff clippy and build

* fix

* push -> main
2023-12-08 03:26:41 +05:30
riordanp 55ff9c8f4d
CI Updates (#251)
* Deploy QUIC Proxy (#210)

* Load listen addr from env

* Add deployment config for quic-forward-proxy

* ipv6 support

* Fix rpc_tester

* Read QUIC_PROXY_ADDR from env

* Add traces for debugging

* Add timeout for writing to SendStream

* disable GSO (Generic Segmentation Offload) for all outgoing QUIC-connects

should fix https://github.com/blockworks-foundation/lite-rpc/issues/199

* disable GSO (Generic Segmentation Offload) for all outgoing QUIC-connects (#200)

should fix https://github.com/blockworks-foundation/lite-rpc/issues/199

Co-authored-by: GroovieGermanikus <groovie@mango.markets>

* Add staging config, remove traces

* cargo fmt

* delete fly.toml - was split+renamed - see cd/

* remove misleading line

* comment on quic proxy

* revert some files

* Deploy dev from main, prod from production

---------

Co-authored-by: GroovieGermanikus <groovie@mango.markets>
Co-authored-by: Steve <95291500+grooviegermanikus@users.noreply.github.com>

* Update job names

* Fix launch params

---------

Co-authored-by: GroovieGermanikus <groovie@mango.markets>
Co-authored-by: Steve <95291500+grooviegermanikus@users.noreply.github.com>
2023-12-01 13:56:02 +00:00
Riordan Panayides f16731ace8 Fix launch params 2023-12-01 12:24:12 +00:00
Riordan Panayides 67a2d30405 Update job names 2023-12-01 12:04:18 +00:00
riordanp c63a212e57
Deploy QUIC Proxy (#210)
* Load listen addr from env

* Add deployment config for quic-forward-proxy

* ipv6 support

* Fix rpc_tester

* Read QUIC_PROXY_ADDR from env

* Add traces for debugging

* Add timeout for writing to SendStream

* disable GSO (Generic Segmentation Offload) for all outgoing QUIC-connects

should fix https://github.com/blockworks-foundation/lite-rpc/issues/199

* disable GSO (Generic Segmentation Offload) for all outgoing QUIC-connects (#200)

should fix https://github.com/blockworks-foundation/lite-rpc/issues/199

Co-authored-by: GroovieGermanikus <groovie@mango.markets>

* Add staging config, remove traces

* cargo fmt

* delete fly.toml - was split+renamed - see cd/

* remove misleading line

* comment on quic proxy

* revert some files

* Deploy dev from main, prod from production

---------

Co-authored-by: GroovieGermanikus <groovie@mango.markets>
Co-authored-by: Steve <95291500+grooviegermanikus@users.noreply.github.com>
2023-12-01 12:02:41 +00:00
galactus 8760021e7f
Merge pull request #250 from blockworks-foundation/fixing_network_issues
Resubscribing grpc block subsciption on failure, get vote accounts ev…
2023-12-01 11:22:45 +01:00
godmodegalactus 7113046d66
Resubscribing grpc block subsciption on failure, get vote accounts every 10 minutes instead of 1s 2023-12-01 11:12:54 +01:00
Riordan Panayides 62bdfd3c11 Fix launch args 2023-11-27 15:38:50 +00:00
Aniket Prajapati 8d5e598d51
identity (#249) 2023-11-27 21:01:59 +05:30
Aniket Prajapati 3eecb89b81
simple config, env and cli (#247)
* simple config, env and cli

* fix comp

* init env first

* added env override

* postgres config

* fmt

* updated env in readme

* examples

* a
2023-11-27 14:24:59 +05:30
galactus 1bcf7d20cd
Merge pull request #243 from blockworks-foundation/gmg/update_grpc_version
Update grpc version to 0.11.0 so that we can use the latest triton se…
2023-11-14 11:17:44 +01:00
Godmode Galactus e6d2ab897e
Update grpc version to 0.11.0 so that we can use the latest triton service 2023-11-14 10:42:58 +01:00
galactus beb1217fa9
Merge pull request #241 from Arrowana/feat/add-geyser-x-token-arg
feat: Add geyser x-token arg
2023-11-14 10:36:41 +01:00
Arrowana 15ffb44f6e allow x-token 2023-11-07 21:04:17 +11:00
Aniket Prajapati 45392943ae
Merge pull request #233 from blockworks-foundation/methods
implement rpc methods with a todo!() clause
2023-11-06 21:48:18 +05:30
galactus 3e7497257d
Merge pull request #240 from blockworks-foundation/update_readme
Updating readme file
2023-11-03 11:16:43 +01:00
Godmode Galactus fad7478ac5
Updating readme file for lite-rpc 2023-11-01 10:28:15 +01:00
aniketfuryrocks b7c9c7e55f fmt 2023-10-30 10:38:16 +05:30
aniketfuryrocks d68ba7e3f0 implement rpc methods with a todo!() clause 2023-10-30 10:38:16 +05:30
galactus fa0433f74a
Merge pull request #238 from blockworks-foundation/revert_block_polling_logic
restoring block polling with semaphore, some more changes related to …
2023-10-25 21:20:12 +02:00
Godmode Galactus 92fda9f6bb
fixing issue with confusion of blockheight and slot 2023-10-25 20:58:50 +02:00
Godmode Galactus e65ef4558b
restoring block polling with semaphore, some more changes related to processed slots and tpu manager 2023-10-25 20:54:19 +02:00
galactus 91dbe2b546
Merge pull request #237 from blockworks-foundation/revert_block_polling_logic
reverting logic of block polling
2023-10-25 19:07:09 +02:00
Godmode Galactus a78866dc25
reverting logic of block polling 2023-10-25 18:49:38 +02:00
galactus 5463195b7b
Merge pull request #236 from blockworks-foundation/avoid_fetching_whole_finalized_block
avoid fetching whole finalized block
2023-10-25 16:22:40 +02:00
Godmode Galactus 4838912c2e
avoid fetching whole finalized block 2023-10-25 16:07:46 +02:00
Godmode Galactus aee33215c7
fixing prometheus metrics name 2023-10-25 11:41:04 +02:00