diff --git a/standards/application/qaku.md b/standards/application/qaku.md index 096f7ac..8b5384c 100644 --- a/standards/application/qaku.md +++ b/standards/application/qaku.md @@ -44,18 +44,29 @@ The owner MUST be able to enable and disable questions added to the board. ### Node +The Qaku application SHOULD connect to the default Waku `pubsub_topic`. +When a user accesses the Qaku app, +the user joins a new session that SHOULD create a new `content_topic`. +When the user exits the Qaku app, +the session ends but the `content_topic` remians available on the Waku network for other users to connect to. + Qaku uses the following [10/WAKU]() protocols: - the [19/WAKU2-LIGHTPUSH](https://github.com/vacp2p/rfc-index/blob/main/waku/standards/core/19/lightpush.md) to push a message type to the Waku network. - the [12/WAKU2-FILTER]() to subscribe to Waku `content_topic` and listen to messages published to that topic. -- the [13/WAKU-STORE]() +- the [13/WAKU-STORE]() to query and load old messages from the Waku network for users. - A new `content_topic` is created when a new Q&A board is created. - All questions and answer are pushed to the content_topic ### Messages + The Waku network processes real-time message updates, which enables new questions and answers to be acceisble quickly. -Messages sent to a `content_topic` are identified by a `message_type`. +A conec ulti +Messages are sent to a `content_topic` that are identified as a `message_type`. + +The [13/WAKU-STORE]() nodes provide historical storage of the Qaku messages. + The following `message_type`s used in Qaku include: - Question Message @@ -67,7 +78,10 @@ The following `message_type`s used in Qaku include: #### Question Message -The `QuestionMessage` is generated by any user asking a new question on a Qaku board. +The `QuestionMessage` type is generated by any user asking a new question on a Qaku board. + +- + ```js { @@ -83,7 +97,8 @@ The `QuestionMessage` is generated by any user asking a new question on a Qaku b #### Answered Message -The `Answer +The `AnswerMessage` type is generated by any sending an answer to the Qaku board. +- ```js {