Commit Graph

2052 Commits

Author SHA1 Message Date
Daira Hopwood c136527758 Regenerate PDFs. 2020-11-06 01:09:37 +00:00
Daira Hopwood 3274aa10de Avoid undefined references when building sprout.pdf.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 9a8f72c5e3 Add release date.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 7999296d7d Minor corrections.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 6e3c173538 Update a comment about BIPs (which is not in the rendered document).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood c278c2f93a Reserve transaction version 0x7FFFFFFF and version group ID 0xFFFFFFFF for experimental use.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 9257be1d1f Add a consensus rule that the (zero-valued) coinbase transaction output of the genesis block cannot be spent.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 917dbf5c46 Add a missing consensus rule that has always been implemented in zcashd: there must be at
least one transparent output, Sapling output, or JoinSplit in a transaction.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 94ec65564c Define Sprout/Sapling chain value pool balances, and include consensus rules from ZIP 209.
This includes updates to ZIPs 209 and 211 for consistency of terminology (also addressing
a nit from the NCC Canopy report).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 71cee89a18 Corrections to note decryption algorithms:
* ephemeralKey is kept as a byte sequence rather than immediately converted to a curve point;
  this matters because of non-canonical encoding.
* The representation of pk_d in a note plaintext may also be non-canonical and need not be in the
  prime subgroup.
* Move checking of cm_u in decryption with ivk to the end of the algorithm, to more closely match
  the implementation.
* The note about decryption of outputs in mempool transactions should have been normative.

Also change ZIP 212 to say that it is aligned with this version of the protocol spec.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 775b5f3b5d Use "let mutable" to introduce mutable variables in algorithms.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 9c9ad74fad Acknowledge Alexandra Elbakyan for her work on Sci-Hub.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 0ed38ec775 Acknowledge Izaak Meckler, Zac Williamson, and Vitalik Buterin for discussions of the protocol.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood a5db85828c Acknowledge Jack Gavigan as a co-designer of Sapling and of the Zcash protocol.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 924fd97422 Remove a statement that the language consisting of key and address encoding possibilities is prefix-free
(the raw encodings are not).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 85b8f1647b Include a reference to [BFIJSV2010] for batch pairing verification techniques.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-06 01:00:58 +00:00
Daira Hopwood 901f807125
Merge pull request #412 from daira/zip214-bootstrap
ZIP 214 changes to add mainnet addresses and take into account Bootstrap Project
2020-11-03 15:39:45 +00:00
Daira Hopwood ff8d70ae6f ZIP 214: ensure consistent naming of funding streams.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-27 14:41:48 +00:00
Daira Hopwood 8095727eaf ZIP 214: wording changes to take account of the role of Bootstrap Project.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-27 14:41:48 +00:00
Daira Hopwood 6f94cb6b70 ZIP 214: add Mainnet funding stream addresses.
These were added to zcashd in https://github.com/zcash/zcash/pull/4700 .

Also rename the funding stream from FS_ZIP214_ECC to FS_ZIP214_BP (see
https://github.com/zcash/zcash/pull/4830), and "ECC slice" to "BP slice".

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-27 13:22:53 +00:00
Daira Hopwood 2c5ab50526 Regenerate index page.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-26 19:10:05 +00:00
Daira Hopwood 9a6f61bc95 Replace the invite link to the zCash Discord (which is overrun by spam) with the ZcashCommunity Discord.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-26 19:07:47 +00:00
Daira Hopwood 6aa2e03ef6 ZIP 212: cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-23 11:32:46 +01:00
Daira Hopwood 18e8643953 Add stubs for ZIPs 217 (Aggregate Signatures) and 313 (Reduce Default Transaction Fee).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-23 11:17:48 +01:00
Daira Hopwood da9e9af6ef Original-Author -> Original-Authors.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-19 14:07:11 +01:00
Daira Hopwood 3a72b4cf60 ZIP 307: cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-16 03:04:30 +01:00
Daira Hopwood e63f046675 ZIP 307: changes needed for ZIP 212.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-16 03:04:14 +01:00
Daira Hopwood b7f9fbb06b ZIP 307: update Owners.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-16 03:01:55 +01:00
Daira Hopwood e72404eeaf ZIP 304: type issues.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-08 15:02:57 +01:00
Deirdre Connolly b4fc3dcb9e
Merge pull request #406 from nuttycom/zip-0321-labels
Clarify "payment" naming, purpose of the "label" field.
2020-10-07 10:25:12 -04:00
Daira Hopwood 15f8fb70ac ZIP 321: regenerate HTML.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-07 15:21:39 +01:00
Kris Nuttycombe 3327bdd2dc
Update zip-0321.rst
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-10-07 08:13:40 -06:00
Kris Nuttycombe 9d6684aa5b Clarify "payment" naming, purpose of the "label" field. 2020-10-06 17:21:44 -06:00
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