Zebra/zebra-chain
teor b9ac221ad4
Implement Sapling serialization in Transaction V5 (#2020)
* serialize/deserialize spaling shielded data in v5 transaction

* fix serialize/deserialize fields order according to spec

* remove extra clone calls

* more serialize fixes

* clippy: fix empty array

* tidy comments

* Add v4 and v5 transaction tests

Also make sure that serialized bytes match if structs match.

* Test fake v5 blocks made out of pre-NU5 block test vectors

* Add outputs-only tests for v5 shared anchor serialization

* Refactor sapling::ShieldedData V5 serialization into its own impl

* Fix spec name typos

* Simplify sapling shielded data parsing

* Delete redundant V5 transaction wrappers in tests

And split out sapling ShieldedData serialization.

Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2021-04-19 08:09:57 +10:00
..
proptest-regressions Implement Expanded to Compact Difficulty Conversion (#1196) 2020-10-30 11:36:59 +10:00
src Implement Sapling serialization in Transaction V5 (#2020) 2021-04-19 08:09:57 +10:00
Cargo.toml Implement Sapling serialization in Transaction V5 (#2020) 2021-04-19 08:09:57 +10:00