From 2468acb9db5a5310725a59a309ba4c3cf9f0bfd3 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Wed, 12 Feb 2020 18:37:28 -0500 Subject: [PATCH] Add some docs to clarify that a Memo is a 'plaintext' type, the parent note will be encrypted --- zebra-chain/src/note_encryption.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zebra-chain/src/note_encryption.rs b/zebra-chain/src/note_encryption.rs index af4f924a6..0186852f3 100644 --- a/zebra-chain/src/note_encryption.rs +++ b/zebra-chain/src/note_encryption.rs @@ -11,7 +11,9 @@ mod sprout; /// A 512-byte _Memo_ field associated with a note, as described in /// [protocol specification ยง5.5][ps]. /// -/// The usage of the memo field is by agreement between the sender and +/// The _Memo- field of a note is a plaintext type; the parent note is +/// what is encrypted and stored on the blockchain. The underlying +/// usage of the memo field is by agreement between the sender and /// recipient of the note. /// /// [ps]: https://zips.z.cash/protocol/protocol.pdf#notept