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

verify that discovery for new peers is disabled #82

Closed
mcollina opened this issue Dec 13, 2018 · 2 comments
Closed

verify that discovery for new peers is disabled #82

mcollina opened this issue Dec 13, 2018 · 2 comments
Assignees

Comments

@mcollina
Copy link
Contributor

as titled.

How do we do that @alanshaw @daviddias?

@alanshaw
Copy link
Member

You should be able to pass [] for libp2p discovery modules e.g.

new IPFS({
  libp2p: {
    modules: {
      peerDiscovery: []
    }
  }
})

https://github.com/ipfs/js-ipfs#optionslibp2p

@litzenberger
Copy link
Contributor

Done

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