Hector Sanjuan
94ec54e231
Doc: QUIC is default when no transports set ( #1250 )
2021-12-04 05:52:56 -08: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
890f2e86b2
Close peerstore and document Host Close ( #1037 )
...
* close peerstore and docs change
* update docs
2021-01-19 10:57:34 +05:30
Steven Allen
db5f196114
feat: switch from SECIO to Noise as the default security transport
...
This is a backwards incompatible change and will require a major version bump
plus an announcement. Users can choose to re-enable SECIO by passing
`libp2p.Security(secio.ID, secio.New)` to the constructor.
2020-08-19 11:15:02 -07:00
Vasco Santos
fe2c13c71b
docs: uniform comment sentences
2020-03-03 15:33:32 +01:00
Steven Allen
7ba322244e
emit identify events and avoid advertising localhost
...
* fix(identify): announce localhost as long as one side of the connection is local (#742 )
* identify: emit events on completion/failure. (#660 )
* identify: Update addr advertise logic to exclude localhost addrs… (#657 )
This is a rollup of the stabilize fixes.
Co-authored-by: bigs <cole@protocol.ai>
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2020-02-21 12:45:25 -05: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
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
Can ZHANG
ed85445dc3
Fix a typo in doc
2018-08-15 18:36:57 +08:00
gpestana
197b42caea
docs: Document defaults #382
2018-08-05 20:28:00 +03: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
Jamie Steiner
acd4dd9a89
added NAT traversal option and constructor test
2018-03-04 10:35:49 +02:00
Dmitry Shipenok
a3a4cf97f4
Added default muxer in case when none was provided.
...
Should fix 'echo' example.
2018-01-18 14:17:22 +03:00
Jeromy
bbbc040b60
incorporate lgierths opinions
2018-01-07 12:22:05 -08:00
Jeromy
8d84ecd01b
functional parameters
2018-01-07 12:22:05 -08:00
Jeromy
d04268054f
use new constructor for examples
2018-01-07 12:22:05 -08:00
Jeromy
c937b88e45
review feedback
2018-01-07 12:22:05 -08:00
Jeromy
f34163e3a3
first hack at a nice libp2p constructor
2018-01-07 12:22:05 -08:00