Pierre Krieger
294310cd07
Rewrite multiplex ( #261 )
...
* Rewrite multiplex
* Increase the packet size limit to 32 MB
* Fix waiting for poll_complete to finish
* Typo
* Properly close substreams
* Add a limit to the number of substreams
* Add a limit to the length of the internal buffer
* Fix concerns
2018-07-17 16:31:32 +02:00
Pierre Krieger
16e3453b7f
Use the new version of tokio ( #303 )
2018-07-16 12:15:27 +02:00
Pierre Krieger
18075f4eaa
Give access to secio ephemeral key ( #280 )
...
* Give access to secio ephemeral key
* Fix tests
2018-07-04 17:07:38 +02:00
Pierre Krieger
143a1845b1
The PeerId is the hash of the protobuf encoding ( #276 )
2018-06-25 17:56:36 +02:00
Pierre Krieger
7b375798a5
The Multiaddr of the remote is now a Future ( #249 )
...
* The Multiaddr of the remote is now a Future
* The multiaddress future in swarm is now a Box
2018-06-19 14:38:55 +02:00
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
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
c1cd10c034
upgrade::or() requires same Output ( #218 )
2018-05-24 16:37:12 +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