Commit Graph

49 Commits

Author SHA1 Message Date
Bryan Stitt fcc1843af0 put it back. duplication between cargo.toml isnt worth it 2023-05-30 21:37:58 -07:00
Bryan Stitt 2273637a07 move cli into a separate packge and clean up dependencies 2023-05-30 20:58:24 -07:00
Bryan Stitt 00772caae3 --help instead of --version 2023-05-30 17:38:45 -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 8a097dabbe
Bryan devel 2023-05-12 (#67)
* add minor todo

* BadRequest instead of web3_context

* more bad request error codes

* use tokio-uring for the tcp listener

* clear block instead of panic

* clone earlier

* more watch channels instead of rwlocks

* drop uring for now (its single threaded) and combine get/post/put routes

* clean up iter vs into_iter and unnecessary collect

* arcswap instead of rwlock for Web3Rpcs.by_name

* cargo upgrade

* uuid fast-rng and alphabetize

* if protected rpcs, only use protected rpcs

* listenfd

* make connectinfo optional

* try_get_with_by_ref instead of try_get_with

* anyhow ensure. and try_get_with_as_ref isn't actually needed

* fix feature flags

* more refs and less clone

* automatic retry for eth_getTransactionReceipt and eth_getTransactionByHash

thanks for the report Lefteris @ Rotki

* ArcSwap for provider

* set archive_request to true on transaction retrying

* merge durable stats

* Revert "ArcSwap for provider"

This reverts commit 166d77f204cde9fa7722c0cefecbb27008749d47.

* comments

* less clones

* more refs

* fix test

* add optional mimalloc feature

* remove stale dependency

* sort

* cargo upgrade

* lint constants

* add todo

* another todo

* lint

* anyhow::ensure instead of panic

* allow rpc_accounting_v2 entries for requests without an rpc key
2023-05-12 15:15:32 -07:00
Bryan Stitt 2ad509a5fc rust 1.69.0 2023-04-24 23:23:33 -07:00
Bryan Stitt 78fceb1fbf features on tests 2023-04-20 20:00:54 -07:00
Bryan Stitt 684b14c8a7 enable sasl for kafka 2023-04-20 14:48:15 -07:00
Bryan Stitt 03ef27baa4 Merge branch 'main' into devel 2023-04-19 15:31:08 -07:00
Bryan Stitt 10d2d46512 more packages for kafka+ssl 2023-04-19 15:22:27 -07:00
Bryan Stitt 9118117fe7 tell ethers to shut up 2023-04-18 20:50:35 -07:00
Bryan Stitt dde275496e no opt. usr/local instead 2023-04-05 12:30:44 -07:00
yenicelik 01065adeac Merge branch 'main' into stats_v3 2023-03-30 13:43:03 +01:00
Bryan Stitt a0c954ecf5 rust 1.68.2 for updated rsa host key within cargo 2023-03-28 12:39:13 -07: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 2eb8df22ec kafka helper script 2023-03-03 02:54:52 -08:00
Bryan Stitt 04c49b925f rdkafka is no longer a feature 2023-03-03 01:44:57 -08:00
Bryan Stitt 586b772cdf apt needs '--yes' 2023-03-02 20:58:07 -08:00
Bryan Stitt ecd94c72c1 librdkafka-dev, not librdkafka 2023-03-02 20:48:09 -08:00
Bryan Stitt 3098791ad9 add optional kafka feature 2023-03-03 01:39:50 +00:00
Bryan Stitt 1e29a057ab fix cargo install command. no more inotify feature 2023-03-01 10:53:56 -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
Bryan Stitt 7924b828b3 remove cargo-chef
its giving errors about having multiple versions of ahash, but only on some systems. just remove for now
2023-02-08 11:14:30 -08:00
Bryan Stitt 16df2defee add llama user so bash is happy 2023-02-06 13:47:08 -08:00
Bryan Stitt 671105fe07 make a new profile for codegen-units = 1 2023-02-02 13:55:48 -08:00
Bryan Stitt 7277caae6a skip cargo-binstall for now 2023-01-30 14:51:37 -08:00
Bryan Stitt c995952c24 use cargo-chef and cargo-nextest 2023-01-30 14:22:40 -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 37656a596c add openssl to maybe fix coredumps 2023-01-24 23:21:39 -08:00
Bryan Stitt 2d5d115d6f proxyd, not daemon 2023-01-19 02:32:24 -08:00
Bryan Stitt f6811d3c05 with how we do --config, we need to change entrypoint now 2023-01-19 02:30:58 -08:00
Bryan Stitt 053947de40 one bin for everything 2023-01-18 13:56:23 -08:00
Bryan Stitt c831609978 disable default features (deadlock detection) in docker 2023-01-15 14:50:20 -08:00
Bryan Stitt d6dfcbd2d7 add wait_for_sync helper 2022-12-22 11:49:34 -08:00
Bryan Stitt 5954c82134 skip docs for now 2022-12-14 19:36:15 -08:00
Bryan Stitt f96cd7d70a do the install way 2022-12-14 19:35:03 -08:00
Bryan Stitt 719102c4f0 need anvil and configs for tests 2022-12-14 19:25:57 -08:00
Bryan Stitt 456e903734 docker build now includes test and doc 2022-12-14 19:02:49 -08:00
Bryan Stitt 2811c84c25 dash consistency 2022-08-06 05:46:33 +00:00
Bryan Stitt 8eeef81560 fix docker build 2022-08-06 05:43:02 +00:00
Bryan Stitt 289d6e0249 prod config 2022-08-06 05:38:19 +00:00
Bryan Stitt c1144e5e42 keep RUSTFLAGS in one place 2022-05-17 16:36:42 +00:00
Bryan Stitt c884cf5bbb make it maybe faster 2022-05-13 07:05:38 +00:00
Bryan Stitt 81abf901c2 upgrades 2022-05-12 19:58:26 +00:00
Bryan Stitt ef86625fdb new default port 2022-05-06 06:33:29 +00:00
Bryan Stitt 6fc80e9358 rustls 2022-05-06 01:25:49 +00:00
Bryan Stitt 4f38949eaa fix docker for workspace 2022-05-05 22:28:20 +00:00
Bryan Stitt f64432226a add dockerfile with caches 2022-04-23 18:00:03 +00:00