Zebra/zebra-chain/src/orchard
teor 6ad445eb97
1. fix(perf): Run CPU-intensive state updates in parallel rayon threads (#4802)
* Split disk reads from CPU-heavy Sprout interstitial tree cryptography

* Improve anchor validation debugging and error messages

* Work around a test data bug, and save some CPU

* Remove redundant checks for empty shielded data

* Skip generating unused interstitial treestates

* Do disk fetches and quick checks, then CPU-heavy cryptography

* Wrap HistoryTree in an Arc in the state

* Run CPU-intensive chain validation and updates in parallel rayon threads

* Refactor to prepare for parallel tree root calculations

* Run finalized state note commitment tree root updates in parallel rayon threads

* Update finalized state note commitment trees using parallel rayon threads

* Fix a comment typo and add a TODO

* Split sprout treestate fetch into its own function

* Move parallel note commitment trees to zebra-chain

* Re-calculate the tree roots in the same parallel batches

* Do non-finalized note commitment tree updates in parallel threads

* Update comments about note commitment tree rebuilds

* Do post-fork tree updates in parallel threads

* Add a TODO for parallel tree updates in tests

* Fix broken intra-doc links

* Clarify documentation for sprout treestates

* Sort Cargo.toml dependencies
2022-07-22 12:19:11 -04:00
..
keys Fix Orchard implementation, refactor, and add more test vectors (#2445) 2021-07-16 13:52:35 +00:00
note fix(doc): Fix various doc warnings, part 1 (#4514) 2022-06-02 15:07:35 +00:00
tests fix(doc): Fix the syntax of links in comments (#4494) 2022-05-30 20:12:11 +00:00
action.rs fix(doc): Fix various doc warnings, part 1 (#4514) 2022-06-02 15:07:35 +00:00
address.rs Fix Orchard implementation, refactor, and add more test vectors (#2445) 2021-07-16 13:52:35 +00:00
arbitrary.rs change(nu5): use new V5 transaction script verification API (#3799) 2022-04-19 10:14:16 +10:00
commitment.rs perf(commitments): generate sapling point outside the method (#4799) 2022-07-22 09:17:09 +10:00
keys.rs lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
note.rs fix(doc): Fix various doc warnings, part 1 (#4514) 2022-06-02 15:07:35 +00:00
shielded_data.rs fix(doc): Fix various doc warnings, part 1 (#4514) 2022-06-02 15:07:35 +00:00
sinsemilla.rs fix(doc): Fix various doc warnings, part 1 (#4514) 2022-06-02 15:07:35 +00:00
tests.rs Fix Orchard implementation, refactor, and add more test vectors (#2445) 2021-07-16 13:52:35 +00:00
tree.rs 1. fix(perf): Run CPU-intensive state updates in parallel rayon threads (#4802) 2022-07-22 12:19:11 -04:00