Commit Graph

25 Commits

Author SHA1 Message Date
Daira Hopwood c762d1ca67 Regularize references, especially to RFCs and the Protocol Spec.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-09 15:59:51 +00:00
Daira Hopwood eab1de360a ZIP 222: rST table fixes.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-09-29 17:38:39 +01:00
Kris Nuttycombe 87659ef23b Clarify statement about transparent value balance.
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-09-29 16:51:46 +01:00
Kris Nuttycombe b3355cc2f2 Weaken ZIP-222 constraint on precondition and witness constant-length. 2020-09-29 16:51:46 +01:00
Kris Nuttycombe 061b212274 Remove unnecessary terminology, email addresses & correct quoting.
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-09-29 16:51:46 +01:00
Kris Nuttycombe 374a3fb812 Clarify conditions where only TZE inputs or outputs are present.
Add links to librustzcash & zcashd reference implementation pull
requests.
2020-09-29 16:51:46 +01:00
Kris Nuttycombe 48830325ce Update protocol links
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2020-09-29 16:51:46 +01:00
Kris Nuttycombe 6317563dbd Update zip-0222.rst
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-09-29 16:51:46 +01:00
Kris Nuttycombe 794e8a88f7 Update zip-0222.rst
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2020-09-29 16:51:46 +01:00
Kris Nuttycombe d572d086f5 Clarify "efficient manner" 2020-09-29 16:51:46 +01:00
Kris Nuttycombe 42a707193c Apply suggestions from code review
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2020-09-29 16:51:46 +01:00
Deirdre Connolly fb73913e1d Words - Update zip-0222.rst
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-09-29 16:51:46 +01:00
Kris Nuttycombe 1102c225e6 Minor reordering of zip-222 specification section text. 2020-09-29 16:51:46 +01:00
Kris Nuttycombe fe0c5a294c Clarify precondition encoding. 2020-09-29 16:51:46 +01:00
Kris Nuttycombe 042cf998cb Address review comments. 2020-09-29 16:51:46 +01:00
Kris Nuttycombe 1b1e4d3808 Apply suggestions from code review
Co-authored-by: str4d <thestr4d@gmail.com>
2020-09-29 16:51:46 +01:00
Kris Nuttycombe 64d75e3643 Add encoding of TZE in/out in transactions + consensus rules. 2020-09-29 16:51:46 +01:00
Jack Grigg b3f1e773ee Various small modifications to ZIP 222
- Narrow requirements for prefix-free encodings.
- Clarify that TZEs need to define the four properties for each mode.
- Allow for potential future relaxation of cross-TZE restrictions.
- Expand some explanations.

Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-09-29 16:51:46 +01:00
Jack Grigg 23fee236a4 Remove malleability content from ZIP 222 motivation
This will be part of the non-malleability ZIP.
2020-09-29 16:51:46 +01:00
Jack Grigg aa4c219af4 Add consensus rule preventing cross-protocol attacks between TZEs 2020-09-29 16:51:46 +01:00
Jack Grigg b39847f3db Add TZE modes 2020-09-29 16:51:46 +01:00
Jack Grigg 4df4efa9bc Rename program -> extension 2020-09-29 16:51:46 +01:00
Jack Grigg 5757acc67e Completely remove scriptPubKey and scriptSig usage from ZIP 222 2020-09-29 16:51:46 +01:00
Jack Grigg 07dc209557 Rename ZIP 222 to "Transparent Zcash Extensions"
The content will be reworked to reflect the current design in subsequent
commits.
2020-09-29 16:51:46 +01:00
Jack Grigg caaa34d883 Assigned ZIP number 222 2020-09-29 16:51:46 +01:00