Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
  • Loading branch information
daira and nuttycom authored Nov 6, 2024
1 parent 2c9772f commit ddc53dc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions zips/zip-0231.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ so the resulting decryption algorithm does not meet standard security notions
for an authenticated encryption scheme. It is a goal of this proposal to
rectify this, simplifying the security argument.

In the light client protocol, a recipient need not download full transaction
information if the compact transaction information indicates that they do not
receive any memo in the transaction.
Instead of the memo data, this ZIP proposes that it is possible to indicate whether
a memo is present for the recipient. When using the light client protocol, a recipient
need not download full transaction information if this indication tells them that they
have not received any memo in the transaction.

At present, it is not possible to transmit the same memo data to multiple
transaction recipients without redundantly encoding that data, and sending
Expand All @@ -78,7 +79,8 @@ while decreasing the amount of data that needs to be stored on-chain overall.
- The exact number and exact lengths of distinct decryptable memos should not
be revealed, even to the transaction recipients, although an upper bound on
the total length of memo data that the observer does not have the capability
to view will be leaked.
to view will be leaked to transaction recipients, and the overall maximum possible length of
memo data will be revealed on-chain.
- A recipient can determine whether or not they have been given the capability
to view any memo solely by decrypting the note ciphertext.
- Memo chunks within a transaction can be individually pruned from block storage
Expand Down Expand Up @@ -514,6 +516,8 @@ TBD

[^stream]: [Online Authenticated-Encryption and its Nonce-Reuse Misuse-Resistance](https://eprint.iacr.org/2015/189)

[^zip-0302]: [ZIP 302: Standardized Memo Field Format](zip-0302.rst)

[^zip-0307]: [ZIP 307: Light Client Protocol for Payment Detection](zip-0307.rst)

[^zip-0317]: [ZIP 317: Proportional Transfer Fee Mechanism](zip-0317.rst)
Expand Down

0 comments on commit ddc53dc

Please sign in to comment.