chore(WAKU2-STORE): address review

This commit is contained in:
rymnc 2022-09-07 09:37:39 +05:30
parent 3369ad7513
commit eeaa58b797
No known key found for this signature in database
GPG Key ID: C740033EE3F41EBD

View File

@ -21,7 +21,9 @@ As such, they are required to be *highly available* and in specific have a *high
The high uptime requirement makes sure that no message is missed out hence a complete and intact view of the message history is delivered to the querying nodes.
Nevertheless, in case that storage provider nodes cannot afford high availability, the querying nodes may retrieve the historical messages from multiple sources to achieve a full and intact view of the past.
The concept of "ephemeral" messages exists while using `13/WAKU2-STORE` as well. Any `WakuMessage` that has the ephemeral flag set to true will not be added to the store, thereby reducing the amount of one-time use messages on disk. While the node SHOULD not store messages with the ephemeral flag set to true, they MAY do so for archival.
The concept of "ephemeral" messages exists while using `13/WAKU2-STORE` as well.
Any `WakuMessage` that has the `ephemeral` flag set to `true` MAY be ignored by the store service node, thereby reducing the amount of one-time use messages stored.
Nodes SHOULD NOT not store messages with the `ephemeral` flag set to `true`.
# Security Consideration