commit 25a8a5b2bce14a07fa2be557ac4cc91b1a0312a1
parent c781c0350e8684d08399de05700d4f247c33f2d3
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Wed, 8 Oct 2025 08:10:22 +0200
dd13 message foramt
Diffstat:
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/design-documents/070-alias-directory-mailbox.rst b/design-documents/070-alias-directory-mailbox.rst
@@ -88,7 +88,7 @@ a ``+`` button and suitable follow-up screens.
**Technical Note**: Alice registers an Alias with the Mailbox URI that corresponds to her Wallet ID (See also :ref:`Mailbox API <api-mailbox>`). The interface does not require Alice to input the URI manually, the Wallet can synthesize the Mailbox URI from an address: ``$MAILBOX_SERVER/SHA512(WalletPublicKey)``.
- **Technical Note**: Supported alias types are found in the ``/config`` endpoint of the mailbox server.
+ **Technical Note**: Supported alias types are found in the ``$TALDIR_SERVER/config`` endpoint.
Alice chooses an alias type and is then prompted to provide her type-specific alias, e.g. *alice@example.com* would be an alias of type *email*.
@@ -240,6 +240,29 @@ alias *disseminators*.
Disseminators will publish the alias-mailbox mapping.
For example, DNS or GNS validators will publish the mappings under zones of the operator.
+Mailbox
+-------
+
+Wire format MailboxMessage:
+
+.. _MailboxMessage:
+.. ts:def:: MailboxMessage
+
+ interface MailboxMessage {
+
+ // Type of message.
+ // A 32 bit integer
+ message_type: Integer;
+
+ // SHA-512 hash over all messages to delete.
+ expiration: Timestamp;
+
+ // The message payload
+ payload: byte[];
+
+ }
+
+
Definition of Done
==================