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:
authorVitor Pamplona <vitor@vitorpamplona.com>2023-06-10 19:56:03 -0400
committerGitHub <noreply@github.com>2023-06-10 19:56:03 -0400
commit4d0929b278cfc748f30be48c549cfc87ef429202 (patch)
tree78135b2eb1f396faf2045886dd48e8981ab73ae0 /33.md
parent91bdf63b130cadb89c3908cab09305526e9f2092 (diff)
parent2e842b496a740f89ad80bf8257c37535d538ba54 (diff)
Merge branch 'master' into zap-plits
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: