Commit Graph

1929 Commits

Author SHA1 Message Date
Bryan Stitt
e4637866aa more chains 2022-05-05 22:21:27 +00:00
Bryan Stitt
97b4e9f800 allow connections to fail 2022-05-05 21:38:15 +00:00
Bryan Stitt
b79a050fd4 use argh for config 2022-05-05 21:25:40 +00:00
Bryan Stitt
89ced9b152 quick lru cache 2022-05-05 19:07:09 +00:00
Bryan Stitt
bc91bd1c6f first pass at caching
i'm confused. i had it over 100k connections on friday, but now even when i go back to those commits, i can't get that high
2022-05-05 19:06:03 +00:00
Bryan Stitt
70ffa51c2f upgrades 2022-05-04 06:06:34 +00:00
Bryan Stitt
43735163c9 update soft limit 2022-05-04 05:50:17 +00:00
Bryan Stitt
3b1ed9474c it works, but this refactor ended up a lot slower 2022-05-04 05:49:12 +00:00
Bryan Stitt
24cdc0e7c1 update todo 2022-05-03 05:22:07 +00:00
Bryan Stitt
b9f4a9437d fetch blocks once 2022-05-03 05:20:11 +00:00
Bryan Stitt
5a9bcd5dc3 flume seems faster 2022-05-03 05:13:53 +00:00
Bryan Stitt
0d5424cf7d add prod config 2022-05-03 04:29:10 +00:00
Bryan Stitt
658a39901f smaller test config 2022-05-03 04:29:00 +00:00
Bryan Stitt
651494a278 toml config 2022-05-03 04:02:52 +00:00
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