mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-25 17:55:51 -05:00
better describes the created at order.
This commit is contained in:
parent
97fc0fb081
commit
7b6a2063f3
4
01.md
4
01.md
|
@ -146,7 +146,7 @@ To open and update, and close subscriptions, Clients MUST use the following form
|
|||
...,
|
||||
"since": <integer unix timestamp in seconds, events must be newer than this to pass>,
|
||||
"until": <integer unix timestamp in seconds, events must be older than this to pass>,
|
||||
"limit": <integer maximum number of events to return, sorted by created_at desc>
|
||||
"limit": <integer maximum number of events to return, sorted by created_at descending>
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -160,7 +160,7 @@ The `ids`, `authors`, `#e`, and `#p` filter lists MUST contain exact 64-characte
|
|||
|
||||
The `since` and `until` attributes are used to specify the time range of events returned in the subscription. An event matches the filter if `since <= created_at <= until` holds.
|
||||
|
||||
The `limit` attribute informs the maximum number of events to return, sorted by `.created_at` desc. It operates over the previously stored events and is ignored afterward.
|
||||
The `limit` attribute informs the maximum number of events to return, sorted by `.created_at` from newest to oldest. It operates over the previously stored events and is ignored afterward.
|
||||
|
||||
### Subscription Responses
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user