mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-12 18:36:24 +00:00
Aligning the Private Relationship status Kind with the other PRs
This commit is contained in:
parent
a8c573f4ea
commit
4e0b5fa038
4
81.md
4
81.md
@ -55,11 +55,11 @@ For private cases, a new event kind named "Event Set Names" (`kind:10008`) uses
|
||||
|
||||
### Private Relationship Status
|
||||
|
||||
For relationships that must remain private (e.g private follows, client lists, etc), the event kind `30383` uses a similar structure but with a hashed `d` tag using [NIP-44](44.md)'s `hkdf` function.
|
||||
For relationships that must remain private (e.g private follows, client lists, etc), the event kind `31383` uses a similar structure but with a hashed `d` tag using [NIP-44](44.md)'s `hkdf` function.
|
||||
|
||||
```js
|
||||
{
|
||||
"kind": 30383,
|
||||
"kind": 31383,
|
||||
"tags": [
|
||||
["d", sha256(hkdf(private_key, salt: 'nip81') || "<pubkey>")],
|
||||
["n", "6064460175057025"],
|
||||
|
@ -172,11 +172,11 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
|
||||
| `30311` | Live Event | [53](53.md) |
|
||||
| `30315` | User Statuses | [38](38.md) |
|
||||
| `30382` | Public Relationship Status | [81](81.md) |
|
||||
| `30383` | Private Relationship Status| [81](81.md) |
|
||||
| `30402` | Classified Listing | [99](99.md) |
|
||||
| `30403` | Draft Classified Listing | [99](99.md) |
|
||||
| `30617` | Repository announcements | [34](34.md) |
|
||||
| `30818` | Wiki article | [54](54.md) |
|
||||
| `31382` | Private Relationship Status| [81](81.md) |
|
||||
| `31922` | Date-Based Calendar Event | [52](52.md) |
|
||||
| `31923` | Time-Based Calendar Event | [52](52.md) |
|
||||
| `31924` | Calendar | [52](52.md) |
|
||||
|
Loading…
Reference in New Issue
Block a user