Commit Graph

2632 Commits

Author SHA1 Message Date
Simon 31e5ce9847 Update payment disclosure draft ZIP based on comments. 2021-08-24 16:23:55 +01:00
Simon 83033099f5 ZIP: Payment Disclosure 2021-08-24 16:23:55 +01:00
Daira Hopwood 93e5ec04fe
Merge pull request #543 from daira/zip-155
Add ZIP 155 (addrv2 message), and update ZIP 252 to reference it
2021-08-23 16:01:40 +01:00
Daira Hopwood 7dc6682326 Only say that valid, potentially routable addresses SHOULD be gossiped.
(It is up to the node implementation what addresses on each network are considered valid
and potentially routable.)

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-23 15:58:52 +01:00
Daira Hopwood e179eb88c7 ZIP 401: update for wtxid.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-23 15:49:09 +01:00
Daira Hopwood fc6e752b05 ZIP 155: regenerate HTML.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-17 15:50:43 +01:00
Daira Hopwood a9fa1f4d18
Apply suggestions from code review 2021-08-17 15:49:56 +01:00
Daira Hopwood 955a81e9bd
Apply changes from ZIP sync review
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2021-08-17 15:47:42 +01:00
Daira Hopwood 40bf218f1b
Merge pull request #544 from zancas/patch-3
Typo Fix:  Update zip-0201.rst
2021-08-16 21:41:50 +01:00
Daira Hopwood acf3d949eb ZIP 201: regenerate HTML.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-16 21:41:05 +01:00
Za Wilcox df6aff4313
Update zip-0201.rst 2021-08-16 13:44:00 -06:00
Daira Hopwood 11b8688a1d Correct references to the title of ZIP 200.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-15 23:47:48 +01:00
Daira Hopwood 784c889d00 Change planned activation date of NU5 on mainnet to mid-to-late November 2021.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-15 23:45:29 +01:00
Daira Hopwood 57e0f6035d ZIP 155: clarify handling of `addr` messages.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-13 19:43:31 +01:00
Daira Hopwood 9d61bec954 ZIP 155: add Pull-Request field.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-13 17:43:48 +01:00
Daira Hopwood e77ba6bbf0 Add ZIP 155 (addrv2 message), and update ZIP 252 to reference it.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-13 17:41:49 +01:00
Daira Hopwood 473306e4d0 ZIP 252: Support for NU5 on testnet will be implemented in zcashd version 4.5.0, not 4.4.0.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-13 13:49:03 +01:00
Daira Hopwood b5e5276c4a Regenerate PDFs. 2021-08-12 21:48:43 +01:00
Daira Hopwood 3ebba2652a Set Change History entry date.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-12 21:44:17 +01:00
Daira Hopwood 8f8ef49618 Add Change History entry for fixing [ZIP-239] in the References.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-12 21:43:39 +01:00
Marek 01dbecefea Fix a typo in bibliography. 2021-08-12 21:40:29 +01:00
Daira Hopwood 219a4ef253 Clarify wording in the Change History entry for v2021.2.13.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-12 21:38:20 +01:00
Daira Hopwood 8718157af0 Reword the reference to a Sapling full viewing key in \crossref{saplingdummynotes}
(the full viewing key would include ovk, although it is not used in that section).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-12 21:37:35 +01:00
Daira Hopwood b2e0184fe5 ZIP 211: wording improvement suggested by Canopy audit.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-04 15:35:46 +01:00
Daira Hopwood cdb30d10ca ZIP 215: add a citation for reference to https://zips.z.cash/protocol/protocol.pdf#concreteed25519
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-08-04 15:22:46 +01:00
str4d 88bc08b6e3
Merge pull request #538 from daira/zip-316-update
ZIP 316: Define HRPs for Unified Viewing Keys, and include the HRP in the padding
2021-07-30 14:53:05 +01:00
Daira Hopwood 0ae051226e Regenerate PDFs. 2021-07-29 17:35:14 +01:00
Daira Hopwood 045a3a9e54 Cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-29 17:30:21 +01:00
Daira Hopwood a6fd0153d2 Add a consensus rule in \crossref{merkletree} that a block MUST NOT add note commitments that
exceed the capacity of each of the Sprout, Sapling, and Orchard note commitment trees.

