From 2347592aac7a674bd8159d76f9a9b2f8f96e0ddd Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Mon, 10 Jul 2023 15:55:35 +0300 Subject: [PATCH] update protospec to mention consent sigs --- protospec.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/protospec.md b/protospec.md index 56bf534..29391f7 100644 --- a/protospec.md +++ b/protospec.md @@ -70,6 +70,12 @@ interface Msg { } ``` +The `data` object varies: + +- In the first message: `{ add: , nonce: }` +- In subsequent messages: `{ add: , consent: }` + - Where `` is the base58-encoded signature of the string `:identity-add:` where `` is the identity's ID + ## Feed root The root msg for a feed is special, its `metadata` is predictable and can be constructed by any peer. It is a data-less msg with the following shape: