Commit Graph

3147 Commits

Author SHA1 Message Date
Daira-Emma Hopwood a723dd29dd ZIP 316: formatting fix.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-02-09 20:25:57 +00:00
Daira-Emma Hopwood 81a9c41120 ZIP 316: exclude MUST-understand Metadata Items from the requirement for
Consumers to ignore Items with Typecodes they do not recognise.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-02-09 20:06:53 +00:00
Daira-Emma Hopwood 9fc438fb13 ZIP 320: remove a paragraph that no longer applies.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-02-09 01:36:56 +00:00
Daira-Emma Hopwood 0c4dd0d6e4 ZIPs 316 and 320: drop the "at least one shielded Item" restriction.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-02-09 01:36:51 +00:00
Daira-Emma Hopwood d9ec0e2ae6 ZIPs 316 and 320: change the prefix for Revision 1 to "ur".
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-02-09 01:21:53 +00:00
Kris Nuttycombe 9425d7a68a zip-0316: Expand the metadata typecodes range to start at 0xC0, to provide more space for MUST-understand typecodes. 2024-02-09 01:14:50 +00:00
Daira Emma Hopwood a95a0296ac ZIP 316, Revision 1: Change the Human-Readable Part for Revision 1 unified encodings.
This change ensures that wallets that have not yet been updated to ZIP
316 Revision 1 will fail to recognise Unified Addresses with
MUST-understand metadata, and consequently will not violate any
restrictions imposed on transfers by those metadata items'
requirements.

Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2024-02-09 01:14:50 +00:00
Daira Emma Hopwood 84ef511641 ZIP 316: cosmetics - spell UA/UIVK consistently.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-02-09 01:14:50 +00:00
Kris Nuttycombe d5dd194a40 Reintroduce ZIP 316, Revision 1 changes.
This reverts commit 058b1a6a17.
2024-02-09 01:14:50 +00:00
Daira-Emma Hopwood 265cd39c19
Merge pull request #712 from zancas/zip317
Mark each protocol-specific logical_action as such, and sum across them
2024-02-07 11:58:25 +00:00
zancas 1d0c4ab09b Separate out logical action contributions of each protocol for clarity.
Co-authored-by: Zancas <zancas@zingolabs.org>
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-02-07 11:53:12 +00:00
Daira-Emma Hopwood f8ad3104a5
Merge pull request #777 from daira/zip-0228-stub
Add stub for ZIP 228: Asset Swaps for Zcash Shielded Assets
2024-02-07 03:17:26 +00:00
Daira-Emma Hopwood 60ae531acf Add stub for ZIP 228: Asset Swaps for Zcash Shielded Assets.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-02-06 21:57:28 +00:00
Daira-Emma Hopwood 16e534637a
Merge pull request #766 from nuttycom/zip_0320-ua_must_understand
ZIP 320: Specify Alternative 2 in terms of a MUST-understand metadata item
2024-02-05 15:42:43 +00:00
Daira Emma Hopwood e2d7738bb6 ZIP 320: Define the semantics of Source Restriction Metadata Items in UVKs.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-02-04 15:17:20 +00:00
Kris Nuttycombe 1019792188 ZIP 320: Specify Alternative 2 in terms of a MUST-understand metadata item. 2024-01-25 22:07:53 -07:00
Conrado Gouvea fee271c03d
Merge pull request #764 from nuttycom/revert_316_r1
Revert "Merge pull request #759 from nuttycom/zip-316/ua-expiry"
2024-01-25 10:12:02 -03:00
Kris Nuttycombe 058b1a6a17 Revert "Merge pull request #759 from nuttycom/zip-316/ua-expiry"
This reverts commit 7064e8229a, reversing
changes made to 82f98ec91b.

Revision 1 will be amended to include a change to the Human-Readable
Part of UA/UVK encodings in order to ensure that MUST-understand
metadata cannot be ignored by existing wallets.
2024-01-24 18:48:31 -07:00
str4d 7064e8229a
Merge pull request #759 from nuttycom/zip-316/ua-expiry
ZIP 316: MUST-understand Metadata Items and Address Expiration Metadata
2024-01-19 23:58:10 +00:00
Daira Emma Hopwood b0de22d1e2 ZIP 316, Revision 1: Clarify relation of "MUST-understand" typecodes to derivation.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-18 19:43:16 +00:00
Kris Nuttycombe e05c7faa30 ZIP 316, Revision 1: Clarify constraints with respect to expiry times. 2024-01-18 19:40:11 +00:00
Kris Nuttycombe 5b92bcd076 ZIP 316, Revision 1: Apply suggestions from code review
Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-18 19:40:11 +00:00
Kris Nuttycombe 099ef4397f ZIP 316, Revision 1: Clarify that address expiration metadata is optional. 2024-01-18 19:40:11 +00:00
Kris Nuttycombe 34ac94b73c ZIP 316, Revision 1: Address Expiration Metadata
This change adds metadata that allows a user to specify either an expiry
height or an expiry time (or both) for their addresses, and specifies
how wallets should interpret expiry metadata.

Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-18 19:40:11 +00:00
Kris Nuttycombe d4d34ed6ff ZIP 316, Revision 1: MUST-understand metadata items
Reserve a range of metadata typecodes that unified container parsers
must understand; if a parser does not understand a typecode in the
specified range, then it must treat the entire unified address as
unsupported.

Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-18 19:40:11 +00:00
Daira Emma Hopwood 82f98ec91b
Merge pull request #761 from daira/zip-320-formatting
Formatting and CSS improvements
2024-01-15 18:30:10 +00:00
Daira Emma Hopwood c27bc2500e Formatting and CSS improvements:
* ZIP 320: use normal block quote for modified sections of ZIP 316 rather
  than a literal block.
