diff options
| author | pablof7z <pfer@me.com> | 2024-09-28 17:39:41 -0500 |
|---|---|---|
| committer | pablof7z <pfer@me.com> | 2024-09-28 17:39:41 -0500 |
| commit | fcc32565795f3f60151cde030700159502186d71 (patch) | |
| tree | 2f400600397443e6b5896c24872da1f81b9b4321 /19.md | |
| parent | 9f9ab83ee9809251d0466f22c188a0f13abd585a (diff) | |
| parent | a736e629be5c4c9125d98bdb4965851d8110c483 (diff) | |
Merge branch 'master' into cashu-wallet
Diffstat (limited to '19.md')
| -rw-r--r-- | 19.md | 5 |
1 files changed, 2 insertions, 3 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,8 +43,7 @@ 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 | 46 | - for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced. For normal replaceable events use an empty string. |
| 47 | - 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 |
| 50 | - this may be included multiple times | 49 | - this may be included multiple times |