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
6179778ba9
Switch to futures-mutex of paritytech ( #113 )
2018-02-07 15:59:35 +01:00
Pierre Krieger
1071bfd324
Some integration tests for multiplex-rs ( #108 )
...
* Some integration tests for multiplex-rs
* Correctly check that the background thread is ok
2018-01-26 11:40:43 +01:00
Pierre Krieger
68c8627597
Correctly report the address of the dialer in identify
2018-01-10 17:35:22 +01:00
Vurich
2d56f0eb42
Remove testing code
2017-12-15 12:13:49 +01:00
Vurich
19f0c8f3ef
Fix multiplex waking and make it so that inbound streams can be handled concurrently with negotiating the outbound stream
2017-12-14 17:37:32 +01:00
Pierre Krieger
5ddda08170
[WIP] Integrate multiplex in the examples
2017-12-12 12:51:49 +01:00
Vurich
ffdd61bcc8
Wake metadata task (and past tasks too)
2017-12-12 12:38:16 +01:00
Vurich
eda6ea846f
Fix licensing
2017-12-11 18:19:25 +01:00
Vurich
624d2238f9
Set task correctly when not blocked
2017-12-11 17:57:11 +01:00
Vurich
496100cdb5
MultiplexEnd->Endpoint
2017-12-11 16:38:59 +01:00
Vurich
a4014bb08e
Add multiplex
2017-12-11 16:34:04 +01:00
Vurich
097666b09e
Add circular-buffer
2017-12-11 16:33:55 +01:00
Vurich
8148b298b2
Add varint-rs
2017-12-11 16:33:40 +01:00