Commit Graph

17 Commits

Author SHA1 Message Date
Marten Seemann
d01b892679 update go-libp2p-swarm to v0.7.0 2021-10-19 10:39:32 +02:00
Marten Seemann
b7bee3855c remove the context from the libp2p and from the Host contructor 2021-09-18 14:06:56 +02:00
Aarsh Shah
c575ec40e1 Finish and Test the simultaneous connect problem in libp2p peers (#1041)
* Implement support for SimOpen.
2021-02-17 13:36:40 +05:30
Steven Allen
46b58740de fix: fix connection gater in transport constructor 2020-05-20 11:09:00 -07:00
Steven Allen
1359013f39 fix: set the private key when constructing the autonat service
Otherwise, it the node fails to build.
2020-03-24 16:49:24 -07:00
Raúl Kripalani
d87f89314c Consolidate abstractions and core types into go-libp2p-core (#601) 2019-05-26 22:55:46 +01:00
Steven Allen
262b35f272 chore: improve nil option tests 2019-04-17 18:05:08 -07:00
Steven Allen
cff9cb577c constructor: allow nil options
This can make it significantly easier to configure libp2p with optional options.
2019-04-17 17:08:50 -07: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
Abhishek Upperwal
9e952be412 modified regex for ipv6 2018-07-28 02:48:09 +05:30
Abhishek Upperwal
ecf27b599f strict DefaultListenAddrs test w/ regex 2018-07-28 02:08:45 +05:30
Abhishek Upperwal
6372f928d4 Correct behaviour test for DefaultListenAddrs 2018-07-27 02:26:29 +05:30
Abhishek Upperwal
29af134a71 corrected transport init 2018-07-26 01:14:09 +05:30
Abhishek Upperwal
fb4019575d Added test for DefaultListenAddrs 2018-07-26 01:08:20 +05:30
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
Jamie Steiner
acd4dd9a89 added NAT traversal option and constructor test 2018-03-04 10:35:49 +02:00