Zebra/book/src
teor 53779d2a3c
Redesign Sapling data model for V5 shared anchor and spends (#2021)
* Redesign Sapling data model for V5 shared anchor and spends

The shared anchor is only present if there are any spends.

As part of this change, delete the manual PartialEq impl and its tests,
because we can derive PartialEq now.

* Stop creating a temporary Vec for the spend and output iterators

* Rename TransferData variants

Interactive rename using the following commands:
```sh
fastmod Spends SpendsAndMaybeOutputs
fastmod NoSpends JustOutputs
```

* Refactor out common sprout nullifier code

* Implement the AtLeastOne constrained vector type

This vector wrapper ensures that it always contains at least one element.

* Simplify Sapling TransferData using AtLeastOne

Also update the RFC to use AtLeastOne for Orchard.
2021-04-20 16:22:25 +10:00
..
dev Redesign Sapling data model for V5 shared anchor and spends (#2021) 2021-04-20 16:22:25 +10:00
user Update grafana instructions 2021-03-01 16:50:06 -05:00
CONTRIBUTING.md Reorganize the book. (#843) 2020-08-06 15:39:54 -07:00
README.md Reorganize the book. (#843) 2020-08-06 15:39:54 -07:00
SUMMARY.md RFC: state updates (#902) 2020-09-21 12:05:31 -07:00
api.md Reorganize the book. (#843) 2020-08-06 15:39:54 -07:00
dev.md Add issue and PR templates, document RFC process 2020-08-31 00:58:50 -04:00
user.md Add issue and PR templates, document RFC process 2020-08-31 00:58:50 -04:00

README.md

{{#include ../../README.md}}