mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-04-03 17:38:31 +02:00
Merge e12b4d96d35aac98c4817b80d2d6abe402bae36c into 0619f370bca3485bb9c5870bc2defa03c7c3d10e
This commit is contained in:
commit
08817d8aad
2
01.md
2
01.md
@ -93,7 +93,7 @@ This NIP defines one basic kind:
|
||||
|
||||
And also a convention for kind ranges that allow for easier experimentation and flexibility of relay implementation:
|
||||
|
||||
- for kind `n` such that `1000 <= n < 10000 || 4 <= n < 45 || n == 1 || n == 2`, events are **regular**, which means they're all expected to be stored by relays.
|
||||
- for kind `n` such that `n < 10000 && n != 0 && n != 3`, events are **regular**, which means they're all expected to be stored by relays.
|
||||
- for kind `n` such that `10000 <= n < 20000 || n == 0 || n == 3`, events are **replaceable**, which means that, for each combination of `pubkey` and `kind`, only the latest event MUST be stored by relays, older versions MAY be discarded.
|
||||
- for kind `n` such that `20000 <= n < 30000`, events are **ephemeral**, which means they are not expected to be stored by relays.
|
||||
- for kind `n` such that `30000 <= n < 40000`, events are **addressable** by their `kind`, `pubkey` and `d` tag value -- which means that, for each combination of `kind`, `pubkey` and the `d` tag value, only the latest event MUST be stored by relays, older versions MAY be discarded.
|
||||
|
Loading…
x
Reference in New Issue
Block a user