just download the reactions of people you want, just like you do with kind:1
it was always dumb to ask for everything, either reactions or any other note, but clients decided to go the dumb route.
just download the reactions of people you want, just like you do with kind:1
it was always dumb to ask for everything, either reactions or any other note, but clients decided to go the dumb route.
Or let the relays just give you the count with a few bytes
I don't need to do that because I don't tally anything, I display all the reactions like any other reply, but I would use relays to count if I needed to use that feature.
One relay is going to report 5, another one 7. How do you combine them? Max? Sum? Guess?
But, push a new meta event from the relay. If clients want to use it, that's great. If not, that's also great.
Use the highest count
The relays might have completely different people pushing to them though, and then you'd need to sum them.
If it happened a lot you could include some optimized data hinting at the npubs behind the counts. It's not an easy problem.
Smart relays using negentropy to stay in sync with others in the network. You could even expose count over HTTP given an event ID.
It's better to keep information in the messages themselves so the protocol stays focused. But if relays want to talk to each other using some sort of magic that's cool too. At the end of the day, most clients will be using more than one relay, so they need to combine that information somehow.