10 Commits

Author SHA1 Message Date
Pierre Krieger
fd9349d15a
Add logging to libp2p-websocket (#142) 2018-03-15 15:45:11 +01:00
Jef
5217e29fab
Add rustfmt to travis (#137)
* RFC styling-based `rustfmt.toml`

* Add rustfmt to travis

* Remove rustfmt.toml and actually fix too-long lines instead of ignoring them
2018-03-07 16:20:55 +01:00
Pierre Krieger
39dde305b4
Rework libp2p-identify (#116)
* Add a proper PeerId to Peerstore

* Turn identify into a transport layer

* Expose the dialed multiaddress

* Add identified nodes to the peerstore

* Allow configuring the TTL of the addresses

* Split identify in two modules

* Some comments and tweaks

* Run rustfmt

* Add test and bugfix

* Fix wrong address reported when dialing

* Fix websocket browser code

* Support the p2p protocol in libp2p-identify

* Fix concerns

* Fix libp2p-dns

* More concerns
2018-03-07 10:49:11 +01:00
Pierre Krieger
242702a7a9
Improve and fix nat_traversal for browser websockets (#130)
* Improve and fix nat_traversal for browser websockets

* Also check that remainder of addr is empty

* Fix concerns
2018-02-14 14:46:11 +01:00
Pierre Krieger
8628a59ecf Add a nat_traversal() method to Transport (#110)
* Add a nat_traversal() method to Transport

* Fix compilation
2018-02-08 13:50:16 +01:00
Pierre Krieger
6c737c61bf
Add support for WSS for dialing 2018-01-11 16:06:11 +01:00
Pierre Krieger
6837a3928d
Rustfmt and use tabs 2018-01-11 11:11:49 +01:00
Pierre Krieger
b8829d7cb1
More concerns 2018-01-11 11:07:17 +01:00
Pierre Krieger
2783c5713e
Fix concerns 2018-01-10 18:24:58 +01:00
Pierre Krieger
c211d6b96e
Add a websocket transport 2018-01-03 10:30:50 +01:00