Why Nostr? What is Njump?
2024-01-03 17:44:51
in reply to

Fabian on Nostr: I have several TODOs in my code to add relay hints, and every time I want to start to ...

I have several TODOs in my code to add relay hints, and every time I want to start to implement them I remind myself why I didn’t add them yet: I don’t know which relay hint to add.

For example when I receive most posts from "wss://filter.nostr.wine/npub1n0sturny6....?broadcast=true" I can't add that as a relay hint, its a relay for my account.

I received many posts from wss://relay.damus.io, but can't add that it was recently nuked so the posts might not be there anymore.

Querying all relays to see if the posts are still there would put unnecessary stress on the relays.

I can't just rebroadcast posts because some relays don't accept old posts.

How do other clients do it? Is there a good solution?
Author Public Key
npub1n0sturny6w9zn2wwexju3m6asu7zh7jnv2jt2kx6tlmfhs7thq0qnflahe