Bryan Stitt
dce3540ee3
less authorization and remove pending txs for now
2023-07-13 11:01:16 -07:00
Bryan Stitt
0f7e370c92
drop flume. just use tokio
...
i dont know if this is the problem, but this will also get compile times down
2023-07-10 23:08:06 -07:00
Bryan Stitt
2ea53cc396
could not get block from params should be error level
2023-07-09 22:52:29 -07:00
Bryan Stitt
b476a56ad6
check for U64 instead of just BlockNumber
...
i thouht block number would be smart enough to deserialize, but it seems like not
2023-07-07 15:28:24 -07:00
Bryan Stitt
512bcf305b
lint
2023-07-07 14:06:35 -07:00
Bryan Stitt
f6fea1541b
this is warn, not an error
2023-07-07 12:21:25 -07:00
Bryan Stitt
0e3fdfa0ea
cache eth_getLogs fromBlock properly
2023-07-05 23:13:42 -07:00
Bryan Stitt
357701bccc
no need to check the caches, we have latest block
2023-06-29 00:06:58 -07:00
Bryan Stitt
ebceb0d7d6
descriptive text on NotImplemented errors
2023-06-28 21:47:06 -07:00
Bryan Stitt
d0e77237fa
raise log level
2023-06-28 21:38:57 -07:00
Bryan Stitt
fba41b9bc2
lots of tracing improvements
2023-06-28 21:30:00 -07:00
Bryan Stitt
e8d992168c
more logs and retries
2023-06-28 18:36:17 -07:00
Bryan Stitt
3cfbc5baa4
improve cache keys and allow failures while parsing params
2023-06-28 17:42:49 -07:00
Bryan Stitt
df865292a7
add another layer of retries
2023-06-28 15:12:16 -07:00
Bryan Stitt
fd661689a3
Tracing ( #144 )
...
* tracing
* add tracing and features to match
* use just one hostname crate
* cargo upgrade
* set up pretty logger and sentry layer
2023-06-23 16:28:45 -07:00
Bryan Stitt
3c2f95de10
Improve max wait and timeouts ( #137 )
...
* pass max wait with more functions
* move rpc_head_str higher up to use it in all the logs
* refresh consensus at double the block time
* new pricing that also includes archive check
* lint
* don't clone method
* put caches into one list
they serialize with their name, so it will still be easy to tell them apart
* more consistent waiting. still waits more than I want right now
* clean up default max waits
* more timeouts
2023-06-20 14:22:14 -07:00
Bryan Stitt
d64761403b
Cow instead of String
2023-05-30 23:17:05 -07:00
Bryan Stitt
fd8bba4bdd
most of these are for the whole app, not just the frontend
2023-05-30 21:26:11 -07:00
Bryan Stitt
cebe8ed1ea
Request refactor ( #99 )
...
* wip
* AsRef finally works like i wanted
* actually return the block
* start adding async trait
* remove stale import
* include id in the error response when possible
* remove stale comments
2023-05-30 16:32:34 -07:00
Bryan Stitt
56fdf48129
Send transactions to protected and public rpcs ( #57 )
...
* move protected transactions into their own function and dry stats sending
* cargo upgrade
* comments
* time to live instead of time to idle
* minor workaround for eth_chainId
* cargo upgrade
2023-04-24 11:00:12 -07:00
Rory Neithinger
ffdf25787f
Merge branch 'stats_v3' of github.com:yenicelik/web3-proxy into Web3ProxyError
2023-03-31 23:23:30 -07:00
Rory Neithinger
beac7ee017
better error handling for proxy_web3_rpc()
2023-03-19 18:52:28 -07:00
Bryan Stitt
b480e92259
don't panic if param is not set
2023-03-09 09:32:30 -08:00
Bryan Stitt
6067369ee3
add inotify and rpc disconnect
2023-02-27 12:50:57 -08:00
Bryan Stitt
475e521918
cache getLogs with blockhash
2023-02-26 23:08:00 -08:00
Bryan Stitt
580965ef83
get instead of remove
2023-02-24 23:31:10 -08:00
Bryan Stitt
824a6fa1f0
well it compiles. doesnt work yet. but it compiles
2023-02-14 12:14:50 -08:00
Bryan Stitt
c008f50943
use http and ws providers in a single config
2023-02-12 01:40:01 -08:00
Bryan Stitt
f1bc00082a
include to_block more places
2023-02-10 20:45:57 -08:00
Bryan Stitt
0f280ce483
cargo upgrade and shorten variable names
...
also begin adding a latency tracker for rpc stats
2023-02-06 09:55:27 -08:00
Bryan Stitt
0fcff5947a
one more take
2023-01-31 11:05:29 -08:00
Bryan Stitt
a76a45f63a
clone instead of take
2023-01-31 09:47:19 -08:00
Bryan Stitt
8bcf40b62d
Revert "Revert "include from_block and to_block for caching getLogs""
...
This reverts commit 13bab2c9cfcc09f8d503ff24f6e2c2a3fc0faaa2.
2023-01-31 08:30:24 -08:00
Bryan Stitt
13bab2c9cf
Revert "include from_block and to_block for caching getLogs"
...
This reverts commit 203969f62833668c4081acbb2188989fd6545c24.
2023-01-31 08:30:11 -08:00
Bryan Stitt
203969f628
include from_block and to_block for caching getLogs
2023-01-30 15:47:17 -08:00
Bryan Stitt
4a837b35cc
improve eth_sendRawTransaction
2022-12-23 17:35:35 -08:00
Bryan Stitt
ce1b0da1e3
fix off by one error
2022-12-23 16:15:48 -08:00
Bryan Stitt
f27c764a07
more logs
2022-12-19 15:59:01 -08:00
Bryan Stitt
2a19d9791b
more logging
2022-12-19 13:53:38 -08:00
Bryan Stitt
f04905698a
improve request caching
2022-12-16 20:05:01 -08:00
Bryan Stitt
1f3afca069
add support for eth_getBlockReceipts
2022-11-26 03:53:30 +00:00
Bryan Stitt
0e1cf5767c
cut out tracing for now
2022-11-12 08:24:32 +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
a534eae968
trace everything
2022-10-28 22:52:47 +00:00
Bryan Stitt
0c3194f445
upgrades and todo cleanup
2022-10-26 22:38:04 +00:00
Bryan Stitt
a7b5f25467
unwrap less
2022-09-30 04:18:18 +00:00
Bryan Stitt
43846a7051
pass authorized_request through a bunch of places
2022-09-22 20:27:14 +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
501f2b0b24
improve logging
2022-09-10 00:58:33 +00:00