Commit Graph

5 Commits

Author SHA1 Message Date
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