Update qaku.md

This commit is contained in:
Jimmy Debe 2025-07-29 13:48:43 -04:00 committed by GitHub
parent c370dfbd73
commit 4ed8bf79e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
{