Commit Graph

5 Commits

Author SHA1 Message Date
Bryan Stitt 16caf1d0fe dynamic max_head_block_age 2023-10-24 21:53:41 -07:00
Bryan Stitt e917a11d6c
Suprisingly large refactor to get ids everywhere (#222)
* cargo upgrade --incompatible and update

* first draft at suprisingly_large_refactor_to_get_ids_everywhere

* put app in a task_local

* ref cleanup

* use a OnceLock instead of a tokio local

* test more methods

* APP isn't set in all tests

* it compiles. tests fail. todos still open

* use the app only when necessary

* more tests. less panic

* less verbose debug impl

* short enum names

* move kafka and secrets to their own files

* main tests pass

* add debug chain block time

* helper for stats that ignores internal stats

* Update Jenkinsfile (#223)

* more tests

---------

Co-authored-by: Pewxz <124064710+pewxz@users.noreply.github.com>
2023-10-03 13:46:27 -07:00
Bryan Stitt 3174fa5bad increase cost of eth_subscribe(newPendingTransactions) 2023-09-18 14:18:05 -07:00
Bryan Stitt 0bc523ab9f improve hard limits
rate limit per server or per endpoint and with any period
2023-08-03 12:24:28 -07:00
Bryan Stitt ab6d3a1d9b split command line into separte module 2023-08-03 00:16:54 -07:00