Commit Graph

1931 Commits

Author SHA1 Message Date
Daira Hopwood 3efc1217bd Update ZIP statuses:
* ZIPs 213, 221, 250 -> Final
* ZIPs 207, 251 -> Implemented (zcashd)
* ZIP 1014 -> Active.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-09-05 13:11:28 +01:00
Daira Hopwood de2429ac00 ZIP 211: clarification of the wallet rule, per NCC audit.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-30 21:16:47 +01:00
Daira Hopwood 36b35dbf4a Regenerate PDFs. 2020-08-30 21:12:40 +01:00
Daira Hopwood 906838f3b6 Minor fixes to Change History.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-30 21:07:46 +01:00
Daira Hopwood 4d00112f5d Explicitly state the consensus rule that a coinbase transaction must not spend more than is available from the block subsidy and transaction fees.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-30 21:07:34 +01:00
Daira Hopwood c7180872a3 Specify where PRF^expand is used and with what inputs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-30 21:06:29 +01:00
Daira Hopwood ea59cda07f Fix a type error in the output of PRF^nfSapling; a Sapling nullifier is a sequence of 32 bytes, not a bit sequence.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-30 21:01:51 +01:00
Daira Hopwood b3da7a14ee Remove a silly comment from the LaTeX source.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-30 21:01:51 +01:00
Daira Hopwood 87a0670225 protocol/Makefile: ensure that we don't release from a branch other than master or a dirty working tree.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-30 21:01:50 +01:00
Daira Hopwood 1ce341565f
Merge pull request #392 from str4d/zip-143-test-vector-fixes
ZIP 143 test vector fixes
2020-08-25 15:58:58 +01:00
Daira Hopwood 5cdc09daa4 ZIP 143: regenerate HTML. 2020-08-25 15:58:12 +01:00
Daira Hopwood 017c0c6662 ZIP 400: Add HTML and regenerate index. 2020-08-25 15:53:16 +01:00
Daira Hopwood fee786080f
Merge pull request #372 from oxarbitrage/zip400
ZIP400 - informational wallet db format
2020-08-25 15:47:58 +01:00
Daira Hopwood e783a1bf72
Rewrite Wallet Recovery section
The `-salvagewallet` option doesn't work well in practice, so don't mention it.
2020-08-25 15:47:21 +01:00
Deirdre Connolly 043d08473c
Clarify Sapling z-addr description 2020-08-25 10:41:26 -04:00
Daira Hopwood 639226dd50 Regenerate PDFs. 2020-08-19 22:03:26 +01:00
Jack Grigg b73265fd09 ZIP 143: The test vectors use the Overwinter consensus branch ID 2020-08-19 02:00:44 +01:00
Jack Grigg cf50caf4da ZIP 143: Specify the correct preimages for the test vectors
The test vectors were updated in zcash/zips#162 (after changes to the
Python code that generates them), but the concatenated preimages were
missed.
2020-08-19 01:58:11 +01:00
Daira Hopwood b2a7e1deb0 Fix a type error in the output of PRF^nfSapling.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-17 21:33:05 +01:00
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
Deirdre Connolly d9e23f194b
Tidy recovery
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-08-12 13:05:38 -04:00
Deirdre Connolly f6dcf0fe78
Clarify RPC call to z_getnewaddress
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-08-12 13:03:14 -04:00
Deirdre Connolly 3c031e0c8b
All fields that allow multiple instances are denoted by a * in the table
With cleanups for field descriptions 

Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-08-12 12:58:30 -04:00
Deirdre Connolly 566711de46
Remove reference to removed link
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-08-12 12:43:01 -04:00
Deirdre Connolly 7bd8753fa5
Remove link to ZIP400Attempt
Either we will pull in these format examples directly into this document or not reference this un-merged ZIP at all.

Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-08-12 12:42:15 -04:00
Deirdre Connolly 335f9d0a69
Clarity around wallet.dat migrations between zcashd instances
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-08-12 12:39:31 -04:00
Deirdre Connolly 5929112c4d
Words
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-08-12 12:37:28 -04:00
Deirdre Connolly f029a1a675
Be explicit that this is per zcashd
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-08-12 12:35:47 -04:00
Deirdre Connolly b919012b1e
Monospace 'wallet.dat' 2020-08-12 12:33:01 -04:00
Deirdre Connolly 626aee93ec
Some wording
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-08-12 12:31:15 -04: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