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
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
acbe1d0386
No longer use deprecated function Multiaddr::new
2018-01-09 19:16:45 +01:00
Pierre Krieger
3438640907
Change API to allow multiple simultaneous clients
2018-01-03 10:30:26 +01:00
Pierre Krieger
97f7d8fd67
Try make IPv6 work on travis
2018-01-02 17:35:39 +01:00
Pierre Krieger
458077417e
Integrate a local copy of rust-multiaddr for development
2017-12-18 13:08:26 +01:00
Pierre Krieger
1da2c5015c
Properly handle protocol negotiation errors
2017-12-18 12:10:37 +01:00
Pierre Krieger
04858839f1
Add a README and documentation for libp2p-tcp-transport
2017-12-04 16:05:37 +01:00
Pierre Krieger
91d86eb470
Merge remote-tracking branch 'upstream/master' into muxer-trait
2017-12-04 11:38:38 +01:00
Pierre Krieger
b311d66b58
Add muxing trait and architecture
2017-11-30 16:00:49 +01:00
Pierre Krieger
868d6fbf68
Fix multiaddr from SocketAddr generation
2017-11-30 15:43:13 +01:00
Pierre Krieger
fd7b86ddcb
listen_on now returns a new Multiaddr on success
2017-11-24 16:10:34 +01:00
tomaka
100f368c9d
Implement swarm
2017-11-20 17:03:50 +01:00
Guanqun Lu
15df93a954
add a small test case for Err result
2017-11-16 23:59:38 +08:00
Vurich
384d15e24a
Cleanup and remove unnecessary trait objects
2017-11-01 15:07:11 +01:00
Fredrik
80ffb9e7c4
Move tests into module
2017-09-30 15:55:57 +02:00
Fredrik
c84a14ea49
Replace Dial with concrete type
2017-09-19 12:24:51 +02:00
Fredrik
64a62ff513
Remove Handle
from top-level interface
2017-09-18 17:25:04 +02:00
Fredrik
e45fb87a5f
First take on a working TCP transport
2017-09-18 16:52:51 +02:00