Global Feed Post Login
Replying to Avatar fiatjaf

nostr-tools is somewhat erratic. Depending on the version it will take arrays or single-filters, and aggregate them or not in a single REQ or spread them into multiple REQs. It did this last thing for a while when we were investigating moving the entirety of Nostr to single-filter REQs, but that didn't work because the forces of ossification are too strong, so now on the latest nostr-tools you can get multiple filters on the same REQ but only if you use the same relay multiple times in a call to subscribeMap().

Avatar
lemon 3mo ago

Here's the notification service that I'm trying to build:

https://gitlab.com/lemonknowsall/nostr-push/-/blob/main/README.md?ref_type=heads

I find that it works for a period and then just stops

Hoping you have some good ideas

Here's a small snippet of the code:

Reply to this note

Please Login to reply.

Discussion

No replies yet.