diff options
| author | Thomas <31560900+0xtlt@users.noreply.github.com> | 2022-12-14 23:52:12 +0100 |
|---|---|---|
| committer | Thomas <31560900+0xtlt@users.noreply.github.com> | 2022-12-14 23:52:12 +0100 |
| commit | 8d3f5c6e79cc25a59e8148b6a98c1cac8f960159 (patch) | |
| tree | 2ce5401cc293f9365766c25918b2f324263067ed | |
| parent | b859ae589b740f41ba41dab1e4bb003225db3478 (diff) | |
Update 40.md
| -rw-r--r-- | 40.md | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -6,8 +6,7 @@ Expiration Timestamp | |||
| 6 | 6 | ||
| 7 | `draft` `optional` `author:0xtlt` | 7 | `draft` `optional` `author:0xtlt` |
| 8 | 8 | ||
| 9 | The `expiration` tag enables users to specify a timestamp at UTC-0 at which the message should be considered expired and deleted by relays (or just ignored by clients). This can be useful for making temporary announcements, making limited-time offers, or sending ephemeral messages but should not be seen as a security solution for the content of your messages. | 9 | The `expiration` tag enables users to specify a unix timestamp at which the message SHOULD be considered expired (by relays and clients) and SHOULD be deleted by relays. |
| 10 | So be careful when sharing confidential information. | ||
| 11 | 10 | ||
| 12 | #### Spec | 11 | #### Spec |
| 13 | 12 | ||
| @@ -39,7 +38,7 @@ Client Behavior | |||
| 39 | 38 | ||
| 40 | Clients SHOULD use the `supported_nips` field to learn if a relay supports this NIP. Clients SHOULD NOT send expiration events to relays that do not support this NIP. | 39 | Clients SHOULD use the `supported_nips` field to learn if a relay supports this NIP. Clients SHOULD NOT send expiration events to relays that do not support this NIP. |
| 41 | 40 | ||
| 42 | Clients MUST ignore events that have expired. | 41 | Clients SHOULD ignore events that have expired. |
| 43 | 42 | ||
| 44 | Relay Behavior | 43 | Relay Behavior |
| 45 | -------------- | 44 | -------------- |