Commit Graph

1165 Commits

Author SHA1 Message Date
Bryan Stitt
afd25649fb add config.rs 2022-05-03 03:36:02 +00:00
Bryan Stitt
505a594fcf just erigon for now 2022-05-03 03:10:16 +00:00
Bryan Stitt
79507c92cb arcswap again 2022-05-02 21:35:49 +00:00
Bryan Stitt
14381c55c6 less verbose logs 2022-05-02 20:40:16 +00:00
Bryan Stitt
b47482298c first pass at less sturcts 2022-05-02 20:32:55 +00:00
Bryan Stitt
d1af945de2 get rid of unnecessary box 2022-04-29 22:56:22 +00:00
Bryan Stitt
2928265c84 remove comment 2022-04-29 22:24:33 +00:00
Bryan Stitt
70a4300542 sort be percents 2022-04-29 22:21:40 +00:00
Bryan Stitt
e350f33616 more private rpcs 2022-04-29 20:22:01 +00:00
Bryan Stitt
4eeacbb30c fix where we sort and lock less 2022-04-29 19:51:32 +00:00
Bryan Stitt
e8cc27bd37 more structs 2022-04-29 19:22:59 +00:00
Bryan Stitt
e5e7d37f20 RawValues 2022-04-29 16:03:11 +00:00
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