mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Create 121.md
For use with a nostr mesh network https://github.com/lnbits/nostrmesh/tree/main, but prob useful elsewhere
This commit is contained in:
parent
75c05b547c
commit
b7535ed096
19
121.md
Normal file
19
121.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
NIP-121
|
||||||
|
======
|
||||||
|
|
||||||
|
Unicast event `"tags": "r"`
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
|
`draft` `mandatory` `author:benarc`
|
||||||
|
|
||||||
|
`route` list of relays as a new tag `"r"`, to help create a unicast route for an events.
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"tags": [
|
||||||
|
["r", "<csv of relay IDs>"]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
A client receives an event with tag `"r"`, if the client received the event from a relay in the list and it has a connection with the next relay in the list, the client will pass the event to that relay.
|
Loading…
Reference in New Issue
Block a user