Commit Graph

7 Commits

Author SHA1 Message Date
Steven Allen d59ca83d48 switch to DisablePing instead of PingCustom 2018-10-24 07:44:25 -07:00
vyzo 1056fa8119 Ping constructor option, enabled by default 2018-10-19 12:37:20 +03:00
vyzo 5834054ad8 fix typo 2018-09-28 12:50:53 +03:00
vyzo 0600392e23 enable relay by default in New 2018-09-28 11:30:45 +03:00
Steven Allen a36d383413 add tests for NoTransports and NoListen 2018-08-21 14:40:18 -07:00
Steven Allen ad5b7b9ba6 add options for disabling the default listen address/transports
So, in go-ipfs at least, we *don't* pass the listen addresses into the libp2p
constructor. Instead, we specify them later.

This option allows us to tell libp2p to not listen by default.
2018-08-21 14:40:18 -07:00
Steven Allen 41c6834850 refactor for transport changes
Also, make the libp2p constructor fully useful. There should now be no need to
manually construct a swarm/host.
2018-06-04 21:22:24 -07:00