Commit Graph

794 Commits

Author SHA1 Message Date
Bryan Stitt
93fe878748 more use login things 2022-08-27 05:42:25 +00:00
Bryan Stitt
5e239c05c8 add min_sum_soft_limit to config 2022-08-27 03:13:23 +00:00
Bryan Stitt
8703532ed7 better logs and minor cleanup 2022-08-27 02:14:53 +00:00
Bryan Stitt
9fabb8e1e1 add min_synced_rpcs to config 2022-08-27 00:33:45 +00:00
Bryan Stitt
4c0db2d4ff move todo 2022-08-27 00:19:49 +00:00
Bryan Stitt
5719397466 i think it works 2022-08-26 23:44:25 +00:00
Bryan Stitt
81254a24be wip 2022-08-26 17:26:17 +00:00
Bryan Stitt
101104ac5d upgrade 2022-08-26 05:26:27 +00:00
Bryan Stitt
04dc716250 move more things into their own files 2022-08-24 00:59:05 +00:00
Bryan Stitt
72312a686b names instead of urls
urls might have secrets in them, and we dont want those in logs
2022-08-24 00:32:16 +00:00
Bryan Stitt
59eb9a889f rename and lints 2022-08-24 00:14:49 +00:00
Bryan Stitt
2cc1b8e297 even more files 2022-08-24 00:11:49 +00:00
Bryan Stitt
4d357977e9 split Web3Connections across multiple files 2022-08-23 23:56:47 +00:00
Bryan Stitt
3496c828b8 rearrange code 2022-08-23 23:13:56 +00:00
Bryan Stitt
8a49128eec comments 2022-08-23 20:50:59 +00:00
Bryan Stitt
31d30b0eed use an enum and database roles for auth checks 2022-08-23 20:42:58 +00:00
Bryan Stitt
e65edc7795 add stub verify_auth_token function 2022-08-23 19:08:47 +00:00
Bryan Stitt
8f5e4a200e create bearer and save bearer separately 2022-08-23 18:56:19 +00:00
Bryan Stitt
0ca7b828b3 check ip rate limit on user post 2022-08-23 18:53:14 +00:00
Bryan Stitt
2989b7e91c dry redis connections and use bearer tokens 2022-08-23 18:48:27 +00:00
Bryan Stitt
94bc6fef8c remove unnecessary enum and try_into 2022-08-21 09:47:38 +00:00
Bryan Stitt
bda666eb6c delete unused code after the rate limit refactor 2022-08-21 09:44:53 +00:00
Bryan Stitt
b16aa8d813 dry rate_limit_by_x 2022-08-21 09:39:38 +00:00
Bryan Stitt
748674fe7a forgot to git add this 2022-08-21 08:30:49 +00:00
Bryan Stitt
634dc5572d upgrade 2022-08-21 08:30:43 +00:00
Bryan Stitt
5af834d710 it compiles 2022-08-21 08:27:52 +00:00
Bryan Stitt
d9be55f83e move no unwrap todo to v1 2022-08-19 21:09:03 +00:00
Bryan Stitt
9a2fe46105 multiple ways to sign 2022-08-19 20:18:12 +00:00
Bryan Stitt
23e5e2c777 more todos 2022-08-19 20:15:11 +00:00
Bryan Stitt
b94cb7382d upgrade deps 2022-08-19 20:13:36 +00:00
Bryan Stitt
f06304e202 temp fix for routing to eth_getTransactionByHash and eth_getTransactionReceipt 2022-08-17 22:19:34 +00:00
Bryan Stitt
2963aa153b and remove old import 2022-08-17 21:43:15 +00:00
Bryan Stitt
bac86e4729 drop NX arg. elasticache doesnt like it 2022-08-17 21:42:45 +00:00
Bryan Stitt
29731412ea user login almost done 2022-08-16 23:05:23 +00:00
Bryan Stitt
115657e97c half the login page and better error handling 2022-08-16 22:52:12 +00:00
Bryan Stitt
0ccda2f40b it compiles 2022-08-16 21:43:39 +00:00
Bryan Stitt
a61af53117 cache api keys that are not in the database 2022-08-16 21:10:09 +00:00
Bryan Stitt
4c66bc32d7 polish docs 2022-08-16 21:10:03 +00:00
Bryan Stitt
305d89ddf4 error refactor for user endpoints 2022-08-16 19:29:00 +00:00
Bryan Stitt
8ebe7000ad Address, not String 2022-08-16 17:56:22 +00:00
Bryan Stitt
d82fae161f use rpm flag when creating a user 2022-08-16 17:47:04 +00:00
Bryan Stitt
5c95338573 part of the command got deleted 2022-08-16 17:14:47 +00:00
Bryan Stitt
4bb70d38b9 add todo from issue #2 2022-08-16 05:20:26 +00:00
Bryan Stitt
bc0a817259 polish todo list 2022-08-16 05:13:19 +00:00
Bryan Stitt
1ea94bc1d0 setup volatile redis 2022-08-16 05:00:29 +00:00
Bryan Stitt
d822c607d9 instrument with spans and allow skipping jsonrpc 2022-08-16 04:56:01 +00:00
Bryan Stitt
3b23ed1f8e tower-request-id 2022-08-16 00:33:26 +00:00
Bryan Stitt
e42737a7d2 missed these todos 2022-08-15 23:09:18 +00:00
Bryan Stitt
e8951cdb46 disable redis persistence in dev 2022-08-15 23:06:10 +00:00
Bryan Stitt
e9000d1f61 drop redis-cell in favor of simpler query 2022-08-15 22:50:56 +00:00