Commit Graph

2302 Commits

Author SHA1 Message Date
Kris Nuttycombe 09597dd1ee
Apply suggestions from code review
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2021-03-17 11:54:51 -06:00
Kris Nuttycombe 9627ad7c49 Fix zip-0222 reference. 2021-03-17 11:54:07 -06:00
Kris Nuttycombe fbddfafef4 Update the alternatives section of ZIP-0225 to reflect the adopted alternative. 2021-03-17 11:28:13 -06:00
Daira Hopwood cec8b904c5 Regenerate PDFs. 2021-03-17 02:11:38 +00:00
Daira Hopwood 36074af67b Version 2021.1.18:
* Define unified payment addresses in place of the Bech32 form of Orchard addresses.
* Remove Sprout-specific fields from the v5 transaction format.
* The rho value for an Orchard output note was incorrectly described as being derived from
  rseed, instead of being set to the nullifier from the same action description as intended
  (fixes #459 ).
* The psi value is now derived using the PRF^expand input [9], instead of [10] (refs #459 ).
* Correct a note about the range of the Merkle hash inputs in \crossref{actionstatement}.
* Correct the validity condition for ak in \crossref{orchardfullviewingkeyencoding}.
* Add a definition for K^Orchard in \crossref{commitmentsandnullifiers} (fixes #460 ).
* Correct the number of full and partial rounds for Poseidon.
* Add a note explaining the origin of the 2^{65} constant in the definition of PoseidonHash.
2021-03-17 02:06:38 +00:00
Daira Hopwood 27a39088d6 Regenerate PDFs. 2021-03-15 16:27:53 +00:00
Daira Hopwood bed110f816
Merge pull request #441 from daira/orchard-circuit
NU5 specification
2021-03-15 16:22:53 +00:00
Daira Hopwood ad032d456a More WIP:
* fix the use of inputs to PRF^expand in Orchard note encryption;
* rename "hash extractor" to "coordinate extractor";
* miscellaneous minor fixes;
* set date of Change History entry.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood 37d8221c4d Mainly fixes to the Action statement.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood d79de34b4a Update key components diagram.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood 7cc31111bb Yet more WIP. Nullifier derivation for Orchard is correct now.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood f6fb3c80d7 More WIP.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood 6ac5901a42 More WIP, and rename orchard.pdf to nu5.pdf.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood dae8852187 More Orchard WIP.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood e62d57959e More WIP.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood 6453611314 * More Orchard WIP;
* The definition of a represented group abstraction function incorrectly required canonicity;
* Note about non-canonical encodings in the Jubjub gave incorrect values for encodings of the point of order 2;
* Change the spec of decryption with ovk to match zcashd (by adding \bot and subgroup checks);
* Add a note saying that a node impl that checkpoints on Sapling can omit verifying BCTV14 proofs.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood 68cb4c6d5f Font hack to make sure that italic bold is not too wide.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood a81cfdb693 More WIP!
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood ad9c631ee0 More WIP for Orchard, including hashing to Pallas and Vesta.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood 6215dce577 More WIP
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood 0b6faf673d Update spec for Orchard up to and including section 3 (Concepts).
This includes the key derivation diagram in section 3.1.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood 300df42bf3 More WIP for Orchard
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood c2c4160151 WIP: Orchard
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-15 16:18:54 +00:00
Daira Hopwood 7cf44fe6bc
Merge pull request #458 from daira/zip-216-redundancy
ZIP 216: non-canonical encodings of SpendDescription.{cv, rk} and OutputDescription.{cv, epk} will already be rejected
2021-03-13 10:08:51 +00:00
Daira Hopwood b336b8936d ZIP 216: non-canonical encodings of SpendDescription.{cv, rk} and OutputDescription.{cv, epk} will already be rejected.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-11 18:53:45 +00:00
Daira Hopwood 18d30f3f82 ZIP 216: specify the requirement for pk_d and ak in imported addresses and FVKs to be in the prime-order subgroup.
This is not a consensus rule, so MAY be enforced before NU5 activation.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-10 16:01:55 +00:00
Daira Hopwood 1c663f53cd _config.yml: attempt to fix unreliable GitHub pages updates.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-07 19:51:37 +00:00
Daira Hopwood 5df826f0f6 ZIP 244: formatting fix.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-07 19:34:11 +00:00
Daira Hopwood 65ce3b9c55 Make sure that headings are larger than body text.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-07 19:29:54 +00:00
Daira Hopwood 58b4f05984 ZIP 225: editorial updates, generate HTML.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-04 03:41:19 +00:00
Daira Hopwood 4e2e7a64e8
Merge pull request #446 from teor2345/zip-252-nu5
[ZIP 252] Network Upgrade 5
2021-03-04 03:40:17 +00:00
Daira Hopwood 7e21ab57ac Push draft of NU5 spec.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-04 03:27:02 +00:00
Daira Hopwood 45e175512e ZIP 32: fix a type error in dk derivation for Orchard.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-03 22:48:38 +00:00
Daira Hopwood 81136fe7ab ZIP 245: add Created date.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-03 16:47:59 +00:00
Daira Hopwood 559291b192 ZIPs 224, 225 and 245: add MIT licensing.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-03 16:34:12 +00:00
Daira Hopwood f06f5539d8 ZIP 224 and 225: add Created dates.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-03 16:23:50 +00:00
Daira Hopwood e95695d3bf
Apply suggestions from code review 2021-03-03 15:32:34 +00:00
Kris Nuttycombe 9a4b2e9afe
Update zip-0225.rst
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2021-03-02 20:24:28 -07:00
Kris Nuttycombe 0fc45a53ca Proposal to remove Sprout fields from the V5 transaction format. 2021-03-02 17:58:12 -07:00
Daira Hopwood ecec91883b
Merge pull request #448 from str4d/zip-224
Updates to ZIP 32 and ZIP 224 for Orchard
2021-03-02 22:22:18 +00:00
Daira Hopwood 62c31fda89 ZIP 224 editorial changes.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-02 22:21:26 +00:00
Daira Hopwood e40bb506ab ZIP 32 editorial updates.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-03-02 22:20:42 +00:00
Daira Hopwood e79401a10c Apply suggestions from ZIP review
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2021-03-02 22:20:42 +00:00
Jack Grigg dd8b82f567 ZIP 32: Address Orchard review comments 2021-03-02 22:20:42 +00:00
Jack Grigg 9cae4aeedc ZIP 224: Motivation 2021-03-02 22:20:42 +00:00
Jack Grigg 95ea11de9d ZIP 32: Clarify the diversifier key capabilities of an Orchard fvk 2021-03-02 22:20:42 +00:00
Jack Grigg 2ae31ccdb7 ZIP 224: Minor fixes 2021-03-02 22:20:42 +00:00
Jack Grigg 6fa961877c ZIP 224: The normative reference for Orchard is the protocol spec 2021-03-02 22:20:42 +00:00
Jack Grigg 630280869e ZIP 224: Clarify that the IETF hash-to-curve ID is not normative 2021-03-02 22:20:42 +00:00
Jack Grigg 2961726557 ZIP 224: Additional rationale
This is in addition to the design rationale included by reference.
2021-03-02 22:20:42 +00:00