You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If set to `true` and `confirmContentTopics` are provided, a recurring background [STORE](../standards/core/store.md) query (as described in the `Message Storage API` section) MUST be initiated.
148
-
If set to `true` without `confirmContentTopics`, the background [STORE](../standards/core/store.md) query (as described in the `Messaging Storage API` section) MUST only be initiated after the `Subscribe API` is called.
149
-
If set to `false`, the `stored` property on the `MessageRecord` (defined in the `Message Storage API`) MUST NOT be populated, unless `History API` is triggered.
146
+
This optional property defaults to `true`.
147
+
- If set to `true` and `confirmContentTopics` are provided, a recurring background [STORE](../standards/core/store.md) query MUST be initiated.
148
+
- If set to `true` without `confirmContentTopics`, the background [STORE](../standards/core/store.md) query SHOULD be initiated after the `Subscribe API` is called.
149
+
- If set to `true` and the `Send API` was used, a background [STORE](../standards/core/store.md) query MUST be executed for sent messages.
150
+
- If set to `false`, the `stored` property on the `MessageRecord` MUST NOT be populated, unless the `History API` is triggered.
151
+
For more information about the [STORE](../standards/core/store.md) query and the `MessageRecord`, refer to the `Message Storage API` section.
150
152
151
153
##### `filterConfirmation`
152
154
An optional property that defaults to `true`.
@@ -500,13 +502,20 @@ Message acknowledgement is a background operation that performs the following fu
500
502
- It subscribes to [FILTER](https://github.com/vacp2p/rfc-index/blob/7b443c1aab627894e3f22f5adfbb93f4c4eac4f6/waku/standards/core/12/filter.md) or [RELAY](https://github.com/vacp2p/rfc-index/blob/0277fd0c4dbd907dfb2f0c28b6cde94a335e1fae/waku/standards/core/11/relay.md) and marks messages as `received` when detected.
501
503
- It periodically queries [STORE](../standards/core/store.md) and marks messages as `stored` when available.
502
504
503
-
This operation MUST be initiated if either of the following conditions is met:
505
+
This operation MUST be initiated if any of the following conditions is met:
504
506
- Either `storeConfirmation` or `filterConfirmation` is set to `true` and `confirmContentTopics` is provided.
505
507
- The `Subscribe API` has been initiated for one or more `contentTopics`.
508
+
- The `Send API` has been used for successfully sending messages.
509
+
510
+
The recurring [STORE](../standards/core/store.md) query MUST prioritize nodes in the following order:
511
+
1.`storeNodes` specified in the `Initial Configuration`,
512
+
2.`preferredServiceNodes` if provided, and then
513
+
3. Nodes that are available through network discovery.
506
514
507
-
The recurring [STORE](../standards/core/store.md) query MUST prioritize the `storeNodes` specified in the initial configuration over other available nodes.
508
-
These queries SHOULD occur once every 3 seconds for all `confirmContentTopics` provided in the initial configuration,
509
-
or for those topics for which the `Subscribe API` has been triggered.
515
+
These queries SHOULD occur once every 3 seconds.
516
+
The queries apply to all `confirmContentTopics` provided in the `Initial Configuration`,
517
+
as well as those topics for which the `Subscribe API` has been triggered,
518
+
or for the `message hashes` (computed as per the [MESSAGE](https://github.com/vacp2p/rfc-index/blob/8ee2a6d6b232838d83374c35e2413f84436ecf64/waku/standards/core/14/message.md#deterministic-message-hashing) specification) of successfully sent messages via the `Send API`.
510
519
511
520
Furthermore, if the node’s health status transitions to `unhealthy` (as defined by the `Health API`),
512
521
the periodic [STORE](../standards/core/store.md) query MUST be halted,
0 commit comments