Commit Graph

2066 Commits

Author SHA1 Message Date
Daira Hopwood 1ea9859e14 ZIPs 205 and 208: conformance language.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-12 06:43:35 +00:00
Daira Hopwood 9a4ebc97ba ZIP 208: "at least" -> "greater than". refs https://github.com/ZcashFoundation/zebra/issues/1276
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-12 06:42:15 +00:00
Daira Hopwood 8c289078cb Change the specification of minimum-difficulty blocks to reflect the zcashd implementation
(which alters nBits rather than just the target threshold). fixes #416

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-11 21:43:53 +00:00
Daira Hopwood 806076c48c ZIP 205 and 208: ensure that specification of minimum difficulty blocks matches zcashd.
Fixes https://github.com/ZcashFoundation/zebra/issues/1276 .

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-10 15:32:59 +00:00
Daira Hopwood 8b311e9651
Merge pull request #409 from amiller/1014-update
[ZIP 1014] Updates for Bootstrap Project
2020-11-10 15:22:18 +00:00
Daira Hopwood ca17b7f5f2 ZIP 207: rename ECC slice to BP slice.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-10 15:20:41 +00:00
Daira Hopwood 6f2a534deb ZIP 1014: refer to current Community Advisory Panel and define it in the Terminology section.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-10 15:20:19 +00:00
Daira Hopwood 03e57714c1 ZIP 207: remove example implementation and add links to zcashd PRs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-10 14:55:48 +00:00
Daira Hopwood ef94502ba3 ZIP 307: update to reflect corrections in protocol spec v2020.1.15.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-10 14:51:57 +00:00
Daira Hopwood 1d30b9fe88 ZIP 202: cosmetics, and make "Transaction Validation" a subsection of "Specification".
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-11-10 14:50:34 +00:00
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 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 2f75f92fea
Update wording to reflect the fact that the Founders' Reward was not directed to a 501(c)3 2020-11-03 18:25:10 +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 a34ef1a152
Remove "of the Code" since "Section 501(c)(3)" is now defined terminology 2020-11-03 15:33:41 +00:00
Andrew Miller 07c18efafc bootstrap updates to 1014
fixes after comments

remove some redundant

typo fix

Co-authored-by: Daira Hopwood <daira@jacaranda.org>

undo space changing

reference

Apply suggestions from code review

Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-10-28 23:27:08 -05: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