upleb.uk

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

summaryrefslogtreecommitdiff
path: root/33.md
diff options
context:
space:
mode:
authorPablo Fernandez <p@f7z.io>2023-06-08 22:32:17 +0200
committerGitHub <noreply@github.com>2023-06-08 22:32:17 +0200
commit6baacf6fb1badf3ba2480a88519e357b3cbdaaac (patch)
treeb3d211bc3683b340d678c3574519f327e7b3858e /33.md
parent964bc5b5ce946ab66aae945084549f26ffdef70f (diff)
parent14a887d43b654f41de5d271e27ef69048f183fb4 (diff)
Merge branch 'master' into nip31
Diffstat (limited to '33.md')
-rw-r--r--33.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/33.md b/33.md
index 10681fa..5128bec 100644
--- a/33.md
+++ b/33.md
@@ -10,7 +10,7 @@ This NIP adds a new event range that allows for replacement of events that have
10 10
11Implementation 11Implementation
12-------------- 12--------------
13The value of a tag is defined as the first parameter of a tag after the tag name. 13The value of a tag can be any string and is defined as the first parameter of a tag after the tag name.
14 14
15A *parameterized replaceable event* is defined as an event with a kind `30000 <= n < 40000`. 15A *parameterized replaceable event* is defined as an event with a kind `30000 <= n < 40000`.
16Upon a parameterized replaceable event with a newer timestamp than the currently known latest 16Upon a parameterized replaceable event with a newer timestamp than the currently known latest
@@ -18,6 +18,8 @@ replaceable event with the same kind, author and first `d` tag value being recei
18SHOULD be discarded, effectively replacing what gets returned when querying for 18SHOULD be discarded, effectively replacing what gets returned when querying for
19`author:kind:d-tag` tuples. 19`author:kind:d-tag` tuples.
20 20
21If two events have the same timestamp, the event with the lowest id (first in lexical order) SHOULD be retained, and the other discarded.
22
21A missing or a `d` tag with no value should be interpreted equivalent to a `d` tag with the 23A missing or a `d` tag with no value should be interpreted equivalent to a `d` tag with the
22value as an empty string. Events from the same author with any of the following `tags` 24value as an empty string. Events from the same author with any of the following `tags`
23replace each other: 25replace each other: