Commit Graph

1897 Commits

Author SHA1 Message Date
Daira Hopwood 850e7ea019 Correct an off-by-one in an expression used in the definition of c for windowed Pedersen commitments
(this does not change the value of c).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-17 21:32:15 +01:00
Daira Hopwood 243de7399d ZIP 304: more cosmetics (math fonts).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 19:50:08 +01:00
Daira Hopwood 9dee5a8700 ZIP 304: cosmetics (math fonts).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 19:42:42 +01:00
Daira Hopwood 6e5278ed95 Canopy ZIPs: update status and references to the protocol spec.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 16:28:15 +01:00
Daira Hopwood bd755610ac ZIP 212: update status to Implemented (zcashd).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 16:13:57 +01:00
Daira Hopwood e975aacb0e ZIP 212: add links to implementation PRs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 16:08:42 +01:00
Daira Hopwood de0b5de140 ZIP 212: updates for grace period.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 16:07:59 +01:00
Daira Hopwood b83f2b9542 Regenerate PDFs. 2020-08-11 14:44:38 +01:00
Daira Hopwood e1cac0c48a Make the Canopy specification the default.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 13:56:46 +01:00
Daira Hopwood 19ba684f2c Minor wording improvement.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 13:56:19 +01:00
Daira Hopwood 55c51715b5 Cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 13:56:08 +01:00
Daira Hopwood 7032c07fb8 Make Halving(height) return 0 (rather than -1) for height < SlowStartShift.
This has no effect on consensus since the Halving function is not used in that case,
but it makes the definition match the intuitive meaning of the function.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 13:55:38 +01:00
Daira Hopwood d117273977 Refine the domain of HeightForHalving from N to N^+.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 13:54:06 +01:00
Daira Hopwood 9dbac78f29 Rename some section titles under 'Consensus Changes from Bitcoin' to use 'Encoding and Consensus'.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 13:52:58 +01:00
Daira Hopwood 6fbe17da59 Updates to reflect ZIP 211: add a consensus rule on v^pub_old, and a rule about node and wallet support for sending to Sprout addresses.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 13:49:36 +01:00
Daira Hopwood 1d71f6cb31 Rename the type of Sapling transmission keys from KA^Sapling.PublicPrimeOrder to KA^Sapling.PublicPrimeSubgroup.
This type is defined as J^(r), which reflects the implementation in zcashd (subject to the point below);
it was never enforced that a transmission key (pk_d) cannot be the zero point.

Add a non-normative note saying that zcashd does not fully conform to the requirement to treat
transmission keys not in KA^Sapling.PublicPrimeSubgroup as invalid when importing payment addresses.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 13:43:00 +01:00
Daira Hopwood e1037ff046 Wording improvements.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 01:57:49 +01:00
Daira Hopwood d11304c7d1 Add indexing for "halving".
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 01:54:48 +01:00
Daira Hopwood a651ad7fe7 Modify funding stream tables and notes to reflect changes in ZIP 214.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 01:52:06 +01:00
Daira Hopwood fd2416d9ea Set CanopyActivationHeight for Testnet.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-11 01:48:59 +01:00
Daira Hopwood fb64b2e430 Regenerate PDFs. 2020-08-03 12:19:11 +01:00
Daira Hopwood 17def33bf8 Use abstBytes_{Ed25519} and reprBytes_{Ed25519} for conversions in Ed25519 batch signature validation, and
fix a missing requirement that S_j < \ell for all signatures.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-03 12:14:34 +01:00
Daira Hopwood ff3c7c2bce Move the footnote about (x, y) notation for Ed25519 to where this notation is first used.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-03 12:11:08 +01:00
Daira Hopwood 13b6f0e120 Delete a potentially misleading Sprout-specific comment.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-03 12:10:20 +01:00
Daira Hopwood 31b844c37c Give a definition for SHA-512. Also some refactoring of hash macros.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-03 12:09:33 +01:00
Daira Hopwood 6a4b1f5f6c Add a reference to [BCCGLRT2014].
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-03 12:05:33 +01:00
Daira Hopwood 408a0a744c ZIP 32: fix an off-by-one error pointed out by @bigbrain.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-31 17:27:27 +01:00
Daira Hopwood 9a6aa31d93 ZIP 32: correction for seeds longer than 32 bytes. refs https://github.com/zcash/zcash/issues/4641
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-29 20:07:07 +01:00
Daira Hopwood 60db5fe85d ZIP 32: fixes https://github.com/zcash/zcash/issues/4641
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-29 19:33:49 +01:00
Daira Hopwood c25fc6e899 ZIP 212: fix typo.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-29 14:52:41 +01:00
Daira Hopwood 8116ff7b90
Merge pull request #385 from daira/zip-214-update
Update the funding stream start and end heights and addresses for the Dev Fund on Testnet, and set the Canopy Testnet activation height
2020-07-28 17:58:12 +01:00
Daira Hopwood 03be5a67c0 ZIP 251: set Canopy Testnet activation height.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-25 01:59:04 +01:00
Daira Hopwood 63922ecb63 Update the funding stream start and end heights for the Dev Fund on Testnet.
The old heights were incorrect because the different activation heights for Blossom
on Mainnet and Testnet had not been taken into account. Also, Testnet requires 3 extra
addresses for each stream, to account for the start height being before the first halving.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-25 00:04:19 +01:00
Daira Hopwood 4b1e4829b8 ZIP 1014: regenerate HTML (Howard Loo removed from credits on his request).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-20 22:32:40 +01:00
Daira Hopwood f8930bb489
Merge pull request #383 from hloo/patch-1
Remove Howard Loo from credits section
2020-07-20 22:30:13 +01:00
Daira Hopwood b0fcda8dfd Publish ZIP 304: generate HTML and index.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-19 00:45:06 +01:00
Deirdre Connolly 97aa6bf1ca Add prefix on the base64 encoding of sigs for zip304
And give a reference to Base64 RFC
2020-07-19 00:44:08 +01:00
Jack Grigg 206ac7e65f ZIP 304: Sapling Address Signatures 2020-07-19 00:44:08 +01:00
Howard Loo 6d5f557c7d
Remove Howard Loo from credits section
I request that my name please be removed from this ZIP. I do not support it and as a member of the Community Panel I voted against it. I merely provided @tromer with some brief feedback one evening about the copyright portions of the ZIP. I did give permission for my name to be mentioned publicly as having provided feedback, but I did not realize that my name would be part of the actual ZIP text. Thank you for considering my request.
2020-07-15 09:26:24 -07:00
Daira Hopwood 1e6b2f8815 Regenerate PDFs. 2020-07-13 18:54:03 +01:00
Daira Hopwood b2f033f84d Add spec changes for ZIPs 207 and 214.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-13 18:45:16 +01:00
Daira Hopwood bc809dae5d Add note about full viewing key decryption of mempool transactions.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-13 18:45:16 +01:00
Daira Hopwood 0248a44a05 Change instances of "the production network" to "Mainnet", and "the test network" to "Testnet".
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-13 18:45:16 +01:00
Daira Hopwood baad229598 Update stale references to Bitcoin documentation.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-13 18:45:16 +01:00
Daira Hopwood 5d2a48ce9d Regenerate PDFs. 2020-07-07 00:25:02 +01:00
Daira Hopwood a67b74aede Corrections to a note in section 'Ed25519'.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-07 00:21:14 +01:00
Daira Hopwood 9473b9d4af Regenerate PDFs. 2020-07-06 23:10:15 +01:00
Daira Hopwood 0bfbbd54e2 Cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-06 22:58:29 +01:00
Daira Hopwood 4d148920ae Add a missing cross reference for Jubjub.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-06 22:58:29 +01:00
Daira Hopwood 5e8ae9bb89 Precisely specify the encoding and decoding of Ed25519 points.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-07-06 22:58:29 +01:00