Bryan Stitt
|
ed5ca0575c
|
logging improvements
|
2023-04-10 16:05:53 -07:00 |
|
Bryan Stitt
|
29c015508a
|
fix warnings in cargo doc
|
2023-04-10 15:06:40 -07:00 |
|
Bryan Stitt
|
7994c894bb
|
cargo clippy and fmt
|
2023-04-05 15:15:20 -07:00 |
|
Bryan Stitt
|
1a160a8c7d
|
Merge remote-tracking branch 'rorytrent/Web3ProxyError' into devel
|
2023-04-05 15:08:57 -07:00 |
|
yenicelik
|
0069e76040
|
latest changes from bryan
|
2023-04-04 14:40:22 +02:00 |
|
Rory Neithinger
|
f0d8a0c8c9
|
Merge branch 'stats_v3' of github.com:yenicelik/web3-proxy into Web3ProxyError
|
2023-04-01 00:04:44 -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 |
|
yenicelik
|
0bb3a2dc06
|
simple changes around bryans comments
|
2023-03-31 12:43:41 +01:00 |
|
yenicelik
|
345fa6c513
|
git status
|
2023-03-30 13:42:56 +01:00 |
|
yenicelik
|
05463c7ee5
|
migration seems to work for the most part
|
2023-03-30 12:54:01 +01:00 |
|
yenicelik
|
53c7541fed
|
seems to wait until everything is flushed. I will have to debug some stuff that isnt saved properly in the mysql (and then check influx)
|
2023-03-25 17:56:45 +01:00 |
|
Bryan Stitt
|
86b4f39a75
|
string hostname
|
2023-03-22 15:36:40 -07:00 |
|
Bryan Stitt
|
c0afc295ca
|
add hostname to status
|
2023-03-22 15:18:54 -07:00 |
|
Rory Neithinger
|
b012f18b2b
|
Merge branch 'stats_v3' of github.com:yenicelik/web3-proxy into Web3ProxyError
|
2023-03-21 22:40:39 -07:00 |
|
Rory Neithinger
|
fe2a760c8a
|
more conversions to Web3ProxyError
|
2023-03-20 13:45:21 -07:00 |
|
Rory Neithinger
|
847e961eb0
|
remove more anyhows from app module
the only ones left should be in the top level spawn functions.
|
2023-03-20 13:07:24 -07:00 |
|
Rory Neithinger
|
1493d73386
|
better error handling for ws
|
2023-03-19 19:14:46 -07:00 |
|
Rory Neithinger
|
beac7ee017
|
better error handling for proxy_web3_rpc()
|
2023-03-19 18:52:28 -07:00 |
|
Rory Neithinger
|
f3fc4924dc
|
Refactor FrontendErrorResponse into Web3ProxyError
Renamed FrontendResponse to Web3ProxyResponse and introduced
a new generic type alias Web3ProxyResult.
Fixed a few noisy cargo warnings.
|
2023-03-16 22:21:20 -07:00 |
|
yenicelik
|
8c8c183e65
|
trying to debug returning multiple files
|
2023-03-10 20:26:15 +01:00 |
|
Bryan Stitt
|
b480e92259
|
don't panic if param is not set
|
2023-03-09 09:32:30 -08:00 |
|
Bryan Stitt
|
eb4d05a520
|
stats v2
rebased all my commits and squashed them down to one
|
2023-03-04 20:48:49 +01:00 |
|
Bryan Stitt
|
4c18657387
|
more kafka things
|
2023-03-03 06:58:45 -08:00 |
|
Bryan Stitt
|
2eb8df22ec
|
kafka helper script
|
2023-03-03 02:54:52 -08:00 |
|
Bryan Stitt
|
cbdd6d7c1e
|
oops. didn't mean to commit this script yet
|
2023-03-02 21:12:35 -08:00 |
|
Bryan Stitt
|
3098791ad9
|
add optional kafka feature
|
2023-03-03 01:39:50 +00:00 |
|
Bryan Stitt
|
499d50b5fc
|
handle empty private_rpcs
|
2023-03-01 23:21:09 +00:00 |
|
Bryan Stitt
|
f68886fafd
|
add simple test for all connections and include more rpcs
|
2023-03-01 22:32:01 +00:00 |
|
Bryan Stitt
|
d83a1f0169
|
use Web3Rpc instead of the name as a key
|
2023-02-28 11:01:34 -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
|
f8f5e7a1c8
|
add thread for config file watching and run clippy lint
|
2023-02-26 23:08:00 -08:00 |
|
Bryan Stitt
|
e96f09a9c4
|
refactors to make configs partially reloadable
|
2023-02-25 23:52:33 -08:00 |
|
Bryan Stitt
|
c9e5661c5b
|
wip
|
2023-02-25 09:55:28 -08:00 |
|
Bryan Stitt
|
0ab7738393
|
per-chain rpc rate limits
|
2023-02-21 21:10:23 -08:00 |
|
Bryan Stitt
|
f2cfe2956a
|
the macro is easier
|
2023-02-15 21:19:24 -08:00 |
|
Bryan Stitt
|
02bada3006
|
properly encode number responses as hex
|
2023-02-15 21:16:33 -08:00 |
|
Bryan Stitt
|
df668a5dfd
|
add time to idle to more caches
|
2023-02-15 11:42:25 -08:00 |
|
Bryan Stitt
|
c65ffc9ce0
|
getting close
|
2023-02-14 17:41:40 -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
|
c959110986
|
better sorting of connections
|
2023-02-10 20:24:20 -08:00 |
|
Bryan Stitt
|
4e63e69c97
|
actually use app.response_cache_max_bytes
|
2023-02-09 11:55:39 -08:00 |
|
Bryan Stitt
|
5ffe2aa72a
|
eth_sendRawTransactions should use backups more often
|
2023-02-09 11:47:56 -08:00 |
|
Bryan Stitt
|
ff4cb9abce
|
cargo upgrade
|
2023-02-08 11:11:16 -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
|
f2d35ba5eb
|
remove metered in favor of influxdb stats
|
2023-02-05 18:17:26 -08:00 |
|
Bryan Stitt
|
6d959e2c1f
|
add archive depth to app config
|
2023-02-05 17:58:03 -08:00 |
|
Bryan Stitt
|
1d749ed33d
|
block all admin_ commands
|
2023-02-03 10:56:19 -08:00 |
|
Bryan Stitt
|
414501fb57
|
eth_pollSubscriptions is not supported
|
2023-02-01 14:02:53 -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
|
cffc60e7f6
|
improve responses when blocks are not available
|
2023-01-24 22:45:20 -08:00 |
|
Bryan Stitt
|
447cf90eed
|
jsonrpc instead of 500 errors
|
2023-01-24 08:07:10 -08:00 |
|
Bryan Stitt
|
a242244a35
|
broadcast transactions to more servers
|
2023-01-24 01:58:31 -08:00 |
|
Bryan Stitt
|
47daab3b67
|
drop log level for backup servers
|
2023-01-23 21:37:23 -08:00 |
|
Bryan Stitt
|
86e3f2991f
|
use watch instead of arcswap
|
2023-01-22 22:02:08 -08:00 |
|
Bryan Stitt
|
17d8ea0b7f
|
make free tier even better and improve migration locking
|
2023-01-19 21:28:33 -08:00 |
|
Bryan Stitt
|
2f8920085b
|
configurable gas buffer
|
2023-01-19 18:08:53 -08:00 |
|
Bryan Stitt
|
52a9ba604c
|
remove allowed lag
|
2023-01-19 03:05:39 -08:00 |
|
Bryan Stitt
|
0c05b5bdee
|
major refactor to only use backup servers when absolutely necessary
|
2023-01-19 02:20:06 -08:00 |
|
Bryan Stitt
|
e4b0d4b76d
|
todo comment
|
2023-01-18 16:21:15 -08:00 |
|
Bryan Stitt
|
90d3371eee
|
improved rate limiting on websockets
|
2023-01-18 16:17:47 -08:00 |
|
Bryan Stitt
|
e4a223732a
|
add APP_USER_AGENT to the status page
|
2023-01-17 20:18:18 -08:00 |
|
Bryan Stitt
|
d7c75f843e
|
add stub try_proxy_connection
|
2023-01-16 22:54:40 -08:00 |
|
Bryan Stitt
|
256cb5bd5d
|
more verbose error
|
2023-01-12 13:56:39 -08:00 |
|
Bryan Stitt
|
e4f1716f06
|
broadcast txs to less servers
|
2023-01-11 14:55:41 -08:00 |
|
Bryan Stitt
|
eb3fe0b1b5
|
start moving more stats from /status to /prometheus
|
2023-01-06 14:02:06 -08:00 |
|
Bryan Stitt
|
5be5128c93
|
partial refactor of allowed lag
|
2023-01-03 08:33:49 -08:00 |
|
Bryan Stitt
|
80dfe8b7f2
|
count users script and stat
|
2023-01-02 17:06:36 -08:00 |
|
Bryan Stitt
|
5d368bfd1d
|
rolling counts for a week
|
2023-01-02 16:34:32 -08:00 |
|
Bryan Stitt
|
eaea79c055
|
fix missing import
|
2023-01-02 10:44:36 -08:00 |
|
Bryan Stitt
|
206d339d45
|
all_backend_connections skips syncing servers
|
2023-01-02 10:34:16 -08:00 |
|
Bryan Stitt
|
81c49d08cf
|
tx stats too
|
2022-12-28 22:21:09 -08:00 |
|
Bryan Stitt
|
68183c34c7
|
more stats and rate limit on user, not key
|
2022-12-28 13:50:40 -08:00 |
|
Bryan Stitt
|
3b1d6574e3
|
warn instead of exit on unknown fields
|
2022-12-28 08:36:22 -08:00 |
|
Bryan Stitt
|
516e130558
|
missing clone
|
2022-12-28 00:32:51 -08:00 |
|
Bryan Stitt
|
d9c01a59a3
|
salted recent ip tracking
|
2022-12-27 22:11:18 -08:00 |
|
Bryan Stitt
|
4a837b35cc
|
improve eth_sendRawTransaction
|
2022-12-23 17:35:35 -08:00 |
|
Bryan Stitt
|
95045ec78e
|
block eth_subscribe and eth_unsubscribe over http
|
2022-12-22 12:05:15 -08:00 |
|
Bryan Stitt
|
79075f9974
|
lowest log level for eth_sendRawTransaction
these are showing up in sentry with things like 'not enough funds'. its an error for the user to see, not us
|
2022-12-20 21:55:12 -08:00 |
|
Bryan Stitt
|
fc48f2469c
|
check db_replica_url being the same as db_url
|
2022-12-20 13:38:10 -08:00 |
|
Bryan Stitt
|
82eb449e96
|
add backend nodes to the rpc response headers
only do this in dev?
|
2022-12-19 21:37:12 -08:00 |
|
Bryan Stitt
|
f27c764a07
|
more logs
|
2022-12-19 15:59:01 -08:00 |
|
Bryan Stitt
|
f04905698a
|
improve request caching
|
2022-12-16 20:05:01 -08:00 |
|
Bryan Stitt
|
1465ee355c
|
add support for optional db replica
also add cleanup of expired login data
|
2022-12-16 00:48:24 -08:00 |
|
Bryan Stitt
|
1d438527e6
|
chain id needs to be a U64 so it turns to hex
|
2022-12-15 14:20:58 -08:00 |
|
Bryan Stitt
|
5fe88c6227
|
serve eth_chainId from config
|
2022-12-14 18:49:40 -08:00 |
|
Bryan Stitt
|
c47655d4ff
|
increase gas estimates mk.1
related to gh#5, but i don't think its a great fix
|
2022-12-14 11:03:47 -08:00 |
|
Bryan Stitt
|
081873e937
|
move pending logins to the database
|
2022-12-13 18:34:08 -08:00 |
|
Bryan Stitt
|
4c2d3634c5
|
default to less detailed stats
|
2022-12-11 20:39:54 -08:00 |
|
Bryan Stitt
|
86f6b16761
|
another pass at server selection
|
2022-12-07 22:54:38 -08:00 |
|
Bryan Stitt
|
dc5c944545
|
rename head_block_id to head_block
|
2022-12-05 14:38:54 -08:00 |
|
Bryan Stitt
|
f736aeb027
|
move config safty checks earlier
|
2022-12-04 17:25:23 -08:00 |
|
Bryan Stitt
|
eb4b487aae
|
better block saving
|
2022-12-02 21:31:03 -08:00 |
|
Bryan Stitt
|
4d18d50307
|
fix config item name
|
2022-11-29 22:30:35 +00:00 |
|
Bryan Stitt
|
bc49deb7a3
|
template needs two curly braces
|
2022-11-29 21:29:34 +00:00 |
|
Bryan Stitt
|
ff3c5de0aa
|
start adding user_export and user_import scripts
|
2022-11-21 22:52:47 +00:00 |
|