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

Add ability to toggle different layers of hyperswarm on/off #47

Open
cblgh opened this issue Nov 27, 2019 · 2 comments
Open

Add ability to toggle different layers of hyperswarm on/off #47

cblgh opened this issue Nov 27, 2019 · 2 comments

Comments

@cblgh
Copy link

cblgh commented Nov 27, 2019

it would be great for many usecases to control if hyperswarm is on or off for e.g. battery reasons. this can be extended to toggling on/off different layers:

  • all of hyperswarm
  • the DHT
  • wifi multicast

this has been something both cabal cabal-club/cabal-cli#113 and peermaps has been discussing and thinking about

an example from the issue above of what would be desirable from e.g. within cabal:

 archive.setNetworking(['mdns','dht']) // options: mdns, tracker, dht. use [] for none.
@christianbundy
Copy link

Hopefully this isn't the wrong place to ask: which strategies does hyperswarm use to find peers? The readme only mentions DHT, but I found this issue when I searched the repo for "mdns".

@mafintosh
Copy link
Contributor

DHT and mdns. If we only say DHT in docs we should fix it

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

3 participants