Bryan Stitt
a0ee96da6d
change from and to block just to sanitize the block numbers
2023-11-23 01:02:15 -04:00
Bryan Stitt
4e520bf842
disable unused health check code (for now)
2023-11-23 00:35:31 -04:00
Bryan Stitt
08e03f19c9
remove unnecessary yield_now
2023-11-23 00:34:47 -04:00
Bryan Stitt
fd3b582422
todo
2023-11-23 00:24:54 -04:00
Bryan Stitt
10dd616d31
rename Web3ProxyBlock to BlockHeader
2023-11-23 00:17:46 -04:00
Bryan Stitt
503a58f47a
instead of multiple atomics, do one mutex
2023-11-22 23:54:44 -04:00
Bryan Stitt
1d34e5b56b
just check max_lag_block_number
2023-11-22 22:40:51 -04:00
Bryan Stitt
39f5fb2628
use an app-level semaphore to limit tx subscriptions ( #238 )
...
* use an app-level semaphore to limit tx subscriptions
* acquire permit in spawned future or it blocks the rest of subscribe
---------
Co-authored-by: Rory Neithinger <rory@llamanodes.com>
2023-11-22 22:33:39 -04:00
Bryan Stitt
2ede2a1801
temporarily disable detailed_healthcheck
2023-11-22 18:32:34 -04:00
Bryan Stitt
4fe4dab385
skip biased semaphore
2023-11-21 23:53:16 -04:00
Bryan Stitt
930fcc83bd
save the db less often
2023-11-21 23:45:57 -04:00
Bryan Stitt
2544e3608d
simpler Debug impl
2023-11-21 23:39:40 -04:00
Bryan Stitt
be03d6f4f0
explicit eth_blockNumber
2023-11-21 23:21:03 -04:00
Bryan Stitt
a993ff60a1
add internal_bearer_token to config
2023-11-18 22:45:55 -05:00
Bryan Stitt
899ba450c7
more error data
2023-11-14 16:26:44 -08:00
Bryan Stitt
3159844f5d
more detailed errors for timeouts and other things
2023-11-14 16:22:54 -08:00
Bryan Stitt
9f2d4aa731
wip. different message if not premium
2023-11-14 16:03:28 -08:00
Bryan Stitt
bfef7a3eb0
well that option wasnt as clean as i wanted
2023-11-14 16:03:28 -08:00
Bryan Stitt
bbeff03452
wip
2023-11-14 16:03:28 -08:00
Bryan Stitt
a01038eb3d
optional block more places
2023-11-14 15:10:11 -08:00
Bryan Stitt
c4afad5b49
call add_response for internal requests
2023-11-14 14:32:39 -08:00
Bryan Stitt
c2514fa528
CacheMode::Never instead of filling in head block
2023-11-14 14:11:28 -08:00
Bryan Stitt
8ebce901d4
dont set head_block inside internal_request
2023-11-14 14:05:23 -08:00
Bryan Stitt
a1aa63fe55
more SeqCst
2023-11-14 13:56:18 -08:00
Bryan Stitt
a501a2d2fa
MissedTickBehavior::Delay everywhere
2023-11-14 13:50:11 -08:00
Bryan Stitt
ed0b74f186
1.43.88
2023-11-09 18:21:32 -08:00
Bryan Stitt
02c73a8925
more lint
2023-11-09 18:21:32 -08:00
Bryan Stitt
475fe22f4c
Merge remote-tracking branch 'origin/fwd-request-id' into devel
2023-11-09 17:41:13 -08:00
Bryan Stitt
429cfe04d0
with_state instead of Extension
2023-11-09 17:40:48 -08:00
Rory Neithinger
d9649d7d9e
Merge branch 'devel' of github.com:llamanodes/web3-proxy into fwd-request-id
2023-11-09 17:04:20 -08:00
Rory Neithinger
9ea712dfd0
always use x-amzn-trace-id even if not ulid
2023-11-09 16:53:25 -08:00
Bryan Stitt
b0d7af63c0
only replace latest once
2023-11-08 16:01:39 -08:00
Bryan Stitt
63ddd9c0af
do rpc head and ranked rpc sending closer together
2023-11-08 15:34:26 -08:00
Bryan Stitt
a0e586dac2
more SeqCst
2023-11-08 15:19:36 -08:00
Bryan Stitt
e0d1d4b517
premium timeout 295. public 60
2023-11-08 11:45:49 -08:00
Bryan Stitt
6c8d11c005
skip some wallet_ methods
2023-11-08 11:16:38 -08:00
Bryan Stitt
c22640d3f2
SeqCst
2023-11-08 10:49:40 -08:00
Rory Neithinger
515d0af751
forward request id for eth_sendRawTransaction
...
currently looking into a single test case failure which may be due to
this change.
2023-11-07 00:57:30 -08:00
Bryan Stitt
17c21bd3b9
MissedTickBehavior::Delay
2023-11-06 17:48:55 -08:00
Bryan Stitt
dbd19d08d4
log more if no ranked rpcs found
2023-11-06 10:34:15 -08:00
Bryan Stitt
a4400bbd40
stricter ordering. refs #210
2023-11-06 10:06:32 -08:00
Bryan Stitt
4823a282b1
default empty vec
2023-11-03 16:38:01 -07:00
Bryan Stitt
0e58641676
start script for after the frontend starts
2023-11-03 16:11:21 -07:00
Bryan Stitt
efc06f8ae6
optional external script during graceful shutdown
2023-11-03 16:00:55 -07:00
Bryan Stitt
4ef66d1c5d
fix some error status codes and link to discord
2023-11-03 12:26:47 -07:00
Bryan Stitt
9b6cf32faa
error if block range is >200k
2023-11-03 11:51:02 -07:00
Bryan Stitt
5a642d3086
cache getBlockByNumber better
2023-11-03 11:16:49 -07:00
Bryan Stitt
ff14045b64
make checking block data optional
...
this is needed so that private/bundler rpcs can send requests
2023-11-01 22:55:28 -07:00
Bryan Stitt
971f690d4f
from_rpcs never returns None
2023-11-01 22:45:32 -07:00
Bryan Stitt
53b4eacaa7
only check if we have block if we subscribe
2023-11-01 22:45:20 -07:00