diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2024-07-23 20:59:50 -0300 |
|---|---|---|
| committer | fiatjaf_ <fiatjaf@gmail.com> | 2024-07-25 14:54:16 -0300 |
| commit | ecee40df17929abdf187bb49952cc40ed1a6702a (patch) | |
| tree | 7a30826f025d76515bcd985806d3b2ee1bcd79dd | |
| parent | 6021b07e26b990fd2bd7f715da839d380812a588 (diff) | |
nip19: deprecate `nrelay`
| -rw-r--r-- | 19.md | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -34,8 +34,8 @@ These are the possible bech32 prefixes with `TLV`: | |||
| 34 | 34 | ||
| 35 | - `nprofile`: a nostr profile | 35 | - `nprofile`: a nostr profile |
| 36 | - `nevent`: a nostr event | 36 | - `nevent`: a nostr event |
| 37 | - `nrelay`: a nostr relay | ||
| 38 | - `naddr`: a nostr _replaceable event_ coordinate | 37 | - `naddr`: a nostr _replaceable event_ coordinate |
| 38 | - `nrelay`: a nostr relay (deprecated) | ||
| 39 | 39 | ||
| 40 | These possible standardized `TLV` types are indicated here: | 40 | These possible standardized `TLV` types are indicated here: |
| 41 | 41 | ||
| @@ -43,7 +43,6 @@ These possible standardized `TLV` types are indicated here: | |||
| 43 | - depends on the bech32 prefix: | 43 | - depends on the bech32 prefix: |
| 44 | - for `nprofile` it will be the 32 bytes of the profile public key | 44 | - for `nprofile` it will be the 32 bytes of the profile public key |
| 45 | - for `nevent` it will be the 32 bytes of the event id | 45 | - for `nevent` it will be the 32 bytes of the event id |
| 46 | - for `nrelay`, this is the relay URL | ||
| 47 | - for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced. For non-parameterized replaceable events, use an empty string. | 46 | - for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced. For non-parameterized replaceable events, use an empty string. |
| 48 | - `1`: `relay` | 47 | - `1`: `relay` |
| 49 | - for `nprofile`, `nevent` and `naddr`, _optionally_, a relay in which the entity (profile or event) is more likely to be found, encoded as ascii | 48 | - for `nprofile`, `nevent` and `naddr`, _optionally_, a relay in which the entity (profile or event) is more likely to be found, encoded as ascii |