Commit Graph

109 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 0600392e23 enable relay by default in New 2018-09-28 11:30:45 +03:00
Raghav Gulati 6e72e88461
Add test for duplicate tpts in muxer 2018-08-21 09:25:52 -07:00
Raghav Gulati 3c19cb12b9
Ensure we filter duplicate transports in muxer
Similar to secure transports in config, if we don't add the transport to
the set, we'll never identify duplicates.
2018-08-20 18:18:37 -07:00
Raghav Gulati 8695530d72
Change value to struct 2018-08-20 18:17:30 -07:00
Raghav Gulati 87255e4ff0
Ensure duplicate transports are filtered
Without adding the transport to the set, we'll never identify if there
are duplicates in the slice of secure transports provided by the config.
2018-08-20 17:09:53 -07:00
Steven Allen 555afdb8a5 improve error message in libp2p reflection-based transport option 2018-06-12 13:53:39 -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