diff options
| author | Francisco Calderón <fjcalderon@gmail.com> | 2024-11-04 15:39:21 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-04 15:39:21 -0300 |
| commit | 03f3bc39678262ecbd5d870c9da44723023557ff (patch) | |
| tree | e75ecf32d3bc906a8b26314488a1ae90996169c1 /65.md | |
| parent | f72a2f69ed93cf442e83bf9e7e16f6c06da40384 (diff) | |
| parent | 6bcd89c097e97e65dbc95e7c6b7b8348e8dd6b5c (diff) | |
Merge branch 'master' into p2p-nip
Diffstat (limited to '65.md')
| -rw-r--r-- | 65.md | 10 |
1 files changed, 7 insertions, 3 deletions
| @@ -12,7 +12,7 @@ The event MUST include a list of `r` tags with relay URIs and a `read` or `write | |||
| 12 | 12 | ||
| 13 | The `.content` is not used. | 13 | The `.content` is not used. |
| 14 | 14 | ||
| 15 | ```json | 15 | ```jsonc |
| 16 | { | 16 | { |
| 17 | "kind": 10002, | 17 | "kind": 10002, |
| 18 | "tags": [ | 18 | "tags": [ |
| @@ -22,7 +22,7 @@ The `.content` is not used. | |||
| 22 | ["r", "wss://nostr-relay.example.com", "read"] | 22 | ["r", "wss://nostr-relay.example.com", "read"] |
| 23 | ], | 23 | ], |
| 24 | "content": "", | 24 | "content": "", |
| 25 | ...other fields | 25 | // other fields... |
| 26 | } | 26 | } |
| 27 | ``` | 27 | ``` |
| 28 | 28 | ||
| @@ -37,7 +37,7 @@ When seeking events **about** a user, where the user was tagged, Clients SHOULD | |||
| 37 | When broadcasting an event, Clients SHOULD: | 37 | When broadcasting an event, Clients SHOULD: |
| 38 | 38 | ||
| 39 | - Broadcast the event to the WRITE relays of the author | 39 | - Broadcast the event to the WRITE relays of the author |
| 40 | - Broadcast the event all READ relays of each tagged user | 40 | - Broadcast the event to all READ relays of each tagged user |
| 41 | 41 | ||
| 42 | ## Motivation | 42 | ## Motivation |
| 43 | 43 | ||
| @@ -62,3 +62,7 @@ This NIP allows Clients to connect directly with the most up-to-date relay set f | |||
| 62 | 5. If a relay signals support for this NIP in their [NIP-11](11.md) document that means they're willing to accept kind 10002 events from a broad range of users, not only their paying customers or whitelisted group. | 62 | 5. If a relay signals support for this NIP in their [NIP-11](11.md) document that means they're willing to accept kind 10002 events from a broad range of users, not only their paying customers or whitelisted group. |
| 63 | 63 | ||
| 64 | 6. Clients SHOULD deduplicate connections by normalizing relay URIs according to [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-6). | 64 | 6. Clients SHOULD deduplicate connections by normalizing relay URIs according to [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-6). |
| 65 | |||
| 66 | ## Related articles | ||
| 67 | - [Outbox model](https://mikedilger.com/gossip-model/) | ||
| 68 | - [What is the Outbox Model?](https://habla.news/u/hodlbod@coracle.social/8YjqXm4SKY-TauwjOfLXS) | ||