Commit Graph

76 Commits

Author SHA1 Message Date
Bryan Stitt
5fb3298cd0 survive an rpc being offline
i still want retries on some of these
2022-07-19 04:21:32 +00:00
Bryan Stitt
75098d83b6 smarter archive routing 2022-07-19 01:31:12 +00:00
Bryan Stitt
dd0f7dbd5e fix block number format 2022-07-16 05:48:02 +00:00
Bryan Stitt
b87540d99d better archive split 2022-07-16 04:13:02 +00:00
Bryan Stitt
60e1b05965 use a match 2022-07-16 00:35:54 +00:00
Bryan Stitt
7e4675eefb comments 2022-07-16 00:14:08 +00:00
Bryan Stitt
3d7a7a72e9 add stub for transaction firewall 2022-07-13 23:25:01 +00:00
Bryan Stitt
d842006589 use the macro more 2022-07-09 02:37:58 +00:00
Bryan Stitt
91b9b65db5 fix hex in some responses 2022-07-09 02:33:57 +00:00
Bryan Stitt
58fa7af105 add is_archive_needed and a bunch of rpc commands 2022-07-09 02:23:26 +00:00
Bryan Stitt
efb651b837 better key 2022-07-09 00:02:04 +00:00
Bryan Stitt
89439d015f improve pooling more 2022-07-09 00:00:31 +00:00
Bryan Stitt
035680a203 big redis pool 2022-07-08 23:11:22 +00:00
Bryan Stitt
efee5c83fc improve redis connection pool 2022-07-08 23:02:32 +00:00
Bryan Stitt
df15353a83 per connection subscription id 2022-07-08 22:14:45 +00:00
Bryan Stitt
6fe58bafb4 use Value instead of RawValue so we can inspect and modify the request 2022-07-08 19:01:11 +00:00
Bryan Stitt
c8e62624cf allow ids in errors 2022-07-07 03:29:47 +00:00
Bryan Stitt
8cc2fab48e connection pooling 2022-07-07 03:22:09 +00:00
Bryan Stitt
f36ca5e702 getTransaction from the private rpcs 2022-06-30 00:52:04 +00:00
Bryan Stitt
afb3dde4b3 newPendingRawTransactions 2022-06-18 07:06:54 +00:00
Bryan Stitt
dd674bb900 only subscribe when someone is listening 2022-06-16 20:57:48 +00:00
Bryan Stitt
36bfd4bdcc pass more handles around 2022-06-16 17:51:49 +00:00
Bryan Stitt
4ca292c3e1 getting closer 2022-06-16 02:53:37 +00:00
Bryan Stitt
3d3e0c8c8b it works, but we need it to be optional 2022-06-14 22:02:18 +00:00
Bryan Stitt
a5e324a692 newPendingTransactions 2022-06-14 07:13:42 +00:00
Bryan Stitt
fb6a1bb9d7 block a bunch of commands 2022-06-14 06:54:37 +00:00
Bryan Stitt
1ecd852401 simple cache 2022-06-14 06:42:52 +00:00
Bryan Stitt
d75a60a09f wip 2022-06-14 06:09:56 +00:00
Bryan Stitt
1bef6756eb getting closer 2022-06-14 05:43:28 +00:00
Bryan Stitt
2e559f3063 transaction subscription getting closer 2022-06-14 04:04:14 +00:00
Bryan Stitt
ea923c99c6 comment 2022-06-05 22:44:25 +00:00
Bryan Stitt
2243cacf70 new heads subscription works 2022-06-05 22:39:44 +00:00
Bryan Stitt
3abfeaab0b fix id 2022-06-05 20:39:58 +00:00
Bryan Stitt
18a2d72b2c get instead of to_string 2022-06-05 20:26:27 +00:00
Bryan Stitt
a6a238fff2 handle binary and text messages 2022-05-31 01:55:04 +00:00
Bryan Stitt
45fd1b2ff1 automatic subscription id 2022-05-30 18:51:19 +00:00
Bryan Stitt
2c478e8b61 proper result 2022-05-30 18:23:55 +00:00
Bryan Stitt
09db979ba3 subscriptions getting closer 2022-05-30 04:30:13 +00:00
Bryan Stitt
57f0993852 closer websocket (not yet working) 2022-05-30 01:28:22 +00:00
Bryan Stitt
1945a353dd more websockets (still under construction)
also actually change data when fork is detected
2022-05-29 19:35:17 +00:00
Bryan Stitt
0387492df8 add websocket server 2022-05-29 17:28:41 +00:00
Bryan Stitt
d8c8e6591d refactor 2022-05-29 01:23:58 +00:00
Bryan Stitt
07fbd3c71d todos 2022-05-28 18:45:45 +00:00
Bryan Stitt
588a6c7924 flatten transaction sending (untested) 2022-05-28 04:26:24 +00:00
Bryan Stitt
6e5b11be8f flatten cache code 2022-05-22 18:39:06 +00:00
Bryan Stitt
8aacd84955 move error handling into a function 2022-05-22 18:11:42 +00:00
Bryan Stitt
8a2535da74 move cache helper in preparation for larger refactor 2022-05-22 04:22:30 +00:00
Bryan Stitt
2b4a2c3cad use redis-cell instead of governor 2022-05-21 23:34:05 +00:00
Bryan Stitt
307062d8d2 basic status page 2022-05-20 22:16:15 +00:00
Bryan Stitt
0ef728df93 axum and compact logs 2022-05-20 05:27:18 +00:00