-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lift Memo
to transaction level
#1222
Comments
Looks like there's a similar discussion over in zcash land: zcash/zips#627 |
A few points to consider:
Those points suggest to me that we would benefit from making the memo be a transaction-level field.
This suggests that in some cases, not including a memo may not reveal additional information about the transaction. So we could even consider making the memo field be optional. Or, perhaps we decide that having 528 bytes per transaction is relatively low overhead compared to the size of actions in a useful transaction, so we may as well require it. |
I think it would make sense for us to have per-transaction
So, I think we just need to replace the current memo with another layer of key wrapping (generate a random key to symmetrically encrypt the memo, and for each output, encrypt it with the key used to encrypt that output's note plaintext. |
I think we want to do this, and also encrypt it with the OVK of the sender, so that in any given transaction with N outputs, there are N+1 wrapped keys. This means that even if you don't get a change note in a given transaction, you can still decrypt the memo you sent. |
You'd get that anyways, I think, because the key used for note encryption is already encrypted to the OVK (that's the |
Memo
to transaction levelMemo
to transaction level
Is your feature request related to a problem? Please describe.
Currently we have memos on a per-Output basis. They are encrypted to a shared key between the sender and the recipient.
Describe the solution you'd like
One alternative is to have a per-transaction
Memo
.Pros:
Cons:
The text was updated successfully, but these errors were encountered: