This means that Nostrdb would - or already does - sync from relay(s) and eventually also unwraps messages? So that when that is setup and running I can just query Nostrdb in clear, rather than having to deal with a bunch of messaging NIPs myself?

Reply to this note

Please Login to reply.

Discussion

nostrdb doesn’t do networking, you just dump events into it using any relay model you want. It would need some mechanism to unwrap. I think i will make it a callback that asks for decryption keys for a pubkey.

Another approach is to unwrap it yourself and enable a mode of ingestion for unsigned notes. I think i would want nostrdb to do it because its somewhat technical and I want nostrdb to handle complicated thing.

Then to top it off i would just need to add a term to filters that explicitly asks for unsigned things, since I wouldn’t want to have then mixed in with regular results