From 5d98ec714a3669526cae667a7a92850285464589 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 13 Jul 2021 23:40:23 +0100 Subject: [PATCH] Add Human-Readable Parts for UVKs. Signed-off-by: Daira Hopwood --- zip-0316.html | 7 +++++++ zip-0316.rst | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/zip-0316.html b/zip-0316.html index 529ca698..006e4d81 100644 --- a/zip-0316.html +++ b/zip-0316.html @@ -196,6 +196,13 @@ Discussions-To: <https://g \(\mathtt{addr}\) field is the raw encoding of the Full Viewing Key or Incoming Viewing Key.

Transparent Addresses do not have separate corresponding viewing keys, but the address itself can effectively be used as a viewing key. Therefore, a UFVK or UIVK MAY include a Transparent Address, which is encoded using the same Typecode and Receiver Encoding as in a Unified Address.

+

The Human-Readable Parts (as defined in [#bip-0350]) of Unified Viewing Keys are defined as follows:

+
    +
  • uivk” for Unified Incoming Viewing Keys on Mainnet;
  • +
  • uivktest” for Unified Incoming Viewing Keys on Testnet;
  • +
  • uview” for Unified Full Viewing Keys on Mainnet;
  • +
  • uviewtest” for Unified Full Viewing Keys on Testnet.
  • +

Requirements for both Unified Addresses and Unified Viewing Keys

    diff --git a/zip-0316.rst b/zip-0316.rst index 4af881f0..434db954 100644 --- a/zip-0316.rst +++ b/zip-0316.rst @@ -361,6 +361,14 @@ Therefore, a UFVK or UIVK MAY include a Transparent Address, which is encoded using the same Typecode and Receiver Encoding as in a Unified Address. +The Human-Readable Parts (as defined in [#bip-0350]) of Unified Viewing +Keys are defined as follows: + +* “``uivk``” for Unified Incoming Viewing Keys on Mainnet; +* “``uivktest``” for Unified Incoming Viewing Keys on Testnet; +* “``uview``” for Unified Full Viewing Keys on Mainnet; +* “``uviewtest``” for Unified Full Viewing Keys on Testnet. + Requirements for both Unified Addresses and Unified Viewing Keys ----------------------------------------------------------------