Pierre Krieger
5c1890e66a
Rename libp2p_swarm to libp2p_core ( #189 )
2018-05-16 12:59:36 +02:00
Pierre Krieger
f787f3d8b8
Swarm rework ( #182 )
...
* Rename Transport::RawConn to Output
* Remove AsyncRead + AsyncWrite bound on Transport::Output
* UpgradedNode now always implements Transport
* Add and tweak modifiers for Transport and ConnectionUpgrade
* Secio upgrade now returns the pubkey in its output
* Add upgrade::apply
* Add Transport::and_then
* Rework the swarm
* Rustfmt
* Fix concerns
2018-05-14 15:55:16 +02:00
Pierre Krieger
9a7c278e83
Rename multiplex to libp2p-mplex ( #153 )
...
* Rename multiplex to libp2p-multiplex
* Rename multiplex to mplex
* Fmt
* Fix compilation
2018-05-04 15:27:49 +02:00
Toralf Wittner
d346a6f495
Refactor transport into multiple modules. ( #170 )
...
Addresses #158 .
Besides the refactoring, the type `EitherIncomingStream` has been
removed as it is not used.
2018-05-02 11:50:48 +02:00
Jef
c487b489ce
Add buffering to Substream
using circular-buffer
( #154 )
...
* Add buffering to `Substream` using `circular-buffer`
* Fix freeze and add tests
* Fix tests
* fmt
2018-03-21 15:41:24 +01:00
Pierre Krieger
064706be39
Add logging to the examples ( #138 )
2018-03-15 16:56:55 +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
641f09d9ae
Try run the echo-dialer on circle-ci ( #112 )
...
* Try run the echo-dialer on circle-ci
* Fix attempt
* Fix attempt
* Fix attempt
* Fix attempt
* Fix attempt
* Fix attempt
* Fix attempt
* Fix echo dialer example to actually finish
* Fix the echo examples
* Use a proper image for the echo server
* Fix tag of js-echo-server
2018-01-29 14:59:41 +01:00
Pierre Krieger
c60fb982d2
Merge remote-tracking branch 'upstream/master' into websockets
2018-01-10 18:10:57 +01:00
Pierre Krieger
6b7fc9508e
Update the echo dialer example
2018-01-04 17:18:49 +01:00
Pierre Krieger
c211d6b96e
Add a websocket transport
2018-01-03 10:30:50 +01:00
Pierre Krieger
47a3a24fcd
Change the MuxedTransport trait
2018-01-03 10:30:39 +01:00
Pierre Krieger
ae0f787e03
Fix concerns
2017-12-18 15:57:51 +01:00
Pierre Krieger
c9f55ceb97
Allow customizing the address in the examples, plus minor improvements
2017-12-18 15:57:51 +01:00
Pierre Krieger
e0aca7e3e3
Remove or_upgrade and let users build OrUpgrade manually
2017-12-18 15:27:06 +01:00
Pierre Krieger
1da2c5015c
Properly handle protocol negotiation errors
2017-12-18 12:10:37 +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
Pierre Krieger
fda4b37931
Add comments in the examples
2017-12-07 18:06:38 +01:00
Pierre Krieger
4f981e922d
Fix concerns
2017-12-07 15:36:03 +01:00
Pierre Krieger
4881c4a6a1
Add a with_simple_protocol_upgrade alternative to with_upgrade
2017-12-07 12:45:02 +01:00
tomaka
16937910c2
Merge pull request #56 from tomaka/secio-api-improvement
...
Improve the API of the secio crate
2017-12-07 12:16:14 +01:00
Robert Habermeier
81cfc3273b
Merge pull request #59 from tomaka/plain-text-rename
...
Rename PlainText to PlainTextConfig
2017-12-06 12:15:23 +01:00
Pierre Krieger
39352b9d10
Rename PlainText to PlainTextConfig
2017-12-04 16:36:58 +01:00
Pierre Krieger
04858839f1
Add a README and documentation for libp2p-tcp-transport
2017-12-04 16:05:37 +01:00
Pierre Krieger
067c0683b5
Rename SecioConnUpgrade to SecioConfig
2017-12-04 15:50:14 +01:00
Pierre Krieger
33025ba22e
Improve the API of the secio crate
2017-12-04 15:41:35 +01:00
tomaka
100f368c9d
Implement swarm
2017-11-20 17:03:50 +01:00