zapstore / ftsrelay

6 stars 1 forks source link

Support multiple REQ filters #4

Closed franzaps closed 1 month ago

franzaps commented 6 months ago

And chaining requests:

["REQ", "test", { "kinds": [32267], "search": "test" }, { "kinds": [30063], "#a": [&0] }, { "kinds": [1063], "ids": [&1] }]

where &0 includes replaceable event strings from the 0th index query, and &1 includes e tags from the 1st index query

Should open a NIP PR

franzaps commented 5 months ago

["REQ", "test", { "kinds": [32267], "search": "test" }, { "kinds": [30063], "#a": [&0] }, { "kinds": [1063], "#a": [&1] }]

franzaps commented 1 month ago

The issue is that we'll get all 30063s for all apps but we only need the latest ones, and this is impossible to describe with nostr filters (limit won't help). Closing for now