Commit Graph

40 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
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
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
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
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
7afc0141a6 better comment 2022-03-24 14:08:40 -07:00
Bryan Stitt
511d348f7f add print of port 2022-03-04 21:01:45 -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
28a99fd6ea initial commit 2022-03-04 19:46:57 -08:00