ipfs / benchmarks

Benchmarking for IPFS
MIT License
20 stars 8 forks source link

verify that discovery for new peers is disabled #82

Closed mcollina closed 5 years ago

mcollina commented 5 years ago

as titled.

How do we do that @alanshaw @daviddias?

alanshaw commented 5 years ago

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 commented 5 years ago

Done