9b9cd55097
* 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 |
||
---|---|---|
.. | ||
scripts | ||
src | ||
tests | ||
Cargo.toml |