Commit Graph

465 Commits

Author SHA1 Message Date
de39e321e9 Fix a missing loop in SwarmFuture::poll (#272) 2018-06-25 14:29:15 +02:00
ab96f7efe0 Add loops around stream polling (#251) 2018-06-22 11:02:47 +02:00
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
28fdf23d67 Add some regression tests in libp2p-core (#237) 2018-06-05 19:01:18 +02:00
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
be2fa0e531 Turn warn! into debug! (#235) 2018-06-04 15:53:58 +02:00
c1cd10c034 upgrade::or() requires same Output (#218) 2018-05-24 16:37:12 +02:00
89087f021d Move PeerId to libp2p-core (#214) 2018-05-24 00:54:08 +02:00
445ae17904 Move SimpleProtocol from core to libp2p. (#212)
cf. issue #200
2018-05-23 16:27:55 +02:00
a163e81e30 Rename EitherSocket to EitherOutput (#201) 2018-05-23 11:45:35 +02:00
e5f23c74c0 Remove dial_custom_handler (#203)
* Remove dial_custom_handler

* Rename dial_to_handler to dial
2018-05-22 18:58:27 +02:00
250af629ee Use loop to poll FuturesUnordered after push. (#198)
Fixes #190.
2018-05-21 16:27:03 +02:00
86a21fc43e Remove all targets from log statements. (#195)
The default uses crate + module path anyway, so `target` has been
redundant, causes more work when renaming crates and makes log
lines longer.
2018-05-17 15:14:13 +02:00
cb800624f5 Change Transport::Dial to be Future and not IntoFuture (#193) 2018-05-17 13:09:22 +02:00
5c1890e66a Rename libp2p_swarm to libp2p_core (#189) 2018-05-16 12:59:36 +02:00