There are many limits. Byte size limits of 65000 bytes, filter limits of about 12 per sub, kind list limits of about 10 kinds, each connection can open 20 subs. Usually relays crop the return in 500 events regardless of your limit parameter. Rate limits are around 100ms for new events and 200ms for filters.
Login to reply
Replies (3)
> filter limits of about 12 per sub
12 what per sub?? 👀
I'm filtering for kind 0 + relay list (10002) + a couple more kinds (e.g. 10050 and 10051). How many pubkeys could I add to the filter before it becomes a problem? e.g. Can I create a sub for those kinds for 10 pubkeys, 100 pubkeys, 1000 pubkeys?
I think the byte size limit was mostly removed? The rest of these are quite limited, more than I’ve seen in testing but I feel like you have a lot of data…
Not really. Strfry increased the default to 135kb but it's still there for many relays.