You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, with only one value allowed in a filter condition for id and kind, subscriptions are unnecessarily large.
A common use case for a client is to request all the profile, metadata, text notes, and deletion events for a set of followed pubkeys. Constructing this subscription for 100 addresses requires repeating the address in a filter for kind: 0, kind: 1, etc., leading to 400 addresses in the `REQ' message.
Allowing ids and kinds to be treated similarly to authors would allow clients to search across multiple event types without unnecessary duplication in the query. This would lead to significant bandwidth savings for clients and relays.
The text was updated successfully, but these errors were encountered:
scsibug
added a commit
to scsibug/nostr
that referenced
this issue
Jan 1, 2022
Currently, with only one value allowed in a filter condition for
id
andkind
, subscriptions are unnecessarily large.A common use case for a client is to request all the profile, metadata, text notes, and deletion events for a set of followed pubkeys. Constructing this subscription for 100 addresses requires repeating the address in a filter for
kind: 0
,kind: 1
, etc., leading to 400 addresses in the `REQ' message.Allowing
ids
andkinds
to be treated similarly toauthors
would allow clients to search across multiple event types without unnecessary duplication in the query. This would lead to significant bandwidth savings for clients and relays.The text was updated successfully, but these errors were encountered: