Zebra/zebrad/src
teor cf4b2f7a67
feat(verify): Concurrently verify proof and signature batches (#4776)
* Initialize the rayon threadpool with a new config for CPU-bound threads

* Verify proofs and signatures on the rayon thread pool

* Only spawn one concurrent batch per verifier, for now

* Allow tower-batch to queue multiple batches

* Fix up a potentially incorrect comment

* Rename some variables for concurrent batches

* Spawn multiple batches concurrently, without any limits

* Simplify batch worker loop using OptionFuture

* Clear pending batches once they finish

* Stop accepting new items when we're at the concurrent batch limit

* Fail queued requests on drop

* Move pending_items and the batch timer into the worker struct

* Add worker fields to batch trace logs

* Run docker tests on PR series

* During full verification, process 20 blocks concurrently

* Remove an outdated comment about yielding to other tasks
2022-07-18 08:43:29 +10:00
..
bin/zebrad Consolidate standard lints into a cargo config file (#3386) 2022-01-24 16:25:06 +00:00
commands fix(sync): Temporarily set full verification concurrency to 30 blocks (#4726) 2022-07-06 10:13:57 -04:00
components feat(verify): Concurrently verify proof and signature batches (#4776) 2022-07-18 08:43:29 +10:00
application.rs feat(verify): Concurrently verify proof and signature batches (#4776) 2022-07-18 08:43:29 +10:00
commands.rs feat(util): add a `zebra-tip-height` utility (#4289) 2022-05-06 03:31:52 +00:00
components.rs Re-order Zebra startup, so slow services are launched last (#3091) 2021-11-23 17:42:44 +00:00
config.rs feat(verify): Concurrently verify proof and signature batches (#4776) 2022-07-18 08:43:29 +10:00
lib.rs doc(features): Document optional `zebrad` features and clean up README (#4680) 2022-06-28 22:15:01 +00:00
prelude.rs Fix a deadlock in TokioComponent. 2020-01-15 12:06:31 -08:00
sentry.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00