Zebra/zebra-test/src
teor 9b9cd55097
fix(batch): Improve batch verifier async, correctness, and performance (#4750)
* Use a new channel for each batch

* Prefer the batch timer if there are also new batch requests

* Allow other tasks to run after each batch

* Label each batch worker with the verifier's type

* Rename Handle to ErrorHandle, and fix up some docs

* Check batch worker tasks for panics and task termination

* Use tokio's PollSemaphore instead of an outdated Semaphore impl

* Run all verifier cryptography on a blocking thread

Also use a new verifier channel for each batch.

* Make flush and drop behaviour consistent for all verifiers

* Partly fix an incorrect NU5 test

* Switch batch tests to the multi-threaded runtime

* Export all verifier primitive modules from zebra-consensus

* Remove outdated test code in tower-batch

* Use a watch channel to send batch verifier results

* Use spawn_blocking for batch fallback verifiers

* Spawn cryptography batches onto blocking tokio threads

* Use smaller batches for halo2

* Minor tower-batch cleanups

* Fix doc link in zebra-test

* Drop previous permit before acquiring another to avoid a deadlock edge case
2022-07-18 08:41:18 +10:00
..
command Fix typos (#4164) 2022-04-22 01:10:33 +00:00
vectors feat(rpc): Add `z_gettreestate` gRPC tests (#4455) 2022-05-24 03:09:53 +00:00
command.rs lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
lib.rs fix(batch): Improve batch verifier async, correctness, and performance (#4750) 2022-07-18 08:41:18 +10:00
mock_service.rs fix(doc): Fix various doc warnings, part 1 (#4514) 2022-06-02 15:07:35 +00:00
net.rs T0. refactor(test): split zebrad acceptance tests into sub-modules (#3901) 2022-03-18 16:02:22 +00:00
network_addr.rs fix(doc): Fix various doc warnings, part 2 (#4561) 2022-06-14 01:22:16 +00:00
prelude.rs fix(doc): Fix various doc warnings, part 2 (#4561) 2022-06-14 01:22:16 +00:00
service_extensions.rs Consolidate standard lints into a cargo config file (#3386) 2022-01-24 16:25:06 +00:00
transcript.rs 5. change(state): split ReadStateService requests into a ReadRequest enum (#3866) 2022-03-17 22:59:46 +00:00
vectors.rs fix(doc): Fix the syntax of links in comments (#4494) 2022-05-30 20:12:11 +00:00
zip0143.rs Always compute sighash with librustzcash (#2469) 2021-07-09 09:55:08 +10:00
zip0243.rs Fix bug in sighash for coinbase transactions (#2459) 2021-07-08 16:05:40 -03:00
zip0244.rs fix(doc): Fix the syntax of links in comments (#4494) 2022-05-30 20:12:11 +00:00