Commit Graph

53 Commits

Author SHA1 Message Date
Bryan Stitt
1669c15a32 minor improvement 2022-04-29 02:22:54 +00:00
Bryan Stitt
7510db4989 faster 2022-04-29 01:57:16 +00:00
Bryan Stitt
2fef0e6acb no more dashmap. all atomics 2022-04-28 22:40:29 +00:00
Bryan Stitt
63428cad6b move rate limits 2022-04-28 22:03:26 +00:00
Bryan Stitt
bf03729f9b wow. it was slow because it was all the debug formatter 2022-04-28 21:13:55 +00:00
Bryan Stitt
d1da66194e fixes 2022-04-28 19:30:22 +00:00
Bryan Stitt
5c2e0dabc8 even better locking 2022-04-28 00:08:30 +00:00
Bryan Stitt
302ff8a252 it works, but locking needs improvements 2022-04-27 22:53:13 +00:00
Bryan Stitt
9e457154a3 sort on sync status 2022-04-27 20:02:51 +00:00
Bryan Stitt
2edf0cf4b3 cleanup stale TODOs 2022-04-27 06:14:35 +00:00
Bryan Stitt
8d68900fd4 more dashmap 2022-04-27 06:03:00 +00:00
Bryan Stitt
2feb5d213c better logs and only allow being 1 block behind 2022-04-27 05:51:22 +00:00
Bryan Stitt
570d11a987 better output 2022-04-27 05:17:52 +00:00
Bryan Stitt
0b5d2ca1cf track latest blocks 2022-04-27 04:36:11 +00:00
Bryan Stitt
d54196f868 pass block_watcher around 2022-04-27 01:25:01 +00:00
Bryan Stitt
83a460af82 more refactoring 2022-04-26 23:53:58 +00:00
Bryan Stitt
bbc2e8d3d7 more block watcher 2022-04-26 21:42:10 +00:00
Bryan Stitt
1af30a46d3 refactor 2022-04-26 20:33:37 +00:00
Bryan Stitt
4d3b851b2c decrement even if error 2022-04-26 17:03:38 +00:00
Bryan Stitt
a870dfa63a derive more 2022-04-26 16:50:02 +00:00
Bryan Stitt
1aa6b89fc4 comment 2022-04-26 16:46:32 +00:00
Bryan Stitt
131a265756 subscribe to new heads 2022-04-26 16:45:47 +00:00
Bryan Stitt
0f2dc169bd include websocket and logs 2022-04-26 07:16:16 +00:00
Bryan Stitt
234f7a6f70 better error handling 2022-04-26 07:10:13 +00:00
Bryan Stitt
710cef5da3 use channels to return early 2022-04-26 06:54:24 +00:00
Bryan Stitt
f8ff0370d2 block watching vs subscribing 2022-04-25 20:26:54 +00:00
Bryan Stitt
b16fbf090e subscribe instead of watch 2022-04-25 19:46:17 +00:00
Bryan Stitt
969bb32495 start using ethers-rs 2022-04-25 19:42:51 +00:00
Bryan Stitt
7705991b4c watch new heads 2022-04-25 19:14:10 +00:00
Bryan Stitt
ce4d92e40e comment cleanup 2022-04-25 01:30:55 +00:00
Bryan Stitt
978deb3582 add locks around sleeping 2022-04-25 01:26:23 +00:00
Bryan Stitt
25b61c0467 todo 2022-04-25 01:15:29 +00:00
Bryan Stitt
1a73be7cd2 sleep if all rate limits hit 2022-04-25 01:12:07 +00:00
Bryan Stitt
49ca541f2c start adding rate limits for loud rpcs 2022-04-24 22:36:51 +00:00
Bryan Stitt
daf6bed23a no let 2022-04-24 22:12:31 +00:00
Bryan Stitt
6f1d367776 better loops. (i think) 2022-04-24 21:54:29 +00:00
Bryan Stitt
7f14c32828 decrement connection counts 2022-04-24 19:55:13 +00:00
Bryan Stitt
f9be6a2ef1 parallel processing 2022-04-24 18:56:46 +00:00
Bryan Stitt
5a6467fa3f large improvements 2022-04-24 07:26:00 +00:00
Bryan Stitt
f64432226a add dockerfile with caches 2022-04-23 18:00:03 +00:00
Bryan Stitt
7afc0141a6 better comment 2022-03-24 14:08:40 -07:00
Bryan Stitt
485f22ceae Merge branch 'main' of github.com:SatoshiAndKin/web3-proxy 2022-03-04 21:01:53 -08:00
Bryan Stitt
511d348f7f add print of port 2022-03-04 21:01:45 -08:00
Bryan Stitt
1b50cb361c
Update README.md 2022-03-04 21:00:10 -08:00
Bryan Stitt
923c3803cf
Update README.md 2022-03-04 20:59:11 -08:00
Bryan Stitt
50d082c944 defaults 2022-03-04 20:51:38 -08:00
Bryan Stitt
a3098d52c1 add defaults 2022-03-04 20:45:50 -08:00
Bryan Stitt
3ad1424403
Update main.rs 2022-03-04 19:59:13 -08:00
Bryan Stitt
9c0f131843
Update README.md 2022-03-04 19:58:59 -08:00
Bryan Stitt
c9d7dc2940
Update README.md 2022-03-04 19:58:00 -08:00