Commit Graph

39 Commits

Author SHA1 Message Date
GroovieGermanikus a3ad81cf39
WIP - not compiling 2024-04-16 10:53:45 +02:00
godmodegalactus 9be86919ba
Merge branch 'production' 2024-03-16 16:18:01 +01:00
godmodegalactus c59f3f8f38
Updating docker file with correct version info 2024-03-08 11:40:55 +01:00
Groovie | Mango 855c0190eb
prepare new "util" crate (#333)
prepare new "util" crate
2024-02-22 16:54:42 +01:00
galactus 196b400e15
Adding support for address lookup tables (#319)
* Initial implementation of address lookup tables

* Implementing fetching of address lookup tables

* Use address lookup tables to calculate account prio fees

* Adding some logs and renaming classes

* preloading all the alts correctly

* Changes after groovies review

* Fixing issues after rebase
2024-02-06 17:59:46 +01:00
Groovie | Mango fae4cecc0e
Improvement/saving blocks use lookup tables (#318)
block store basic implementation
2024-02-05 20:20:15 +01:00
galactus 60388667f5
Main into production 01/02/2024 (#312)
* Production into main (#303)

* fix: panic on geyser close, multiplex bug

https://github.com/blockworks-foundation/geyser-grpc-connector/issues/3

* update Cargo.lock

* reverting cargo.lock

* Fix issues with grpc and postgres

* Solving merge issues

* Fixing cargo fmt

* Increase finish quic timeout (#280) (#281)

* integrate geyser slot subscription (#283)

* Increase finish quic timeout (#280)

* Moving geyser slot subscription from stream to channels (#282)

* Moving geyser slot subscription from stream to channels

* Closing all the slot subscription tasks incase of restart

* Making slot channel unbounded (bug)

* remove block_debug_listen

caused a panic - need more time to investigate

2024-01-17T20:31:42.913 app[683d392fd45368] ams [info] thread 'tokio-runtime-worker' panicked at cluster-endpoints/src/grpc_inspect.rs:59:21:
2024-01-17T20:31:42.913 app[683d392fd45368] ams [info] Error receiving block: Closed
2024-01-17T20:31:42.922 app[683d392fd45368] ams [info] 2024-01-17T20:31:42.912597Z ERROR lite_rpc: Services quit unexpectedly Err(cluster endpoint failure (Err(JoinError::Panic(Id(20), ...)), 1, [JoinHandle { id: Id(19) }, JoinHandle { id: Id(23) }])

* Update cargolock file

* Fixing clippy removing grpc_inspect

* merging main with production (#290)

* remove block_debug_listen (#286)

* remove block_debug_listen

caused a panic - need more time to investigate

2024-01-17T20:31:42.913 app[683d392fd45368] ams [info] thread 'tokio-runtime-worker' panicked at cluster-endpoints/src/grpc_inspect.rs:59:21:
2024-01-17T20:31:42.913 app[683d392fd45368] ams [info] Error receiving block: Closed
2024-01-17T20:31:42.922 app[683d392fd45368] ams [info] 2024-01-17T20:31:42.912597Z ERROR lite_rpc: Services quit unexpectedly Err(cluster endpoint failure (Err(JoinError::Panic(Id(20), ...)), 1, [JoinHandle { id: Id(19) }, JoinHandle { id: Id(23) }])

* clippy

* Fixing message too long and overflow panics (#288)

* Update geyser grpc connector commit (#289)

---------

Co-authored-by: Groovie | Mango <95291500+grooviegermanikus@users.noreply.github.com>

* Merging MTU changes and setting up transportation config (#293)

* remove block_debug_listen (#286)

* remove block_debug_listen

caused a panic - need more time to investigate

2024-01-17T20:31:42.913 app[683d392fd45368] ams [info] thread 'tokio-runtime-worker' panicked at cluster-endpoints/src/grpc_inspect.rs:59:21:
2024-01-17T20:31:42.913 app[683d392fd45368] ams [info] Error receiving block: Closed
2024-01-17T20:31:42.922 app[683d392fd45368] ams [info] 2024-01-17T20:31:42.912597Z ERROR lite_rpc: Services quit unexpectedly Err(cluster endpoint failure (Err(JoinError::Panic(Id(20), ...)), 1, [JoinHandle { id: Id(19) }, JoinHandle { id: Id(23) }])

* clippy

* Fixing message too long and overflow panics (#288)

* Update geyser grpc connector commit (#289)

* Updating the transport config to match with solana endpoint (#292)

* Updating the transport config to match with solana endpoint

* Setting max MTU after groovies comments

---------

Co-authored-by: Groovie | Mango <95291500+grooviegermanikus@users.noreply.github.com>

* Making block subscription processed and moving confirmed block subscr… (#291)

* Making block subscription processed and moving confirmed block subscription to meta

* Sending both processed and confirmed blocks, if block has already been confirmed

* Minor bug, subscribing to processed blocks instead of confirmed (#295)

---------

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

* Restart connection if any stream fails

* Updating to version 0.2.4

* Updating the change logs

* Fixing all the sub overflows by using saturating sub (#309)

* Fixing by cu computation adding more tests to check by CU (#311)

* Fixing by cu computation adding more tests to check by CU

* Adding more tests

---------

Co-authored-by: Groovie | Mango <95291500+grooviegermanikus@users.noreply.github.com>
Co-authored-by: GroovieGermanikus <groovie@mango.markets>
2024-02-01 15:08:47 +01:00
galactus 118f5435e3
Fixing all the sub overflows by using saturating sub (#309) 2024-01-30 15:24:35 +01:00
godmodegalactus a44923c334
Updating to version 0.2.4 2024-01-29 13:11:54 +01:00
godmodegalactus 1acc71d51d
Fix fmt 2024-01-12 16:19:00 +01:00
godmodegalactus 1923cb9fef
Fix clippy 2024-01-12 16:12:20 +01:00
musitdev 29478ad262 change slot leader calculus. Remove rpc call 2024-01-06 16:59:59 +01:00
musitdev 032232f6f3 add rpc leader shedule loading if the bootstrap file is not present 2024-01-05 15:58:25 +01:00
musitdev 21a8f12ed4 correct clippy errors 2024-01-04 14:05:11 +01:00
musitdev 402ebd69b1 correct from PR remarks 2024-01-04 13:36:13 +01:00
musitdev dbc152bb64 rebase from master 2024-01-03 16:50:16 +01:00
musitdev 5a24c2bb4d set stake_vote optional and integrate leader schedule and vote in send Tx 2024-01-03 10:25:45 +01:00
musitdev faa5d1a12c rebase from main 2024-01-03 10:23:17 +01:00
musitdev ecffad0a73 change some logs 2024-01-03 10:22:43 +01:00
musitdev 16e8c53fad change some ogs to trace and set default gprc add to localhost 2024-01-03 10:22:43 +01:00
musitdev e5d4942ddb add account update at epoch 2024-01-03 10:21:07 +01:00
musitdev bff31e08af correct logic error that was storing all received account update 2024-01-03 10:21:07 +01:00
musitdev 93ab67db18 test leader and vote RPC calls 2024-01-03 10:21:06 +01:00
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