Zebra/zebrad/src/components
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
..
inbound fix(sync): Temporarily set full verification concurrency to 30 blocks (#4726) 2022-07-06 10:13:57 -04:00
mempool lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
sync fix(sync): Temporarily set full verification concurrency to 30 blocks (#4726) 2022-07-06 10:13:57 -04:00
tracing lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
inbound.rs fix(sync): Temporarily set full verification concurrency to 30 blocks (#4726) 2022-07-06 10:13:57 -04:00
mempool.rs fix(doc): Fix various doc warnings, part 3 (#4611) 2022-06-15 03:57:19 +00:00
metrics.rs breaking(diagnostics): make zebrad diagnostics into optional compile-time features (#4539) 2022-06-16 19:56:40 +00:00
sync.rs fix(sync): Temporarily set full verification concurrency to 30 blocks (#4726) 2022-07-06 10:13:57 -04:00
tokio.rs feat(verify): Concurrently verify proof and signature batches (#4776) 2022-07-18 08:43:29 +10:00
tracing.rs feat(log): Show the current network upgrade in progress logs (#4694) 2022-06-28 02:51:41 +00:00