Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strict relay selections #447

Open
5 tasks
staab opened this issue Oct 21, 2024 · 0 comments
Open
5 tasks

Strict relay selections #447

staab opened this issue Oct 21, 2024 · 0 comments
Milestone

Comments

@staab
Copy link
Collaborator

staab commented Oct 21, 2024

Right now, relay selections are a mess of heuristics and assumptions.

  • Make relay quality less of a factor. Lots of times we use certain relays just because we already have a connection, even if they're completely irrelevant. Don't use relays that can't be connected to of course, but also don't be afraid to open more connections.
  • Who even knows how fallbacks get selected. Use user read relays + static fallbacks.
  • Show errors instead of guessing relays for DMs
  • Respect user relay selections even if they're not normal URLs, but don't connect to non-public urls in other people's lists
  • Follow pubkey selections, pubkey hints, and relay hints when loading context.

Blocked by #444 and #446, since those reduce the scope of the work significantly.

@staab staab added this to the 0.5.0 milestone Oct 21, 2024
@staab staab modified the milestones: 0.5.0, 0.6.0 Nov 18, 2024
@staab staab modified the milestones: 0.6.0, 0.7.0 Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant