15 Commits

Author SHA1 Message Date
Pierre Krieger
dbbee5756e
Use stronger typing for the public key of identify (#236)
* Use stronger typing for the public key of identify

* Add PartialEq/Eq implementations

* Fix tests

* Also change is_public_key()
2018-06-05 12:29:59 +02:00
Pierre Krieger
57c3103f78
Integrate the multiformats crates (#231)
* Remove the multihash patch

* Integrate the multiformats crates

* Fix not compiling on emscripten
2018-06-01 10:10:00 +02:00
Pierre Krieger
f193a2eb0c
Fix CommonTransport not accepting TCP/IP (#229) 2018-05-31 17:16:23 +02:00
Pierre Krieger
4c2cabca93
Add support for Ed25519 in secio (#226)
* Add support for Ed25519 in secio

* Add SecioPublicKey::to_peer_id()
2018-05-31 14:50:24 +02:00
Pierre Krieger
6b95414161
Update kademlia for the removing of From (#220)
* Update kademlia for the removing From

* Fix the kad example

* Some documentation
2018-05-29 17:32:40 +02:00
Pierre Krieger
7d6ad230ea
Update the PeerId import paths (#217) 2018-05-24 18:00:47 +02:00
Pierre Krieger
c1cd10c034
upgrade::or() requires same Output (#218) 2018-05-24 16:37:12 +02:00
Pierre Krieger
c7f654a815
Put secio behind a feature flag in the facade (#219)
* Put secio behind a feature flag in the facade

* Define the features required by examples

* Test both with and without Cargo features
2018-05-24 16:24:20 +02:00
Pierre Krieger
b5db91a075
Restore ratelimit in libp2p facade (#213) 2018-05-23 17:03:42 +02:00
Toralf Wittner
445ae17904 Move SimpleProtocol from core to libp2p. (#212)
cf. issue #200
2018-05-23 16:27:55 +02:00
Pierre Krieger
b7065de672
Make the libp2p facade compilable for emscripten (#205) 2018-05-23 11:22:49 +02:00
Pierre Krieger
e5f23c74c0
Remove dial_custom_handler (#203)
* Remove dial_custom_handler

* Rename dial_to_handler to dial
2018-05-22 18:58:27 +02:00
Pierre Krieger
d51321f5dd
Move the examples to the facade crate (#197) 2018-05-21 18:49:02 +02:00
Pierre Krieger
3dacc9009e
Add the two missing libraries from the facade (#196) 2018-05-20 10:11:42 +02:00
Pierre Krieger
a282434d5d
Add a libp2p facade crate (#191)
* Add a libp2p facade crate

* Remove secio for now

* Reexport peerstore and PeerId

* Also reexport swarm()
2018-05-18 14:56:11 +02:00