mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-12-09 08:38:50 +00:00
events cannot really be replaced
clarifying what it means to "replace an event"
This commit is contained in:
6
33.md
6
33.md
@@ -14,8 +14,10 @@ The value of a tag is defined as the first parameter of a tag after the tag name
|
||||
|
||||
A *parameterized replaceable event* is defined as an event with a kind `30000 <= n < 40000`.
|
||||
Upon a parameterized replaceable event with a newer timestamp than the currently known latest
|
||||
replaceable event with the same kind and first `d` tag value being received, the old event
|
||||
SHOULD be discarded and replaced with the newer event.
|
||||
replaceable event with the same kind, author and first `d` tag value being received, the old event
|
||||
SHOULD be discarded, effectively replacing what gets returned when querying for
|
||||
`author:kind:d-tag` tuples.
|
||||
|
||||
A missing or a `d` tag with no value should be interpreted equivalent to a `d` tag with the
|
||||
value as an empty string. Events from the same author with any of the following `tags`
|
||||
replace each other:
|
||||
|
||||
Reference in New Issue
Block a user