-
Notifications
You must be signed in to change notification settings - Fork 8
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
Auto relay connection #4
Comments
This will be done inside of a behaviour which would allow static relays (one users can add themselves) as well as an option to add relays while walking DHT. Thought: (WIP - not exactly final and may not reflect actual implementation)Overall:
Static Relays:
Dynamic (or auto) Relays:
Questions:
Reference: |
autorelay was moved to https://github.com/dariusc93/libp2p-autorelay though will leave this issue open for the time being since there is still more to do. |
Should add a option to add listen on a relay automatically while behind a NAT. This would allow us to walk through DHT and find any peers that has the relay v2 protocol in which case we would then listen to it automatically. There are a couple of things that might need to be done
(eg does it do anything to listen on multiple relays as been done manually?).ListenId
after doingSwarm::listen_on
and use it to remove the listener when there is an issue related to itDraft should be first implemented into this crate and once its figured out to split it out into its own crate (or implement directly into libp2p?).
The text was updated successfully, but these errors were encountered: