Zebra/zebra-test/src
teor c453fbf6f6
Add final sapling root test vectors (#2243)
* Add sapling final root test vectors

Also tidy some formatting and imports

* Doc: final sapling roots can be duplicated

* Reverse the byte order of final sapling root test vectors

This makes the test vectors match the byte order in the block header,
rather than the zcashd RPC responses.

* Ignore pre-sapling block header commitments

Previously, Zebra expected this reserved field to be all zeroes,
but some mainnet and testnet blocks had other values.

* Test structural and semantic validation of the block commitment field

History roots are excluded from these tests, because they require
contextual validation.
2021-06-04 10:31:47 -03:00
..
vectors Add final sapling root test vectors (#2243) 2021-06-04 10:31:47 -03:00
command.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00
lib.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00
prelude.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00
transcript.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00
vectors.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00