Commit Graph

135 Commits

Author SHA1 Message Date
musitdev 93ab67db18 test leader and vote RPC calls 2024-01-03 10:21:06 +01:00
musitdev 901b76c4e0 pass fmt and clippy 2024-01-03 10:20:18 +01:00
musitdev b02ee5f45f correct geyser stake history subscription 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 b3317667a6 first impl for RPC get_vote_accounts 2024-01-03 10:20:18 +01:00
musitdev 85b3eb3faf correct clippy warning 2024-01-03 10:20:18 +01:00
musitdev 0e5f607ad1 add the leader schedule calculus 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
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
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
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
Godmode Galactus e025f91650
Adding some optimization 2023-10-25 10:37:20 +02:00
Steve 12c97b88d1
Merge pull request #228 from grooviegermanikus/groovie/disable-gso-flag
disable gso (generic segmentation offload)
2023-10-13 23:22:50 +02:00
GroovieGermanikus 35c86ca2fd
fix comments 2023-10-10 11:36:17 +02:00
GroovieGermanikus 83f9bdf9e0
simplify 2023-10-09 18:00:23 +02:00
GroovieGermanikus 617f7511ce
refactor flag propagation 2023-10-09 17:58:43 +02:00
GroovieGermanikus 9f502e17d7
remove unused import 2023-10-09 17:39:47 +02:00
godmodegalactus fe3509c7ee
after musitdev review 2023-10-06 10:44:39 +02:00
GroovieGermanikus e8edcee127
rework flag method 2023-10-04 21:01:07 +02:00
GroovieGermanikus d353569dbb
WIP: add DISABLE_GSO env flag 2023-10-04 20:44:52 +02:00
galactus f9dfcf4891
Merge pull request #223 from blockworks-foundation/epoch_integration
Epoch integration
2023-10-04 20:29:57 +02:00
galactus 72cea3a32e
Merge pull request #224 from blockworks-foundation/save_transaction_message_in_store
Removing postgres_session and moving it to history, start to implemen…
2023-10-04 20:29:38 +02:00
godmodegalactus 53fc6b482a
Update counters only if transactions are sent by literpc 2023-10-04 17:29:12 +02:00
musitdev 178da3cc00 use commitment config for RPC call 2023-10-04 17:11:08 +02:00
godmodegalactus fc1810cc89
Removing postgres_session and moving it to history, start to implement saving blocks 2023-10-04 15:25:06 +02:00
musitdev c6aba8f396 Epoch integration 2023-10-04 11:28:18 +02:00
godmodegalactus 2730ea504e
changing name blockhash to recent_blockhash 2023-10-03 12:51:18 +02:00
godmodegalactus 480631de72
Save all transactions in the cache, save transaction messages too, Increase transaction store size 2023-10-03 11:36:38 +02:00
galactus 3cdab51676
Merge pull request #216 from blockworks-foundation/prioritize_unistream_on_connected_connections
Trying to pick free connection in order so that we prioritize connect…
2023-09-26 18:31:10 +02:00
Godmode Galactus eed573601f
minor change 2023-09-26 16:53:13 +02:00
Godmode Galactus be435249ed
Trying to pick free connection in order so that we prioritize connection that already have been established 2023-09-26 16:28:05 +02:00
godmodegalactus 886c80faa6
adding previous blockhash and renaming txs to transactions 2023-09-21 16:08:41 +02:00
godmodegalactus 7ef29e1af6
implementing history, block storage method
changes after groovies review
2023-09-21 15:39:25 +02:00
godmodegalactus 255b9de7f5
fixing tests, cargo fmt 2023-09-20 17:01:23 +02:00
godmodegalactus 7f3d3303b7
checking for transaction confirmation and blockheight before sending the transaction 2023-09-20 16:57:01 +02:00
Godmode Galactus 7ce00a2642
changes after groovies review 2023-09-19 16:49:46 +02:00
Godmode Galactus 4b51dc0460
establish connection before using QuicConnection 2023-09-19 13:35:58 +02:00
Godmode Galactus 41d36a8e3b
bug fix add connection when created first time 2023-09-15 11:06:45 +02:00
Godmode Galactus 3e4c6ed933
creating task counters per quic connection 2023-09-15 11:06:45 +02:00
Godmode Galactus 73242ce9a6
changes after groovies review 2023-09-14 12:05:13 +02:00
Godmode Galactus aff1c78d12
restructuring core library into multiple directories 2023-09-13 17:15:28 +02:00
Godmode Galactus 7a9ae44241
Update rust verion to 1.70.0 2023-09-06 22:09:24 +02:00
GroovieGermanikus ec1f574f6c move keypair_loaded to core 2023-09-02 18:47:29 +02:00
GroovieGermanikus 34e2cff6b6 move keypair_loaded to core 2023-09-02 14:59:56 +02:00
Godmode Galactus 260a2f104b
readding few prometheus counters 2023-09-01 16:40:59 +02:00
Godmode Galactus a418fe7fc7
Refactoring the code from gyser branch and merging into master 2023-08-31 12:34:13 +02:00
GroovieGermanikus 9263b11e8c code fmt 2023-08-29 01:13:08 +02:00
GroovieGermanikus e08969357f remove useless serialization to VersionedTransaction 2023-08-10 10:43:03 +02:00
GroovieGermanikus 1e055fec2c clippy+fmt 2023-08-09 17:10:08 +02:00
GroovieGermanikus 677801f5be pack list of target tpu nodes in the wire format 2023-08-09 17:00:17 +02:00
GroovieGermanikus 3667c61552 avoid de-serialization of wire format 2023-08-08 16:36:24 +02:00
GroovieGermanikus b19a7a5907 Revert "use TryFrom+TryInto for (de-)serialization if proxy_request_format"
This reverts commit 946536f423.
2023-08-08 15:30:42 +02:00
GroovieGermanikus 415835912a return transactions as slice 2023-08-08 14:19:34 +02:00
GroovieGermanikus 946536f423 use TryFrom+TryInto for (de-)serialization if proxy_request_format 2023-08-08 13:13:27 +02:00
GroovieGermanikus a8863cd74d code format lite-rpc 2023-08-02 15:22:59 +02:00
GroovieGermanikus b41d05e613 cleanup minor todos 2023-08-02 14:15:39 +02:00
GroovieGermanikus 20c2710202 cargo fix 2023-07-29 11:26:21 +02:00
GroovieGermanikus d2d28bb474 add tx forwarder 2023-07-27 16:13:39 +02:00
GroovieGermanikus 23ffbc50ab refactor 2023-07-27 11:27:31 +02:00
GroovieGermanikus 0102058052 connection stats 2023-07-26 13:22:56 +02:00
GroovieGermanikus 19f7922e1f build dumb lazy-one-connection per tpu allocation strategy 2023-07-24 15:52:56 +02:00
GroovieGermanikus c4093b58db test works - send tx via test quic proxy 2023-07-20 18:07:50 +02:00
GroovieGermanikus 9e064001f8 extract integration test 2023-07-20 14:08:38 +02:00
GroovieGermanikus 0490e557de merge integration test branch into proxy branch 2023-07-20 13:45:54 +02:00
GroovieGermanikus 7c3f7bea74 refactor out tpu_quic_connection 2023-06-29 11:05:49 +02:00
GroovieGermanikus 77c801ff45 proxy forwarding works 2023-06-26 22:10:06 +02:00
GroovieGermanikus 1146589b09 proxy works 2023-06-26 08:58:48 +02:00
GroovieGermanikus eb33095778 introduce proxy request 2023-06-26 08:05:18 +02:00
GroovieGermanikus 23b7d75194 patch connection utils 2023-06-22 18:55:15 +02:00
Godmode Galactus 1eefe06189
nit, changing the version of lite-rpc to 0.2.1 2023-06-16 14:21:58 +02:00
Godmode Galactus 83024ab6a7
adding Send and Sync to SubscriptionSink 2023-06-16 13:35:44 +02:00
Godmode Galactus 478e65a93c
Adding more information to notifications 2023-06-13 17:04:16 +02:00
Godmode Galactus 0eeea15b1a
moving part of the code responsible to manage send and confirm transactions from bridge to its owns service 2023-06-13 10:58:21 +02:00
Godmode Galactus 9ff5af67c7
cargo fmt 2023-06-13 10:58:20 +02:00
Godmode Galactus bd59eeb7fd
commiting missing files 2023-06-13 10:58:20 +02:00
Godmode Galactus 3995d6ee39
removing dependency of jsonrpsee for core and services 2023-06-13 10:58:19 +02:00
Godmode Galactus 9c91c9528a
setting tokio to any for core and services and specifying version for lite-rpc 2023-06-13 10:58:19 +02:00
aniketfuryrocks 56acfccc62
tpu service 2023-06-12 06:11:49 +05:30
Godmode Galactus 3c31e25761
Adding licence and not publishing lite-rpc by default 2023-06-10 14:48:22 +02:00
Godmode Galactus 7c64913349
Changing version to 0.2.0 2023-06-10 14:48:21 +02:00
Godmode Galactus 27a42198e1
remove unused dependencies 2023-06-09 11:07:01 +02:00
Godmode Galactus 78df56e635
Split blocklistner code and move code into core 2023-06-08 18:34:03 +02:00
Godmode Galactus 4fc05f062d
moved code from TPU service and TPU connection to core, format and clippy 2023-06-08 11:27:02 +02:00
Godmode Galactus 00f2b39f52
splitting sevices into core and services 2023-06-07 20:00:59 +02:00