mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-12 15:09:07 -05:00
add new tags to example
This commit is contained in:
parent
3c2f2c6997
commit
a86f7dcaae
8
59.md
8
59.md
|
@ -57,12 +57,12 @@ The tags should be used to represent the Relay's abilities and meta at a point i
|
|||
|
||||
9. `"events" == tagEvents[0]` Number of events on relay. `tagEvents[]` **may** be included in the `event.tags[]` array. `tagEvents[1]` **must** be string. There **should** only be **one (1)** `tagEvents[]`
|
||||
```json
|
||||
["events", "502341"], //tagIp[]
|
||||
["events", "502341"], //tagEvents[]
|
||||
```
|
||||
|
||||
10. `"users" == tagUsers[0]` Relay IP. `tagUsers[]` **may** be included in the `event.tags[]` array. `tagUsers[1]` **must** be string. There **should** be no more than **one (1)** `tagUsers[]`
|
||||
```json
|
||||
["users","37482"]
|
||||
["users","37482"] //tagUsers[]
|
||||
```
|
||||
|
||||
Example with Minimum Requirements:
|
||||
|
@ -97,7 +97,9 @@ Example with all Tags:
|
|||
["open","true"],
|
||||
["read","true"],
|
||||
["write","false"],
|
||||
["ssl","true"]
|
||||
["ssl","true"],
|
||||
["events", "502341"],
|
||||
["users","37482"],
|
||||
]
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user