This website requires JavaScript.
Explore
Help
Sign In
zecfoundation
/
zebra
mirror of
https://github.com/ZcashFoundation/zebra.git
Watch
1
Star
0
Fork
You've already forked zebra
0
Code
Issues
Projects
Releases
Wiki
Activity
ec9b569ebf
zebra
/
zebra-chain
/
src
/
sapling
/
tests.rs
5 lines
55 B
Rust
Raw
Normal View
History
Unescape
Escape
Move the preallocate tests into their own files (#1977) * Move the preallocate tests into their own files And move the MetaAddr proptest into its own file. Also do some minor formatting and cleanups. Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2021-04-06 19:32:27 -07:00
mod
preallocate
;
Refactor Sapling data and use it in V4 (#1946) * start refactoring transaction v4 for transaction v5 - move ShieldedData to sapling - add AnchorVariant - rename shielded_data to sapling_shielded data in V4 - move value_balance into ShieldedData - update prop tests for new structure * add AnchorVariant to Spend - make anchor types available from sapling crate - update serialize * change shielded_balances_match() arguments * change variable name anchor to shared_anchor in ShieldedData * fix empty value balance serialization * use AnchorV in shielded spends * Rename anchor to per_spend_anchor * Use nullifiers function directly in non-finalized state * Use self.value_balance instead of passing it as an argument * Add missing fields to ShieldedData PartialEq * Derive Copy for tag types * Add doc comments for ShieldedData refactor * Implement a per-spend anchor compatibility iterator Co-authored-by: teor <teor@riseup.net>
2021-03-31 14:34:25 -07:00
mod
prop
;
Calculate incremental note commitment trees (#2407) * Make sapling::tree::NoteCommitmentTree incrementally updateable * Make orchard::tree::NoteCommitmentTree incrementally updateable * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> * Changed to incrementalmerkletree implementation; update MerkleCRH^Orchard * Improvements from review; organize file names (vectors.rs -> tree.rs) Co-authored-by: Conrado Gouvea <conrado@zfnd.org> Co-authored-by: teor <teor@riseup.net> Co-authored-by: Conrado P. L. Gouvea <conradoplg@gmail.com>
2021-07-15 06:58:36 -07:00
mod
test_vectors
;
mod
tree
;