Bryan Stitt
|
5bec8bb5b9
|
much smarter connection logic
|
2022-12-05 14:11:56 -08:00 |
|
Bryan Stitt
|
40548bec4f
|
lower log level
|
2022-11-26 04:57:25 +00:00 |
|
Bryan Stitt
|
f09d836dfe
|
better weights
|
2022-11-25 07:41:53 +00:00 |
|
Bryan Stitt
|
4dfb7a5451
|
fix archive node detection when nodes used to be archive but than changed flags
|
2022-11-25 00:48:17 +00:00 |
|
Bryan Stitt
|
5b1621ead4
|
fix bug with not using synced_connections correctly
|
2022-11-22 22:45:22 +00:00 |
|
Bryan Stitt
|
2829ce7a7d
|
lint more
|
2022-11-16 07:19:56 +00:00 |
|
Bryan Stitt
|
ea5f791560
|
simple lock around database migrations
|
2022-11-14 18:24:52 +00:00 |
|
Bryan Stitt
|
0e1cf5767c
|
cut out tracing for now
|
2022-11-12 08:24:32 +00:00 |
|
Bryan Stitt
|
9ae2337d1d
|
thread fast rng
|
2022-11-12 06:11:58 +00:00 |
|
Bryan Stitt
|
c35dd96cfb
|
save rpc_key_id or origin. needs some testing
|
2022-11-11 06:19:14 +00:00 |
|
Bryan Stitt
|
c33342d9dd
|
simplify authorization types so we can pass them deeper easily
|
2022-11-11 06:19:12 +00:00 |
|
Bryan Stitt
|
e01f8505fd
|
log params too
i'm not sure we want this, but maybe
|
2022-11-07 22:25:52 +00:00 |
|
Bryan Stitt
|
8b35bf5e63
|
clean up migration
|
2022-11-01 18:54:39 +00:00 |
|
Bryan Stitt
|
366f2c8f84
|
rename api_key to rpc_key
|
2022-10-27 00:12:42 +00:00 |
|
Bryan Stitt
|
76c8f1ef96
|
i think it works
|
2022-10-11 21:31:34 +00:00 |
|
Bryan Stitt
|
25aa68a5bf
|
add per-user rpc accounting
|
2022-10-10 04:15:49 +00:00 |
|
Bryan Stitt
|
2c69b0ce9a
|
fix method and param for saving reverts
|
2022-09-24 07:36:25 +00:00 |
|
Bryan Stitt
|
a80503ac48
|
better logging on save reverts checks
|
2022-09-24 07:04:11 +00:00 |
|
Bryan Stitt
|
5df2469d53
|
ULID or UUID. Prefer ULID
|
2022-09-24 05:53:45 +00:00 |
|
Bryan Stitt
|
8459dcd1f1
|
let the frontend handle their own cookies
|
2022-09-24 02:47:44 +00:00 |
|
Bryan Stitt
|
961ccf7cf2
|
ip, origin, referer, and user agent checks
|
2022-09-23 05:22:33 +00:00 |
|
Bryan Stitt
|
d55aea2d98
|
even flatter
|
2022-09-22 22:42:44 +00:00 |
|
Bryan Stitt
|
7f7be6aa69
|
flatter
|
2022-09-22 22:34:43 +00:00 |
|
Bryan Stitt
|
987ed181cd
|
comments
|
2022-09-22 22:16:28 +00:00 |
|
Bryan Stitt
|
6d23071640
|
less clones, but still some
|
2022-09-22 22:14:24 +00:00 |
|
Bryan Stitt
|
8d011e0cd1
|
pass db conn through
|
2022-09-22 22:10:28 +00:00 |
|
Bryan Stitt
|
3854312674
|
we need to clone :'(
|
2022-09-22 21:51:52 +00:00 |
|
Bryan Stitt
|
2ed2408ed3
|
even more authorized_request
|
2022-09-22 21:04:03 +00:00 |
|
Bryan Stitt
|
6905e9fd46
|
create a struct for authenticated requests that we need for per-key stats
|
2022-09-22 19:57:21 +00:00 |
|
Bryan Stitt
|
8481f6d44c
|
wip
|
2022-09-21 23:50:55 +00:00 |
|
Bryan Stitt
|
37a1aa554b
|
revert error saving and extract blockHash from requests
|
2022-09-21 04:48:21 +00:00 |
|
Bryan Stitt
|
6054c3f340
|
we do need fetch_sub
|
2022-09-21 02:48:02 +00:00 |
|
Bryan Stitt
|
abe5001792
|
atomic and less expires
|
2022-09-20 06:56:24 +00:00 |
|
Bryan Stitt
|
739947792a
|
instrument more. add max_wait to wait_for_request_handle
|
2022-09-20 06:00:27 +00:00 |
|
Bryan Stitt
|
31227d8c0c
|
drop in flight. throughput is enough
|
2022-09-14 07:08:48 +00:00 |
|
Bryan Stitt
|
a5ccec76c7
|
silence some warnings and make private rpcs an option
|
2022-09-14 04:27:18 +00:00 |
|
Bryan Stitt
|
501f2b0b24
|
improve logging
|
2022-09-10 00:58:33 +00:00 |
|
Bryan Stitt
|
879c6e49f2
|
dry errors so that rate limits dont log so much
|
2022-09-10 00:12:14 +00:00 |
|
Bryan Stitt
|
c8da98d12e
|
even more metrics
|
2022-09-09 03:53:16 +00:00 |
|
Bryan Stitt
|
cae034afb3
|
better metrics and spawn
|
2022-09-08 21:01:36 +00:00 |
|
Bryan Stitt
|
5eef5173a1
|
disable redis rate limits
|
2022-09-06 22:55:17 +00:00 |
|
Bryan Stitt
|
c34e8ef383
|
improve rate limiting and request counters
|
2022-09-06 20:13:07 +00:00 |
|
Bryan Stitt
|
068c05cf4f
|
improve fork logic again
|
2022-09-05 16:25:21 +00:00 |
|
Bryan Stitt
|
e5e137f76c
|
fix deadlock
|
2022-08-30 20:01:42 +00:00 |
|
Bryan Stitt
|
04dc716250
|
move more things into their own files
|
2022-08-24 00:59:05 +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 |
|