Also add a cross-reference for constants used in \crossref{merkletree}.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-29 17:30:21 +01:00
Daira Hopwood 8b8761b302 Regenerate PDFs. 2021-07-29 15:48:31 +01:00
Daira Hopwood 1aefc848bf Change the number of partial rounds, R_P, for Poseidon from 58 to 56.
This matches the number calculated by `calc_round_numbers.py` (for 128-bit security "with margin")
in Version 1.1 of the Poseidon reference implementation.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-29 15:43:24 +01:00
Daira Hopwood cecfb9b0e4 Regenerate PDFs. 2021-07-20 06:05:58 +01:00
Daira Hopwood 411f39e231 Change the definition of inputs to the action circuit to split enableSpends and enableOutputs
into two field elements.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-20 06:00:31 +01:00
Daira Hopwood 5e0769d295 Include the Human-Readable Part in the padding used to check for malleation.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-13 23:51:02 +01:00
Daira Hopwood 5d98ec714a Add Human-Readable Parts for UVKs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-13 23:50:01 +01:00
Daira Hopwood 8c510a1415 Regenerate PDFs. 2021-07-13 15:55:15 +01:00
Daira Hopwood 36e2059de0 Set Change History entry date.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-13 15:50:46 +01:00
Daira Hopwood ffd97926a8 Clarify in \crossref{transactions} that the remaining value in a transparent transaction value pool
is only available to miners as a fee in the case of non-coinbase transactions, and that the remaining
value in the transparent transaction value pool of a coinbase transaction is destroyed.

Co-authored-by: Teor <teor@riseup.net>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-13 15:50:46 +01:00
teor e628134536 Make heightBytes encoding match NU5 coinbase nExpiryHeight
Since nExpiryHeight is limited to `2^32 - 1`, heightBytes is limited to 5 bytes.

Co-authored-by: Teor <teor@riseup.net>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-13 15:50:46 +01:00
Daira Hopwood 819761ef67 Cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-13 15:50:46 +01:00
Daira Hopwood 8c7b2f2a95 Add cross-references for CanopyActivationHeight, ZIP212GracePeriod, and BlockHeight.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-13 15:50:46 +01:00
Daira Hopwood 0ad0d3d57a Clarify that decomposition of scalars for scalar multiplication in the action circuit MUST be canonical,
unless a non-canonical decomposition can be proven to result in an equivalent statement -- and clarify
for which multiplications the latter case applies.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-13 15:50:46 +01:00
Daira Hopwood f97ef3ae72 Remove a spurious reference to rseed in \crossref{sproutinband}. There were no changes for Sprout in ZIP 212.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-13 15:50:46 +01:00
Daira Hopwood 65ff47a022
Merge pull request #536 from daira/zip-316-clarification
ZIP 316: clarify requirements, especially for Unified Viewing Keys
2021-07-13 14:49:20 +01:00
Daira Hopwood fed2bc0438 ZIP 316: more instances of Sender that should be Consumer.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-12 16:04:10 +01:00
Daira Hopwood af1bee056f ZIP 316: clarify requirements, especially for Unified Viewing Keys.
This required introducing the Consumer definition, since a Consumer
of a UVK is not necessarily a Sender.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-12 13:18:31 +01:00
Daira Hopwood 9d6fa7d8ec ZIP 316: add links to implementation PRs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-12 12:20:09 +01:00
Daira Hopwood f0858810a2 Regenerate PDFs. 2021-07-01 20:01:41 +01:00
Daira Hopwood fb83397ad7 Set the Change History entry date.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-01 19:54:54 +01:00
Daira Hopwood 2814e00a1a Cosmetics and cross-referencing improvements.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-07-01 19:54:54 +01:00