-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Decide to which relay's AUTH you respond #739
Comments
The easiest way I can think, which is already possible to use, is to disable auto-authentication in options and handle manually the AUTH requests received in notifications. But this will require also to handle manually the resubmission of events for all relays. Alternatively, we can use the It can be enabled by default in the Using the |
Is there a document that describes how gossip works in rust-nostr? Or can you link me the code? I'm implementing gossip myself right now but if I like how it's implemented in rust-nostr then I will switch. My main concerns are:
|
The current implementation is in
If the
Currently are used at max the first 5 relays from the NIP17/65 lists. I also added an option to limit the numbers of relays in the pool (which is
For this I guess is required a persistent db. I have plan to add a persistent database for gossip ranking/score, but I haven't started to work on it yet |
Describe the enhancement
Add
RelayServiceFlags::Auth
or some other way to decide to which relay's AUTH request the client will respond.Use case
You don't want to reveal your identity to random relays.
Additional context
I don't need it right now, just noticed it while thinking about AUTH. I'm talking about Rust, not the bindings.
The text was updated successfully, but these errors were encountered: