mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Merge pull request #967 from GoodDaisy/master
Fix typos in 01.md and 50.md
This commit is contained in:
commit
3e05545952
2
01.md
2
01.md
|
@ -116,7 +116,7 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th
|
||||||
* `["REQ", <subscription_id>, <filters1>, <filters2>, ...]`, used to request events and subscribe to new updates.
|
* `["REQ", <subscription_id>, <filters1>, <filters2>, ...]`, used to request events and subscribe to new updates.
|
||||||
* `["CLOSE", <subscription_id>]`, used to stop previous subscriptions.
|
* `["CLOSE", <subscription_id>]`, used to stop previous subscriptions.
|
||||||
|
|
||||||
`<subscription_id>` is an arbitrary, non-empty string of max length 64 chars. It represents a subscription per connection. Relays MUST manage `<subscription_id>`s independently for each WebSocket connection. `<subscription_id>`s are not guarantueed to be globally unique.
|
`<subscription_id>` is an arbitrary, non-empty string of max length 64 chars. It represents a subscription per connection. Relays MUST manage `<subscription_id>`s independently for each WebSocket connection. `<subscription_id>`s are not guaranteed to be globally unique.
|
||||||
|
|
||||||
`<filtersX>` is a JSON object that determines what events will be sent in that subscription, it can have the following attributes:
|
`<filtersX>` is a JSON object that determines what events will be sent in that subscription, it can have the following attributes:
|
||||||
|
|
||||||
|
|
2
50.md
2
50.md
|
@ -41,7 +41,7 @@ implementation details between relays.
|
||||||
Clients MAY verify that events returned by a relay match the specified query in a way that suits the
|
Clients MAY verify that events returned by a relay match the specified query in a way that suits the
|
||||||
client's use case, and MAY stop querying relays that have low precision.
|
client's use case, and MAY stop querying relays that have low precision.
|
||||||
|
|
||||||
Relays SHOULD exclude spam from search results by default if they supports some form of spam filtering.
|
Relays SHOULD exclude spam from search results by default if they support some form of spam filtering.
|
||||||
|
|
||||||
## Extensions
|
## Extensions
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user