mikedilger / gossip

Gossip is a nostr client
Other
692 stars 77 forks source link

Posting to TOO MANY relays #771

Closed mikedilger closed 3 months ago

mikedilger commented 4 months ago

After the nip-17 work, normal top level posts are going to far too many relays.

mikedilger commented 4 months ago

probably post.rs get_others_relays() cause I tagged myself, and somehow storage.get_best_relays() is giving LOTS and we aren't cutting them off.

mikedilger commented 4 months ago

We need a way to call get_best_relays that only gets declared read/write relays OR a limited set (num_relays_per_person) if nothing is declared. Because we want to post to ALL their declared read relays, but we want to limit it when we are guessing.

mikedilger commented 3 months ago

I believe this is fixed now in 9d0b44126322adf40cbce7435f1b2bd63bdf8de2