Commit Graph

2019 Commits

Author SHA1 Message Date
Daira Hopwood b882644b01 ZIP 403 stub: Verification Behaviour of zcashd
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-06 14:21:16 +01:00
Kris Nuttycombe c41d94d53d
Merge pull request #403 from daira/zip-0321-addresses
ZIP 321 address-related updates
2020-10-03 18:04:07 -06:00
Daira Hopwood 8c4e0b5e14 ZIP 321: Add restrictions on addresses and split the URI Syntax section into Syntax and Semantics.
Also tidy up references.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-03 20:03:51 +01:00
Daira Hopwood b7c849f85c ZIP 321: Sapling addresses are not base58.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-03 20:03:51 +01:00
Daira Hopwood ebe3839640
Merge pull request #402 from nuttycom/zip-0321-tweaks
ZIP 321 tweaks
2020-10-02 16:51:18 +01:00
Daira Hopwood e82757b7a6 ZIP 321: regenerate HTML.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-02 16:48:15 +01:00
Daira Hopwood 45f7c632d2 ZIP 321: double blank line before top-level sections.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-02 16:48:03 +01:00
Daira Hopwood a9a78b6e3d ZIP 321: clarify where percent encoding is allowed.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-02 16:47:38 +01:00
Daira Hopwood eee512bda4 ZIP 321: require that amounts are no greater than 21000000 ZEC.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-02 16:27:03 +01:00
Daira Hopwood c195d8877b ZIP 321: Expand on backward compatibility.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-02 16:26:34 +01:00
Kris Nuttycombe bc6a1a0554 Strengthen request for use of hier-part for addresses in single-payment URIs. 2020-10-02 08:18:13 -06:00
Kris Nuttycombe 099c389046 Add restriction on param indices to be at most 4 digits. 2020-10-01 11:35:22 -06:00
Daira Hopwood bcfafc268d
Merge pull request #401 from nuttycom/fix/zip-0321_t_memos
Fix invalid ZIP-0321 sample URL.
2020-09-30 22:36:08 +01:00
Kris Nuttycombe 5e15a53b22 Fix invalid ZIP-0321 sample URL.
This sample URI inadvertently contained a memo at the paramindex
for a transparent address.
2020-09-30 12:17:32 -06:00
Daira Hopwood 9cc2a8200d ZIP 222: generate HTML and index.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-09-29 17:39:09 +01: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
Jack Grigg 26b80bf3c2 [ZIP ???] Whitelisted Transparent Programs 2020-09-29 16:51:46 +01:00
Daira Hopwood a78a1291fa ZIP 321: rST fixes; generate HTML and index.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-09-24 18:53:28 +01:00
Daira Hopwood 70e5729e79
Line wrapping 2020-09-24 18:48:05 +01:00
Daira Hopwood e4e589a223
base64 -> base64url 2020-09-24 18:42:33 +01:00
Kris Nuttycombe 05daae97ac
Add multiple-payments as a feature to be considered under the grace period clause.
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-09-24 09:46:38 -06:00
Daira Hopwood ae5ebe4b54
Clarifications
Cosmetics.
2020-09-24 16:44:45 +01:00
Daira Hopwood 57cd724f71
Clarifications
Co-authored-by: Kris Nuttycombe <kris.nuttycombe@gmail.com>
2020-09-24 16:44:10 +01:00
Kris Nuttycombe e2ffce08e3 Remove param.0 qualification, as it's invalid. 2020-09-24 09:26:40 -06:00
Kris Nuttycombe 27ac9af545
Mark ZIP as Proposed
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-09-24 07:56:57 -06:00
Daira Hopwood 0fd0a89fd3
Delete a confusing sentence. 2020-09-24 14:35:10 +01:00
Daira Hopwood 38b45cdac2
Treat an empty paramindex as equivalent to .0 2020-09-24 14:33:54 +01:00