upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2024-01-01 12:21:50 -0600
committerAlex Gleason <alex@alexgleason.me>2024-01-01 12:21:50 -0600
commit3d8652ea147facb07adb51031e6b21f7e663dc10 (patch)
tree653ba3bc81b48468acceb249073a7c9f9fdcaf5b
parent27fef638e2460139cc9078427a0aec0ce4470517 (diff)
NIP-02, NIP-51: new tags should be added to the end of the list
Fixes https://github.com/nostr-protocol/nips/issues/958
-rw-r--r--02.md2
-rw-r--r--51.md2
2 files changed, 4 insertions, 0 deletions
diff --git a/02.md b/02.md
index 8c47a5f..8b0aee1 100644
--- a/02.md
+++ b/02.md
@@ -27,6 +27,8 @@ For example:
27 27
28Every new following list that gets published overwrites the past ones, so it should contain all entries. Relays and clients SHOULD delete past following lists as soon as they receive a new one. 28Every new following list that gets published overwrites the past ones, so it should contain all entries. Relays and clients SHOULD delete past following lists as soon as they receive a new one.
29 29
30Whenever new follows are added to an existing list, clients SHOULD append them to the end of the list, so they are stored in chronological order.
31
30## Uses 32## Uses
31 33
32### Follow list backup 34### Follow list backup
diff --git a/51.md b/51.md
index f5a9a74..507c515 100644
--- a/51.md
+++ b/51.md
@@ -10,6 +10,8 @@ This NIP defines lists of things that users can create. Lists can contain refere
10 10
11Public items in a list are specified in the event `tags` array, while private items are specified in a JSON array that mimics the structure of the event `tags` array, but stringified and encrypted using the same scheme from [NIP-04](04.md) (the shared key is computed using the author's public and private key) and stored in the `.content`. 11Public items in a list are specified in the event `tags` array, while private items are specified in a JSON array that mimics the structure of the event `tags` array, but stringified and encrypted using the same scheme from [NIP-04](04.md) (the shared key is computed using the author's public and private key) and stored in the `.content`.
12 12
13When new items are added to an existing list, clients SHOULD append them to the end of the list, so they are stored in chronological order.
14
13## Types of lists 15## Types of lists
14 16
15## Standard lists 17## Standard lists