Commit Graph

3011 Commits

Author SHA1 Message Date
Deirdre Connolly 110fe1a84e ZIP 316: Update wording for Transparent P2PKH Receiver derivation.
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 23:32:02 +00:00
Deirdre Connolly 682308e33b ZIP 32: There will not be a zcashd 4.5.2, there will be 4.6.0. 2021-12-08 21:24:55 +00:00
Daira Hopwood 0db40ef927 ZIP 32: Note that legacy Sapling addresses use hardened derivation for `address_index`. 2021-12-08 21:24:51 +00:00
Daira Hopwood d325f0b3b4 ZIP 316: Fix link.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:29:03 +00:00
Daira Hopwood 0e83a55a05 ZIP 316: Clarify requirements for HD-derived items and remove redundancy.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood 208d9b39c1 ZIP 316: Update Sapling and transparent viewing key encodings.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Jack Grigg 026977744c ZIP 316: Fix bug in transparent constraint on diversifier index
The largest valid integer for any BIP 32 path element with a defined
hardening state (in this case, non-hardened) is 2^32 - 1 (being the
31-bit integer with all bits set to 1). The range of valid diversifier
indices for transparent-including UAs is defined as end-inclusive in
the ZIP, but used the end-exclusive bound 2^32.
2021-12-08 00:27:08 +00:00
Jack Grigg 78b7d8489f ZIP 32: Revert all refinements
The hardened change path approach is being dropped. ZIP 316 will include
separate amendments (to be made later) that derive change addresses
within each protocol's key tree, instead of at the spend authorization
level.
2021-12-08 00:27:08 +00:00
Daira Hopwood dfdb4242f5 ZIP 32: Change the address index used to derive "legacy" Sapling addresses to 0x7FFFFFFF.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood 9a4df93e97 Cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood 5c402793c3 Corrections for Orchard Viewing Keys.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood 880bf02301 Don't use UFVK or UIVK when referring to Viewing Key components.
(A UFVK or UIVK is properly only the whole thing.)

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood b85a249a59 ZIP 316: clarify how P2PKH addresses are derived.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood 4d0477ce5f ZIPs 32 and 316: refine how UIVK components are derived for Orchard and Transparent P2PKH.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood 4d536ff421 ZIP 32: Add a note saying how zcashd uses a non-hardened `address_index` path level for Sapling.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood 9dbe0a50f7 ZIP 32: minor wording changes.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-08 00:27:08 +00:00
Daira Hopwood ea53ac9d6f links_and_dests.py: fix false positive "Missing link target" errors for links into rendered BIPs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-03 14:54:22 +00:00
Daira Hopwood c3dac4e458 Regenerate PDFs. 2021-12-01 18:16:14 +00:00
Daira Hopwood 82c4e49155 Set Change History entry date.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-01 18:09:12 +00:00
Daira Hopwood d6a33fc056 Add note about resistance of note encryption to partitioning oracle attacks \cite{LGR2021}.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-01 18:09:12 +00:00
Daira Hopwood 67a4b35dcd Add acknowledgement to Sasha Meyer.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-01 18:09:12 +00:00
Daira Hopwood eab1ef1a1a Add acknowledgement to Mihir Bellare for contributions to the science of zero-knowledge proofs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-01 18:09:12 +00:00
Daira Hopwood 36252cebf6 Add "note commitment scheme" as a term.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-01 18:09:12 +00:00
Daira Hopwood 089a9cb8be Make consistent use of "spending authority", and add this term to the index.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-01 18:09:12 +00:00
Daira Hopwood 4da403f470 Add notes in each Appendix B that z_j may be sampled from {0 .. 2^{128}-1} instead of {1 .. 2^{128}-1}.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-01 18:09:12 +00:00
Daira Hopwood e539eeb9a8 ZIP 416: Change title to be more general than RPC support.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-12-01 18:07:44 +00:00
Daira Hopwood 49df75d888 ZIP 221: fix broken links.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-10-02 01:06:21 +01:00
Daira Hopwood 2398e1e012 ZIP 252: fix a reference to ZIP 155.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-10-02 00:53:26 +01:00
Daira Hopwood 474330a8f4 ZIP 155: change peer protocol version for activation of this ZIP to 170017.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-10-02 00:50:02 +01:00
Daira Hopwood d1909fb05a ZIPs 239 and 252: updates for revised testnet activation.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-10-02 00:46:18 +01:00
Daira Hopwood 52abb0c609 ZIP 225: add links to zcashd and librustzcash PRs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-10-02 00:46:17 +01:00
Daira Hopwood 5ced374bf1 Update references to protocol spec from process and consensus ZIPs (0 to 252 inclusive, and 1014).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-10-02 00:46:17 +01:00
Daira Hopwood 1ac6d917b8 Regenerate PDFs. 2021-09-30 17:03:08 +01:00
Daira Hopwood feb864b672 protocol/Makefile: fix `release` target to use `main` branch rather than `master`.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-30 16:56:40 +01:00
Daira Hopwood b1a707e963 Set Change History entry date.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-30 16:56:40 +01:00
Daira Hopwood bab61e8ecf Cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-30 16:56:40 +01:00
Daira Hopwood 97fa264611 * Witness g_d^new and pk_d^new in Orchard as non-identity Pallas points, rather than witnessing
their representations as bit sequences.
* Note that ak^P in Orchard cannot be the identity.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-30 16:56:40 +01:00
Daira Hopwood 7bf094e827 * Use complete addition in SinsemillaCommit.
* Correct the proof of Theorem 5.4.6.
* Change the type of cm_old in Orchard to P rather than P*, i.e. allow the identity point.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-30 16:56:40 +01:00
Daira Hopwood 06706937d5 Change the type of rt^Orchard from P_x to {0..q_P-1}. This reflects the zcashd implementation;
also checking rt^Orchard \in P_x would require a square root and is unnecessary.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-30 16:56:40 +01:00
Daira Hopwood b8f83aac4b Correct the consensus rule about the maximum value of outputs in a coinbase transaction:
it should reference the block subsidy rather than the miner subsidy.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-30 16:56:40 +01:00
Daira Hopwood 5688e5cbbd Fix some cross-references.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-30 16:56:40 +01:00
Daira Hopwood d4cddc0615 ZIP 316: correct wording that assumed zero padding (i.e. had not been updated for inclusion of HRP).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-21 11:16:13 +01:00
Daira Hopwood a31336c9c6
Merge pull request #551 from daira/zip-316-large-ua
ZIP 316: support larger Unified Addresses and Unified Viewing Keys
2021-09-18 21:49:41 +01:00
Daira Hopwood f8529b3186 ZIP 316: Regenerate HTML.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 15:35:50 +01:00
Daira Hopwood 96277a1a14 ZIP 316: Expand "Message Authentication Code", and a wording improvement.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 15:30:56 +01:00
Daira Hopwood 39998c226c ZIP 316: Clarify wording for UFVK or UIVK Encoding, and the reason why P2SH UFVK/UIVKs are not supported.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 14:41:27 +01:00
Daira Hopwood 0e057c3c8c ZIP 316: Clarify that the experimental Typecodes are for use before proposing a ZIP.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 14:33:50 +01:00
Daira Hopwood 17229163f9 ZIP 316: Define a named constant \ell^MAX_M to replace the magic number 4194368.
Also define \ell_H = 64.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 14:26:58 +01:00
Daira Hopwood 067befbb08 ZIP 316: The P2PKH extended public key format can be used in place of a P2PKH-only UFVK/UIVK.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 14:21:18 +01:00
Daira Hopwood a00006d7bd ZIP 316: Clarify conformance levels.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 14:03:43 +01:00