limits really annoy me... i just implemented a mirroring app and i think if the relay implements NIP-11 it can specify a max limit and you can stick with that but what happens when you make a filter that matches more than that limit within its constraints (mainly, since/until) how do you get the rest of the results??? protocol doesn't specify that, so i have used a more conservative strategy where you can define windows that you query on and specify your limits so you don't miss any of the results in that window

it's one of the several flaws i percieve in the protocol spec so far

there should be a special message in the ok envelope or something to indicate more results and some rules about how the results are cut into segments when they exceed the relay coded limit maximum, like, sorting by time, or else it's very undefined behaviour and results in difficult problems with varying implementations and configuration settings

Reply to this note

Please Login to reply.

Discussion

No replies yet.