Bryan Stitt
|
2b30422b84
|
fixes for NULL and UNIQUE to work together
|
2023-04-05 14:55:37 -07:00 |
|
Bryan Stitt
|
e90175c638
|
remove unused atomics
|
2023-04-05 14:37:59 -07:00 |
|
Bryan Stitt
|
09dacb45e2
|
remove stale comment
|
2023-04-05 14:37:48 -07:00 |
|
Bryan Stitt
|
2e934a41bf
|
cargo upgrade
|
2023-04-05 12:30:52 -07:00 |
|
Bryan Stitt
|
05db94177d
|
cargo fmt
|
2023-04-05 12:19:03 -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
|
7390bb7910
|
non-lossy data transfer
|
2023-03-26 15:53:17 +02:00 |
|
yenicelik
|
cef26e66cc
|
will create a PR for some feedback
|
2023-03-25 19:26:23 +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
|
2205a472fd
|
add optional tokio-console and improve reconnect logic
|
2023-03-22 18:43:13 -07:00 |
|
Bryan Stitt
|
7b223efa4d
|
improve reconnect logic
|
2023-03-22 16:16:15 -07:00 |
|
Bryan Stitt
|
86b4f39a75
|
string hostname
|
2023-03-22 15:36:40 -07:00 |
|
Bryan Stitt
|
b4ca0fb62d
|
better log when servers skipped
|
2023-03-22 15:19:09 -07:00 |
|
Bryan Stitt
|
c0afc295ca
|
add hostname to status
|
2023-03-22 15:18:54 -07:00 |
|
Bryan Stitt
|
a69737db98
|
serialize best_rpcs
|
2023-03-22 14:23:14 -07:00 |
|
Bryan Stitt
|
8eff48611c
|
more direct consensus finding code
this hopefully has less bugs. speed isn't super important since this isn't on the host path.
|
2023-03-22 13:10:15 -07:00 |
|
Bryan Stitt
|
9fae137e45
|
shorten log message
|
2023-03-22 02:06:26 -07:00 |
|
Rory Neithinger
|
e9c1d019fc
|
fix some incorrect error codes and log levels
|
2023-03-21 22:52:46 -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 |
|
Bryan Stitt
|
5465d927b4
|
remove a debug log
|
2023-03-21 21:22:16 -07:00 |
|
Bryan Stitt
|
d992bb2dc9
|
skip, don't error
|
2023-03-21 16:00:34 -07:00 |
|
yenicelik
|
1d72a3cd44
|
will continue after bryan response
|
2023-03-21 12:49:36 +01:00 |
|
yenicelik
|
64505102ef
|
creating a CLI endpoint for the migration
|
2023-03-21 12:07:21 +01:00 |
|
yenicelik
|
9beddc43a4
|
will get and inser some migration data
|
2023-03-21 10:11:35 +01:00 |
|
yenicelik
|
fbe97c12b2
|
will continue mtr
|
2023-03-20 22:00:49 +01: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
|
60c1a6d382
|
remove anyhow from rest of frontend module
|
2023-03-20 12:47:57 -07:00 |
|
Rory Neithinger
|
3479bf9d06
|
add context type which preserves status code
|
2023-03-20 11:38:54 -07:00 |
|
yenicelik
|
0a6ccf28b5
|
will continue with migration
|
2023-03-20 12:22:30 +01: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
|
c32d12b5e0
|
better error handling for ip_is_authorized()
|
2023-03-19 15:50:25 -07:00 |
|
yenicelik
|
c925ec9c27
|
about to merge stats into it
|
2023-03-18 10:15:21 +01: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
|
ca41cb5c9e
|
will push this for short review
|
2023-03-14 20:08:16 +01:00 |
|
yenicelik
|
65ca628cc7
|
will modify query so we can make queries more easily
|
2023-03-14 16:32:19 +01:00 |
|
yenicelik
|
9417961d78
|
for some reason values output is always zero
|
2023-03-12 16:09:20 +01:00 |
|
yenicelik
|
8c8c183e65
|
trying to debug returning multiple files
|
2023-03-10 20:26:15 +01:00 |
|
Bryan Stitt
|
b0c5d2b0eb
|
remove debugging headers
|
2023-03-10 09:45:55 -08:00 |
|
Bryan Stitt
|
684c37ef6c
|
cargo upgrade
|
2023-03-10 09:45:47 -08:00 |
|
Bryan Stitt
|
89853e24e5
|
all strings for json
|
2023-03-09 22:53:01 -08:00 |
|
Bryan Stitt
|
babd215e69
|
add an endpoint for debugging headers
|
2023-03-09 22:51:23 -08:00 |
|
Bryan Stitt
|
4203c61a59
|
use pretty address in logs
|
2023-03-09 11:25:57 -08:00 |
|
Bryan Stitt
|
7b9bcf6881
|
include head block in the log
|
2023-03-09 11:22:40 -08:00 |
|
Bryan Stitt
|
b480e92259
|
don't panic if param is not set
|
2023-03-09 09:32:30 -08:00 |
|
Bryan Stitt
|
d7a843cdc5
|
lint
|
2023-03-09 09:32:17 -08:00 |
|
Bryan Stitt
|
df8cc3b954
|
fix log order
|
2023-03-07 16:16:32 -08:00 |
|
Bryan Stitt
|
6717999ced
|
actually use backup rpcs
|
2023-03-07 16:02:22 -08:00 |
|
Bryan Stitt
|
02a7c0be1e
|
add todo
|
2023-03-07 16:02:22 -08:00 |
|
David
|
d25eed0bd2
|
hotfix for admin address changes (#39)
|
2023-03-07 15:44:22 -08:00 |
|
Bryan Stitt
|
7b1b997c72
|
include backtrace in page
|
2023-03-07 13:44:27 -08:00 |
|
yenicelik
|
f1f34fbcb0
|
will get back to this after fixing admin db issues
|
2023-03-07 22:40:34 +01:00 |
|
Bryan Stitt
|
b2016190e1
|
change_admin_status script fixes
|
2023-03-06 04:44:54 +00:00 |
|
yenicelik
|
ffd63444b2
|
tests seem to run successfully, should double check the huge merge
|
2023-03-04 22:31:39 +01:00 |
|
yenicelik
|
5a54fc5e99
|
lets modify web3 proxyd manually copy pasta
|
2023-03-04 21:19:39 +01:00 |
|
Bryan Stitt
|
c7dcc4aac3
|
actually return a json result from influx
|
2023-03-04 20:54:24 +01:00 |
|
Bryan Stitt
|
163bbbafca
|
FromDataPoint needs Default
|
2023-03-04 20:54:24 +01:00 |
|
Bryan Stitt
|
5b48d471bb
|
fix influxdb derive macro
https://github.com/aprimadi/influxdb2/issues/17
|
2023-03-04 20:54:24 +01:00 |
|
Bryan Stitt
|
dbd7860416
|
wip influxdb2
|
2023-03-04 20:54:04 +01:00 |
|
Bryan Stitt
|
3f217b930a
|
cargo upgrade
|
2023-03-04 20:49:21 +01: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
|
36e4183373
|
todos
|
2023-03-03 11:19:25 -08:00 |
|
Bryan Stitt
|
94089eb72b
|
combine comparison
|
2023-03-03 07:34:04 -08: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
|
1869e73131
|
actually add the script
|
2023-03-02 22:50:14 -08:00 |
|
Bryan Stitt
|
cbdd6d7c1e
|
oops. didn't mean to commit this script yet
|
2023-03-02 21:12:35 -08:00 |
|
Bryan Stitt
|
586b772cdf
|
apt needs '--yes'
|
2023-03-02 20:58:07 -08:00 |
|
Bryan Stitt
|
3b61e009f8
|
group cfgs
|
2023-03-02 17:51:41 -08:00 |
|
Bryan Stitt
|
3098791ad9
|
add optional kafka feature
|
2023-03-03 01:39:50 +00:00 |
|
Bryan Stitt
|
a54e33f598
|
head lag instead of head block
|
2023-03-02 19:10:30 +00:00 |
|
Bryan Stitt
|
e6ca8a5253
|
add head_block, head_latency, and request_latency to popularity_contest table
|
2023-03-02 19:08:47 +00:00 |
|
Bryan Stitt
|
c7b74e1795
|
sort popularity_contest rows descending by request counts
|
2023-03-02 18:33:17 +00:00 |
|
Bryan Stitt
|
d1b955275d
|
clean up wait_for_ functions
|
2023-03-02 18:27:32 +00:00 |
|
Bryan Stitt
|
907a147afa
|
wait_for_provider helper function
|
2023-03-02 18:14:17 +00:00 |
|
Bryan Stitt
|
0d07e20d7c
|
make it compile
|
2023-03-02 17:38:42 +00:00 |
|
Bryan Stitt
|
258e889f69
|
wait for a provider
|
2023-03-02 16:52:28 +00:00 |
|
Bryan Stitt
|
499d50b5fc
|
handle empty private_rpcs
|
2023-03-01 23:21:09 +00:00 |
|
Bryan Stitt
|
c8bc0d288f
|
high log level
|
2023-03-01 23:04:20 +00:00 |
|
Bryan Stitt
|
fdba8e7864
|
test all_connections with Nones
|
2023-03-01 22:50:44 +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
|
baf07f7de5
|
sync sort should include backup
|
2023-03-01 21:35:50 +00:00 |
|
Bryan Stitt
|
2e9803de72
|
remove arbitrary sleep timer
|
2023-03-01 20:56:00 +00:00 |
|
Bryan Stitt
|
b87c988439
|
lint
|
2023-03-01 11:23:59 -08:00 |
|
Bryan Stitt
|
1da12f5844
|
bump version to match number of migrations
|
2023-02-28 23:35:20 -08:00 |
|
Bryan Stitt
|
1ffccbe229
|
Merge pull request #36 from yenicelik/19-admin-imitate
Admin endpoint (Godmode / Imitate User)
|
2023-02-28 23:32:05 -08:00 |
|
Bryan Stitt
|
20851af51b
|
log seconds instead of milliseconds
|
2023-02-28 11:09:49 -08:00 |
|
Bryan Stitt
|
d83a1f0169
|
use Web3Rpc instead of the name as a key
|
2023-02-28 11:01:34 -08:00 |
|
Bryan Stitt
|
26970c2d88
|
move wait on new connection
|
2023-02-27 13:40:13 -08:00 |
|
Bryan Stitt
|
c5e2402d6e
|
disconnect is noisy but it works
|
2023-02-27 13:29:07 -08:00 |
|
Bryan Stitt
|
11ee0aafe9
|
inotify is a pain cross platform. just check file hashes
|
2023-02-27 13:13:18 -08:00 |
|
Bryan Stitt
|
6067369ee3
|
add inotify and rpc disconnect
|
2023-02-27 12:50:57 -08:00 |
|
David
|
27a85c946f
|
Merge branch 'main' into 19-admin-imitate
|
2023-02-27 10:56:29 +01:00 |
|
yenicelik
|
fb5c9c8770
|
typo login should have been logout
|
2023-02-27 10:56:06 +01: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
|
bf79d677b0
|
by_name needs to a lock
|
2023-02-26 20:00:13 -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
|
c47c9136a1
|
cargo upgrade
|
2023-02-25 00:47:16 -08:00 |
|
Bryan Stitt
|
580965ef83
|
get instead of remove
|
2023-02-24 23:31:10 -08:00 |
|
Bryan Stitt
|
91b853d21e
|
archive instead of Some(u64::MAX) in the logs
|
2023-02-21 21:14:49 -08:00 |
|
Bryan Stitt
|
0ab7738393
|
per-chain rpc rate limits
|
2023-02-21 21:10:23 -08:00 |
|
Bryan Stitt
|
6c33b1ae1e
|
block number instead of hash during health check
|
2023-02-21 20:25:54 -08:00 |
|
yenicelik
|
933f71d2d9
|
should be ok now again
|
2023-02-19 21:54:23 +01:00 |
|
yenicelik
|
a7161790f1
|
pull from origin, about to push
|
2023-02-19 21:45:58 +01:00 |
|
yenicelik
|
f783ff66cf
|
fix some errors that occurred during refactor
|
2023-02-19 21:43:38 +01:00 |
|
yenicelik
|
fc1fdaaaf1
|
continue rebase
|
2023-02-19 21:36:54 +01:00 |
|
Bryan Stitt
|
df87a41d5b
|
theres a perf regression in here somewhere
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
678cd8067b
|
lower log level
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
30d4da6594
|
the macro is easier
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
0c4ec8ea03
|
properly encode number responses as hex
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
85608dbf25
|
fix params in health check query
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
cfff3ac532
|
comment
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
e1f803e91a
|
make it work
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
1b7050d294
|
yes health, no channel
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
688cc62460
|
remove health for now?
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
d50c869df0
|
dont hold a lock open
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
6eff5e3bf1
|
health check and latency recordings
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
83c1d7051d
|
undo a rename in the json
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
88da33c7e4
|
i think it works
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
658f658a0b
|
add time to idle to more caches
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
45fe524efb
|
cargo upgrade
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
0e8ebfa823
|
getting close
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
a519427fcf
|
fixed one test. still more to fix though
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
da33ec32eb
|
well it compiles. doesnt work yet. but it compiles
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
53757621ef
|
variable rename
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
54b4aa8522
|
cargo upgrade
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
4daf984b4b
|
use http and ws providers in a single config
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
5a3f586d99
|
include to_block more places
|
2023-02-19 21:34:42 +01:00 |
|
Bryan Stitt
|
8af87845c9
|
better sorting of connections
|
2023-02-19 21:34:42 +01:00 |
|
yenicelik
|
11b787e8b1
|
removed one comment (not needed to remove redis)
|
2023-02-19 21:34:42 +01:00 |
|
yenicelik
|
38ac23ca06
|
added admin trail when someone tries to login for godmode
|
2023-02-19 21:34:42 +01:00 |
|
yenicelik
|
85bec3aaf0
|
currently also have to specify the admin user calling the request. also added a tiny manual test to imitate user. will add trails next
|
2023-02-19 21:34:42 +01:00 |
|
yenicelik
|
7bf1d6e95a
|
redis is not saving raw bearer tokens, so i will remove this from here
|
2023-02-19 21:34:42 +01:00 |
|
yenicelik
|
2e1fd5cd3c
|
still struggingling with login
|
2023-02-19 21:34:42 +01:00 |
|
yenicelik
|
2ac550f60a
|
will wait for how to login as a third party user
|
2023-02-19 21:34:42 +01:00 |
|
yenicelik
|
b1f18460d1
|
changes from review. will test now
|
2023-02-19 21:34:42 +01:00 |
|
yenicelik
|
de8d665e40
|
should next write some simple end2end test
|
2023-02-19 21:34:42 +01:00 |
|
yenicelik
|
f701109aed
|
should write some tests next
|
2023-02-19 21:34:42 +01:00 |
|
yenicelik
|
1250b7dba2
|
continue rebase
|
2023-02-19 21:34:39 +01:00 |
|
yenicelik
|
61bd7d6e35
|
also removing login from cache. should add tests for all these cases
|
2023-02-19 21:33:39 +01:00 |
|
yenicelik
|
bbe9061402
|
continue rebase
|
2023-02-19 21:33:33 +01:00 |
|
yenicelik
|
6420dc6aa6
|
tiny refactoring and added admin entities. some bugs coming up
|
2023-02-19 21:27:59 +01:00 |
|
yenicelik
|
310df0c86d
|
apply rebase
|
2023-02-19 21:27:53 +01:00 |
|
yenicelik
|
9e3c3fcbe0
|
continue rebase
|
2023-02-19 21:25:29 +01:00 |
|
David
|
2c8c4306fa
|
Merge branch 'main' into 19-admin-imitate
|
2023-02-17 14:33:43 +01:00 |
|
Bryan Stitt
|
738815244d
|
change ewma calculation
|
2023-02-16 00:26:58 -08:00 |
|
Bryan Stitt
|
4916188d5c
|
theres a perf regression in here somewhere
|
2023-02-15 21:54:07 -08:00 |
|
Bryan Stitt
|
cb2b5c16ad
|
lower log level
|
2023-02-15 21:30:42 -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
|
b7dfec9c63
|
fix params in health check query
|
2023-02-15 21:13:28 -08:00 |
|
Bryan Stitt
|
91cab8ffe2
|
comment
|
2023-02-15 21:09:39 -08:00 |
|
Bryan Stitt
|
bc306f62d4
|
make it work
|
2023-02-15 21:05:41 -08:00 |
|
Bryan Stitt
|
3c9576c13b
|
yes health, no channel
|
2023-02-15 15:52:42 -08:00 |
|
Bryan Stitt
|
63adbc0587
|
remove health for now?
|
2023-02-15 15:42:27 -08:00 |
|
Bryan Stitt
|
268ad3a7c5
|
dont hold a lock open
|
2023-02-15 15:37:43 -08:00 |
|
Bryan Stitt
|
056670d29a
|
health check and latency recordings
|
2023-02-15 15:31:59 -08:00 |
|
Bryan Stitt
|
774bd5b232
|
undo a rename in the json
|
2023-02-15 12:59:03 -08:00 |
|
Bryan Stitt
|
1fb4dd6ccc
|
i think it works
|
2023-02-15 12:33:43 -08:00 |
|
Bryan Stitt
|
df668a5dfd
|
add time to idle to more caches
|
2023-02-15 11:42:25 -08:00 |
|
Bryan Stitt
|
8506cd6bdc
|
cargo upgrade
|
2023-02-15 11:40:55 -08:00 |
|
yenicelik
|
5fd440523f
|
removed one comment (not needed to remove redis)
|
2023-02-15 17:13:31 +01:00 |
|
yenicelik
|
d6a7b702f8
|
added admin trail when someone tries to login for godmode
|
2023-02-15 17:10:45 +01:00 |
|
yenicelik
|
44ae497100
|
currently also have to specify the admin user calling the request. also added a tiny manual test to imitate user. will add trails next
|
2023-02-15 15:20:16 +01:00 |
|
yenicelik
|
36c884c9ab
|
redis is not saving raw bearer tokens, so i will remove this from here
|
2023-02-15 14:57:34 +01:00 |
|
Bryan Stitt
|
c65ffc9ce0
|
getting close
|
2023-02-14 17:41:40 -08:00 |
|
Bryan Stitt
|
f1e6de3677
|
fixed one test. still more to fix though
|
2023-02-14 12:41:05 -08:00 |
|
Bryan Stitt
|
824a6fa1f0
|
well it compiles. doesnt work yet. but it compiles
|
2023-02-14 12:14:50 -08:00 |
|
yenicelik
|
0d4acfbacc
|
still struggingling with login
|
2023-02-14 17:15:54 +01:00 |
|
Bryan Stitt
|
70105bc7bb
|
variable rename
|
2023-02-12 10:22:20 -08:00 |
|
Bryan Stitt
|
0e2e45cf90
|
cargo upgrade
|
2023-02-12 01:47:06 -08:00 |
|
Bryan Stitt
|
c008f50943
|
use http and ws providers in a single config
|
2023-02-12 01:40:01 -08:00 |
|
yenicelik
|
4904bc6734
|
will wait for how to login as a third party user
|
2023-02-11 14:19:33 +00: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 |
|
yenicelik
|
8562fc3384
|
changes from review. will test now
|
2023-02-10 17:48:51 +00:00 |
|
yenicelik
|
cc41e54cbf
|
Merge branch 'upstream-main' into 19-admin-imitate
|
2023-02-10 17:12:22 +00:00 |
|
David
|
67765d2bd5
|
Merge branch 'llamanodes:main' into main
|
2023-02-10 16:34:10 +00:00 |
|
Bryan Stitt
|
90b57c7aed
|
fix test. usize -> u64
|
2023-02-09 12:02:57 -08:00 |
|
Bryan Stitt
|
e062975b13
|
cargo upgrade
|
2023-02-09 11:56:58 -08:00 |
|
Bryan Stitt
|
1a93e39b09
|
FuturesUnordered on the spawn handles
|
2023-02-09 11:56:07 -08:00 |
|
Bryan Stitt
|
6741cd72ac
|
lint
|
2023-02-09 11:55:54 -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
|
1efa8e7772
|
improve log message
we don't always get an empty block because we aren't synced. sometimes it is because we got disconnected
|
2023-02-08 11:30:16 -08:00 |
|
Bryan Stitt
|
ff4cb9abce
|
cargo upgrade
|
2023-02-08 11:11:16 -08:00 |
|
Bryan Stitt
|
0b1929a820
|
add minimal config for quick testing
|
2023-02-06 15:20:36 -08:00 |
|
Bryan Stitt
|
0edd11349f
|
web3 rpc spawn should be unordered
|
2023-02-06 14:13:43 -08:00 |
|
Bryan Stitt
|
19e51ce328
|
check http servers twice as often
|
2023-02-06 13:48:50 -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
|
266c410f15
|
add todo
|
2023-02-05 18:19:13 -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 |
|
yenicelik
|
a0e257c8cb
|
added endpoint to get or create the referral link for a given user
|
2023-02-05 14:53:41 +01:00 |
|
Bryan Stitt
|
37830f1156
|
Jenkinsfile from llamanodes/erigon
|
2023-02-05 00:13:14 -08:00 |
|
Bryan Stitt
|
1d749ed33d
|
block all admin_ commands
|
2023-02-03 10:56:19 -08:00 |
|
Bryan Stitt
|
ca1e550370
|
improve sort order during eth_sendRawTransaction
|
2023-02-02 14:48:23 -08:00 |
|
Bryan Stitt
|
9ac3ef1e3d
|
cache /health and cache /status for longer
|
2023-02-02 13:58:04 -08:00 |
|
Bryan Stitt
|
a3f2eff512
|
simple request counts
|
2023-02-02 13:45:05 -08:00 |
|
Bryan Stitt
|
cac31303f3
|
include backup in web3connection serializer
|
2023-02-02 08:00:59 -08:00 |
|
Bryan Stitt
|
414501fb57
|
eth_pollSubscriptions is not supported
|
2023-02-01 14:02:53 -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 13bab2c9cf .
|
2023-01-31 08:30:24 -08:00 |
|
Bryan Stitt
|
13bab2c9cf
|
Revert "include from_block and to_block for caching getLogs"
This reverts commit 203969f628 .
|
2023-01-31 08:30:11 -08:00 |
|
yenicelik
|
4582cf3e37
|
should next write some simple end2end test
|
2023-01-31 15:08:46 +01:00 |
|
Bryan Stitt
|
6c23b73f2d
|
cargo upgrade
|
2023-01-30 15:57:06 -08:00 |
|
Bryan Stitt
|
203969f628
|
include from_block and to_block for caching getLogs
|
2023-01-30 15:47:17 -08:00 |
|
yenicelik
|
fadb61114a
|
should write some tests next
|
2023-01-30 20:02:28 +01:00 |
|
yenicelik
|
31788bb228
|
imitating user. login flow still needs to check for read-only at every checkpoint. also referral logic can be removed from the login_post function
|
2023-01-30 17:45:24 +01:00 |
|
yenicelik
|
04687b3392
|
ingested changes from upstream main. added another cli admin endpoint
|
2023-01-29 23:27:34 +01:00 |
|
Bryan Stitt
|
b358463928
|
use error_builder
|
2023-01-26 19:18:58 -08:00 |
|
Bryan Stitt
|
2c05c63350
|
error with body if not json
|
2023-01-26 19:07:27 -08:00 |
|
Bryan Stitt
|
f9d3eb1e0d
|
cut /rpc/ off
|
2023-01-25 19:05:11 -08:00 |
|
Bryan Stitt
|
b808a72b35
|
actually add the script
|
2023-01-25 17:59:08 -08:00 |
|
Bryan Stitt
|
c0ab400af6
|
add create_key cli command
|
2023-01-25 17:58:10 -08:00 |
|
Bryan Stitt
|
f756bc7390
|
longer timeout
|
2023-01-25 17:42:16 -08:00 |
|
Bryan Stitt
|
315ac4838d
|
include code in the error message
|
2023-01-25 14:59:11 -08:00 |
|
Bryan Stitt
|
43b5652ba8
|
better handling when rate limited
|
2023-01-25 14:24:38 -08:00 |
|
Bryan Stitt
|
f80390c88a
|
upgrade sentry and fix pagerduty features so we do not need openssl
|
2023-01-25 14:11:20 -08:00 |
|
Bryan Stitt
|
d5f2d6eb18
|
improve pager duty errors for smarter deduping
|
2023-01-25 14:04:06 -08:00 |
|
Bryan Stitt
|
f2260ecdba
|
don't require hard limit send
|
2023-01-25 10:01:36 -08:00 |
|
Bryan Stitt
|
e85965ec12
|
more context on everything
|
2023-01-25 01:00:28 -08:00 |
|
Bryan Stitt
|
0c879c5613
|
one less unwrap
|
2023-01-25 00:45:49 -08:00 |
|
Bryan Stitt
|
0c387af589
|
dedup keys
|
2023-01-25 00:27:07 -08:00 |
|
Bryan Stitt
|
7e5418a8e7
|
handle empty result
|
2023-01-25 00:19:35 -08:00 |
|
Bryan Stitt
|
0c058614ce
|
fix not using the workers config option
|
2023-01-24 23:21:50 -08:00 |
|
Bryan Stitt
|
07bac8618e
|
cargo upgrade --workspace
|
2023-01-24 22:46:58 -08:00 |
|
Bryan Stitt
|
cffc60e7f6
|
improve responses when blocks are not available
|
2023-01-24 22:45:20 -08:00 |
|
Bryan Stitt
|
694e552b5d
|
improve waiting for sync when rate limited
|
2023-01-24 20:45:03 -08:00 |
|
Bryan Stitt
|
0ae240492a
|
easy trace logging
|
2023-01-24 20:44:17 -08:00 |
|
Bryan Stitt
|
641d11a19b
|
remove excess continues
|
2023-01-24 10:09:12 -08:00 |
|
Bryan Stitt
|
522678e394
|
don't send pagerduty alerts for websocket panics
|
2023-01-24 09:38:12 -08:00 |
|
Bryan Stitt
|
106dec294f
|
better handling when method not available
|
2023-01-24 09:36:07 -08:00 |
|
Bryan Stitt
|
447cf90eed
|
jsonrpc instead of 500 errors
|
2023-01-24 08:07:10 -08:00 |
|
Bryan Stitt
|
c9b8e5dfb9
|
wrote our own panic handler
|
2023-01-24 05:27:07 -08:00 |
|
Bryan Stitt
|
4f9d0f6336
|
add --chain-id to sentryd too
|
2023-01-24 04:51:55 -08:00 |
|
Bryan Stitt
|
23f31c9129
|
sanitize inputs and improve logs
|
2023-01-24 04:29:12 -08:00 |
|
Bryan Stitt
|
953bb27adc
|
add --chain-id to sentryd
|
2023-01-24 04:17:39 -08:00 |
|
Bryan Stitt
|
17c446b68c
|
why did cargo upgrade miss all these?
|
2023-01-24 03:25:12 -08:00 |
|
Bryan Stitt
|
7b046451be
|
actually add the file
|
2023-01-24 03:12:36 -08:00 |
|
Bryan Stitt
|
36d64489d8
|
sentryd to pagerduty
|
2023-01-24 03:12:23 -08:00 |
|