* ZIP 320: add References heading.
* ZIP 320: fix incorrect markup in two references.
* CSS: adjust padding of block quotes and give them a grey background
  (light grey for light theme, dark grey for dark theme).
* Regenerate README and index.

Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-15 18:25:07 +00:00
Kris Nuttycombe 00bbb788f0
Merge pull request #760 from nuttycom/zip-316/t_source_addrs
ZIP 320: Specify alternatives for transparent-source addresses.
2024-01-15 07:34:50 -07:00
Kris Nuttycombe 72b7b25e53
Fix reference to F4Jumble encoding.
Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-15 07:34:37 -07:00
Kris Nuttycombe e11ddc4c91 Apply suggestions from code review
Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-14 19:40:36 -07:00
Kris Nuttycombe 95ec5deb39 ZIP 320: Explain the larger rationale for Unified Addresses in the Alternative 2 analysis section 2024-01-14 08:39:49 -07:00
Kris Nuttycombe a407578c79 ZIP 320: Add examples of expiry date retrieval to Traceable Address reference impl.
The inline Rust reference implementation has been removed; please see the
sample code in the `zcash_address_wasm` library for reference.
2024-01-14 08:39:48 -07:00
Kris Nuttycombe d33a793a93 ZIP 320: The `code-block` rst directive is not supported by rst2html 2024-01-13 13:10:22 -07:00
Daira Emma Hopwood 06d1aea354
Merge pull request #754 from GoodDaisy/main
Fix typos
2024-01-13 19:40:45 +00:00
Kris Nuttycombe 342cd187cc ZIP 320: Add a link to proof-of-concept Traceable Address javascript library. 2024-01-13 12:39:22 -07:00
Kris Nuttycombe a49c9c2fdd
ZIP 320: Fix a bug in TEX encoding javascript.
Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-13 10:35:54 -07:00
Kris Nuttycombe e1f43c6760 ZIP 320: Add a note about user experience downsides to Alternative 1 2024-01-13 09:32:53 -07:00
Kris Nuttycombe 2e103629a6 ZIP 320: Add Background and Analysis sections. 2024-01-13 09:22:46 -07:00
Kris Nuttycombe 9b97740f14
Apply suggestions from code review
Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-13 08:10:59 -07:00
Kris Nuttycombe ae1e49f2af ZIP 320: Specify alternatives for transparent-source addresses.
This provides two alternatives for how to implement
transparent-source-only addresses:
* A new, separate `bech32m` encoding with the `tex` human-readable part
* A modification to Unified Addresses to support the transparent-source
  requirement.
2024-01-12 16:09:24 -07:00
Daira Emma Hopwood 18cda576bc
Merge pull request #758 from daira/zip-320-stub
ZIP 320 stub: Defining an Address Type to which funds can only be sent from Transparent Addresses
2024-01-12 18:42:41 +00:00
Daira Emma Hopwood cc203e0923 ZIP 320: add stub.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-12 18:41:48 +00:00
GoodDaisy 4b2f5c1f5a ZIP 1007: fix typos 2024-01-07 15:30:29 +08:00
GoodDaisy fdd8a6fb60 ZIP 32: fix typos 2024-01-07 15:30:21 +08:00
Daira Emma Hopwood bf21364f78
Merge pull request #749 from daira/zip-321-clarification
ZIP 321: clarify the usage of ``req-`` and add Unified Addresses
2024-01-03 22:52:51 +00:00
Daira Emma Hopwood bc4d78641e This should not be allowed.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-03 22:31:30 +00:00
Daira Emma Hopwood 013b86f800 ZIP 0: Regenerate HTML.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-03 22:19:26 +00:00
Daira Emma Hopwood 1b72b6d065 ZIP 321: regenerate HTML.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-12-25 22:33:59 +00:00
Daira Emma Hopwood 7842c23eda ZIP 321: delete the recommendation not to use the new features.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-12-25 22:33:43 +00:00
Daira Emma Hopwood e6dc1ab660 ZIP 321: updates for Unified Addresses.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-12-25 22:33:43 +00:00