diff options
Diffstat (limited to '33.md')
| -rw-r--r-- | 33.md | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -10,6 +10,8 @@ This NIP adds a new event range that allows for replacement of events that have | |||
| 10 | 10 | ||
| 11 | Implementation | 11 | Implementation |
| 12 | -------------- | 12 | -------------- |
| 13 | The value of a tag is defined as the first parameter of a tag after the tag name. | ||
| 14 | |||
| 13 | A *parameterized replaceable event* is defined as an event with a kind `30000 <= n < 40000`. | 15 | A *parameterized replaceable event* is defined as an event with a kind `30000 <= n < 40000`. |
| 14 | Upon a parameterized replaceable event with a newer timestamp than the currently known latest | 16 | Upon a parameterized replaceable event with a newer timestamp than the currently known latest |
| 15 | replaceable event with the same kind and first `d` tag value being received, the old event | 17 | replaceable event with the same kind and first `d` tag value being received, the old event |
| @@ -26,6 +28,8 @@ replace each other: | |||
| 26 | * `"tags":[["e"]]`: same as no tags | 28 | * `"tags":[["e"]]`: same as no tags |
| 27 | * `"tags":[["d","test","1"]]`: only the value is considered (`test`) | 29 | * `"tags":[["d","test","1"]]`: only the value is considered (`test`) |
| 28 | 30 | ||
| 31 | Clients SHOULD NOT use `d` tags with multiple values and SHOULD include the `d` tag even if it has no value to allow querying using the `#d` filter. | ||
| 32 | |||
| 29 | Client Behavior | 33 | Client Behavior |
| 30 | --------------- | 34 | --------------- |
| 31 | 35 | ||