Zebra/zebra-consensus/src
Arya 797df674cb
cleanup(consensus): Avoid blocking threads by awaiting proof verification results from rayon in async context (#6887)
* Replaces rayon::iter::once with spawn_fifo

* Removes spawn_blocking in flush_spawning methods

* Logs warning and returns error for RecvErrors

* Uses BoxError in proof verifiers

* Adds async spawn_fifo fns

* Updates verify_single_spawning and flush_spawning methods to use new async spawn_fifo fns

* Removes outdated TODOs and docs.

* removes outdated TODO

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-07-12 21:30:07 +00:00
..
block docs(state): Use different terms for block verification and state queues (#7061) 2023-07-04 21:29:41 +00:00
checkpoint cleanup(rust): Fix new nightly clippy warnings (#7135) 2023-07-05 07:11:27 +00:00
parameters change(chain): Refactor the handling of height differences (#6330) 2023-03-29 23:06:31 +00:00
primitives cleanup(consensus): Avoid blocking threads by awaiting proof verification results from rayon in async context (#6887) 2023-07-12 21:30:07 +00:00
router git ls-tree --full-tree -r --name-only HEAD | xargs sed -i -e 's/router_verifier/block_verifier_router/g' (#6998) 2023-06-20 07:11:04 +00:00
transaction cleanup(rust): Fix new nightly clippy warnings (#7135) 2023-07-05 07:11:27 +00:00
block.rs fix(concurrency): Use Arc::into_inner() to avoid potential concurrency issues, needs Rust 1.70 (#7032) 2023-06-21 20:44:53 +00:00
checkpoint.rs fix(log): Remove redundant startup logs, fix progress bar number, order, and wording (#7087) 2023-07-05 07:08:59 +00:00
config.rs feat(ui): Add a terminal-based progress bar to Zebra (#6235) 2023-04-13 08:42:17 +00:00
error.rs feat(mempool): add ZIP-317 rules to mempool (#6556) 2023-05-02 00:13:33 +00:00
lib.rs rename(state): Rename state verifiers and related code (#6762) 2023-06-01 12:29:03 +00:00
parameters.rs Remove duplicate and redundant consensus parameter code (#4760) 2022-07-22 16:33:26 +00:00
primitives.rs cleanup(consensus): Avoid blocking threads by awaiting proof verification results from rayon in async context (#6887) 2023-07-12 21:30:07 +00:00
router.rs rename(state): Rename state verifiers and related code (#6762) 2023-06-01 12:29:03 +00:00
script.rs refactor: address comments from #3415: Prepare for changes in ZIP-244 (#3446) 2022-02-01 06:24:08 +00:00
transaction.rs rename(state): Rename state verifiers and related code (#6762) 2023-06-01 12:29:03 +00:00