mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-25 09:45:51 -05:00
Adds better explanation for limit
This commit is contained in:
parent
6feac3ef8c
commit
f69e5b241c
4
01.md
4
01.md
|
@ -148,13 +148,13 @@ A `REQ` message may contain multiple filters which are interpreted as an OR stat
|
|||
|
||||
Properties in each filter are a logical AND statement: all present properties must match for the filter to pass.
|
||||
|
||||
Array properties (i.e., `ids`, `authors`, `kinds`, and tag filters) represent a logical OR statement. At least one of the arrays' values must match the respective field in the event to be considered a match. In the case of tag attributes such as `#e`, for which an event may have multiple values, the event and filter condition values must have at least one item in common.
|
||||
Array properties (i.e. `ids`, `authors`, `kinds`, and tag filters) represent a logical OR statement. At least one of the arrays' values must match the respective field in the event to be considered a match. In the case of tag attributes such as `#e`, for which an event may have multiple values, the event and filter condition values must have at least one item in common.
|
||||
|
||||
The `ids`, `authors`, `#e`, and `#p` filter lists MUST contain exact 64-character lowercase hex values.
|
||||
|
||||
The `since` and `until` properties 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` property operates over the stored events and is ignored afterward.
|
||||
The `limit` property informs the maximum number of events to return, sorted by created_at desc. It operates over the previously-stored events and is ignored afterward.
|
||||
|
||||
### Receiving Events
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user