web3-proxy/migration/src
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
..
lib.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20220101_000001_create_table.rs rename api_key to rpc_key 2022-10-27 00:12:42 +00:00
m20220921_181610_log_reverts.rs fix migration imports 2022-10-25 04:31:27 +00:00
m20220928_015108_concurrency_limits.rs more user endpoints 2022-10-25 21:11:19 +00:00
m20221007_213828_accounting.rs fix migration imports 2022-10-25 04:31:27 +00:00
m20221025_210326_add_chain_id_to_reverts.rs more user endpoints 2022-10-25 21:11:19 +00:00
m20221026_230819_rename_user_keys.rs rename api_key to rpc_key 2022-10-27 00:12:42 +00:00
m20221027_002407_user_tiers.rs wip. add user tiers 2022-10-31 20:51:50 +00:00
m20221031_211916_clean_up.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20221101_222349_archive_request.rs better stats aggregations 2022-11-02 23:14:16 +00:00
m20221108_200345_save_anon_stats.rs add_column_if_not_exists doesn't work in mysql 2022-11-14 06:31:35 +00:00
m20221211_124002_request_method_privacy.rs forgot to git add this 2022-12-11 20:50:07 -08:00
m20221213_134158_move_login_into_database.rs move pending logins to the database 2022-12-13 18:34:08 -08:00
m20230117_191358_admin_table.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230119_204135_better_free_tier.rs actually add the migration. derp 2023-01-19 21:29:33 -08:00
m20230125_204810_stats_v2.rs User Balance + Referral Logic (#44) 2023-05-12 09:45:15 -07:00
m20230130_124740_read_only_login_logic.rs lint 2023-03-01 11:23:59 -08:00
m20230130_165144_prepare_admin_imitation_pre_login.rs lint 2023-03-01 11:23:59 -08:00
m20230205_130035_create_balance.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230205_133755_create_referrals.rs User Balance + Referral Logic (#44) 2023-05-12 09:45:15 -07:00
m20230214_134254_increase_balance_transactions.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230215_152254_admin_trail.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230221_230953_track_spend.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230307_002623_migrate_rpc_accounting_to_rpc_accounting_v2.rs copy migrations from devel (#51) 2023-04-18 10:36:53 -07:00
m20230412_171916_modify_secondary_user_add_primary_user.rs User Balance + Referral Logic (#44) 2023-05-12 09:45:15 -07:00
m20230422_172555_premium_downgrade_logic.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230511_161214_remove_columns_statsv2_origin_and_method.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230512_220213_allow_null_rpc_key_id_in_stats_v2.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
main.rs add per-user rpc accounting 2022-10-10 04:15:49 +00:00