Commit Graph

208 Commits

Author SHA1 Message Date
godmodegalactus 53fc6b482a
Update counters only if transactions are sent by literpc 2023-10-04 17:29:12 +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
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 5c84163138
removing unwanted test code 2023-09-19 13:39:00 +02:00
Godmode Galactus 4b51dc0460
establish connection before using QuicConnection 2023-09-19 13:35:58 +02:00
galactus 41ae03e8f5
Merge pull request #196 from blockworks-foundation/improve_tx_replayer
improve the algorithm to schedule transaction replays
2023-09-15 13:56:40 +02:00
Godmode Galactus 3e4c6ed933
creating task counters per quic connection 2023-09-15 11:06:45 +02:00
Godmode Galactus dcc640f80a
using semaphore in tpu connection manager and removing unwanted code 2023-09-15 11:06:45 +02:00
Godmode Galactus 5f48f21cd9
Changes after groovies review 2023-09-15 11:05:36 +02:00
Godmode Galactus 8c795345dd
Cargo fmt 2023-09-15 09:27:31 +02:00
Godmode Galactus c50537eec4
improve the algorithm to schedule transaction replays 2023-09-14 16:11:25 +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 2f4cb1f839
Revert "disable prometheus to check performance impact of prometheus on fly"
This reverts commit 2945153bd2.
2023-09-09 17:43:51 +02:00
riordanp 9b4778373b
Deploy QUIC Proxy (#187)
* Load listen addr from env

* Add deployment config for quic-forward-proxy

* ipv6 support

* Read QUIC_PROXY_ADDR from env
2023-09-08 14:13:20 +01:00
Godmode Galactus d025d957a6
Some more optimizations in tpu client 2023-09-08 12:56:16 +02:00
Godmode Galactus 2945153bd2
disable prometheus to check performance impact of prometheus on fly 2023-09-07 12:30:46 +02:00
Godmode Galactus 7a9ae44241
Update rust verion to 1.70.0 2023-09-06 22:09:24 +02:00
GroovieGermanikus e86e750736 remove literpc_tpu_quic_server_integrationtest - focus on quic-forward-proxy-integration-test instead 2023-09-05 11:49:45 +02:00
GroovieGermanikus 335bd05aba tests: use solana streamer 1.16 2023-09-04 15:36:34 +02:00
Godmode Galactus 50c3b43a8b
cargo fmt 2023-09-01 16:53:55 +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 1fb85729ad Revert "cleanup/consolidate tests"
This reverts commit 50907f36ed.
2023-08-29 17:16:48 +02:00
GroovieGermanikus 9263b11e8c code fmt 2023-08-29 01:13:08 +02:00
GroovieGermanikus 50907f36ed cleanup/consolidate tests
- remove redundant integration test (literpc_tpu_quic_server_integrationtest.rs) and use the quic_proxy_tpu_integrationtest.rs for everything
- remove some commands from test.bash
2023-08-21 16:56:40 +02:00
GroovieGermanikus 0aebd7b362 MAN-59 disable flaky tests 2023-08-11 17:45:36 +02:00
GroovieGermanikus 4982325e67 direct test - wait in loop 2023-08-10 14:50:42 +02:00
GroovieGermanikus 10e4ea925a clarify test naming 2023-08-10 14:38:15 +02:00
GroovieGermanikus 7df7f271a5 properly drain channel on agent shutdown 2023-08-10 13:50:47 +02:00
GroovieGermanikus e246aa9d38 check for missing tx in test 2023-08-10 13:04:30 +02:00
GroovieGermanikus 5a07037087 cleanups 2023-08-10 10:44:24 +02:00
GroovieGermanikus e08969357f remove useless serialization to VersionedTransaction 2023-08-10 10:43:03 +02:00
GroovieGermanikus e0f3538923 move broadcast receiver 2023-08-10 10:31:31 +02:00
GroovieGermanikus b080c23ffe inrease test timeouts 2023-08-09 17:43:49 +02:00
GroovieGermanikus 414216e585 handle 0 tpu case 2023-08-09 17:29:42 +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 5f0d6ae15c fmt 2023-08-09 13:37:49 +02:00
GroovieGermanikus 4ca4e035c2 add shutdown for agent 2023-08-09 13:29:11 +02:00
GroovieGermanikus 6a1d4c66c5 comment on configure_panic_hook 2023-08-08 12:16:04 +02:00
GroovieGermanikus 9e05d2bd69 refactored out configure_panic_hook 2023-08-08 12:14:31 +02:00
GroovieGermanikus 3902dcca33 improve loggin 2023-08-08 11:50:02 +02:00
GroovieGermanikus dd5ad1b875 make connection failures more explicit 2023-08-08 11:22:46 +02:00
GroovieGermanikus 6938a0aa86 clippy-fmt 2023-08-07 22:24:33 +02:00
GroovieGermanikus bd3fc48267 fmt+clippy 2023-08-02 16:34:38 +02:00
GroovieGermanikus ca7927dca3 fmt again 2023-08-02 15:51:23 +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 0ad0563a65 Merge remote-tracking branch 'origin/main' into groovie/tpu-proxy-as-module-with-integration-test 2023-08-02 13:32:01 +02:00
GroovieGermanikus d03f73df95 align services/ 2023-07-31 14:53:19 +02:00
GroovieGermanikus a76c02d541 clean service integration 2023-07-31 14:49:01 +02:00
GroovieGermanikus 3551c47450 fix typo 2023-07-31 14:44:29 +02:00
GroovieGermanikus 20c2710202 cargo fix 2023-07-29 11:26:21 +02:00
GroovieGermanikus 816f978ee6 make validator id optional from cli 2023-07-28 23:04:53 +02:00
GroovieGermanikus 385d94bc02 use fanout 2023-07-28 22:23:57 +02:00
GroovieGermanikus e8f2befbee reduce logging; add parallel streams on client side 2023-07-28 15:30:55 +02:00
GroovieGermanikus d5df190bee add auto reconnect to proxy client 2023-07-28 14:56:58 +02:00
GroovieGermanikus 8cacfe6aa3 add exit signal 2023-07-28 14:52:22 +02:00
GroovieGermanikus f2dbdd8dea add cli option 2023-07-26 23:33:49 +02:00
GroovieGermanikus 0102058052 connection stats 2023-07-26 13:22:56 +02:00
GroovieGermanikus 400048ccba integrate send_transaction_batch 2023-07-26 11:10:57 +02:00
GroovieGermanikus 7b33ec7d32 set quic client+server transport config
* lite-rpc -> proxy
* proxy -> TPU
2023-07-26 11:10:12 +02:00
GroovieGermanikus b3433af730 disalbe heavy test 2023-07-25 15:47:15 +02:00
GroovieGermanikus 98ca91f205 code format 2023-07-25 15:31:35 +02:00
GroovieGermanikus ee7e864027 fix clippy warnings 2023-07-25 14:15:28 +02:00
GroovieGermanikus 4f09278cd2 works 2023-07-25 13:54:34 +02:00
GroovieGermanikus 391a42ec22 wip 2023-07-25 12:00:39 +02:00
GroovieGermanikus a2207da37a wip works 2023-07-25 09:04:25 +02:00
GroovieGermanikus 21bef36a0a port refactored integration test to proxy branch 2023-07-21 17:57:23 +02:00
GroovieGermanikus c132c19b76 extract stake flag to test params 2023-07-21 17:34:27 +02:00
GroovieGermanikus 37da6c039e extract TestCaseParams 2023-07-21 17:23:13 +02:00
GroovieGermanikus c70b0f8662 clarify lite-rpc thread timing 2023-07-21 10:55:01 +02:00
GroovieGermanikus dd03d33c6a remove misleading log 2023-07-21 10:06:00 +02:00
GroovieGermanikus 5d89c6304a cleanup imports 2023-07-21 10:05:11 +02:00
GroovieGermanikus c4093b58db test works - send tx via test quic proxy 2023-07-20 18:07:50 +02:00
GroovieGermanikus 9c1ce6b942 wire up quic proxy connection path 2023-07-20 17:54:26 +02:00
GroovieGermanikus 04147bf499 add tpu connection path 2023-07-20 14:55:47 +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 b56058dc84 code format 2023-07-20 12:12:15 +02:00
GroovieGermanikus e48ccbea57 Merge remote-tracking branch 'origin/main' into groovie/tpu-quic-integration-test-on-main 2023-07-20 10:45:47 +02:00
GroovieGermanikus a2ba514022 comment on fanout case 2023-07-20 09:48:54 +02:00
GroovieGermanikus 83a73c9c2b fix timeout 2023-07-20 09:31:59 +02:00
GroovieGermanikus 71e828fa96 timeout in consumer thread 2023-07-20 09:31:59 +02:00
GroovieGermanikus b4b7a2a583 reset non-test code 2023-07-20 09:31:59 +02:00
GroovieGermanikus cf321af18a count uniqu tx 2023-07-20 09:31:59 +02:00
GroovieGermanikus 7ed29df55f check tx uniqueness 2023-07-20 09:31:59 +02:00
GroovieGermanikus 4c6fe80608 tracing etc 2023-07-20 09:31:59 +02:00
GroovieGermanikus b0662e3ba4 fix typing 2023-07-20 09:31:59 +02:00
GroovieGermanikus c5eaa693ea tweak log levels 2023-07-20 09:31:59 +02:00
GroovieGermanikus 93a84df68b create stats 2023-07-20 09:31:59 +02:00
GroovieGermanikus 89d6c343af fix log level 2023-07-20 09:31:59 +02:00
GroovieGermanikus 79b89a0252 increase fanout 2023-07-20 09:31:59 +02:00
GroovieGermanikus 1fe7f23fc5 do proper shutdown 2023-07-20 09:31:58 +02:00