Update to libp2p 0.10 (#2945)

* Update to libp2p 0.10

* Bump zeroize in substrate-network
This commit is contained in:
Pierre Krieger
2019-06-25 15:56:25 +02:00
committed by GitHub
parent 770b94c20c
commit 846941550d
14 changed files with 462 additions and 414 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ impl<TInner: NetworkBehaviour> NetworkBehaviour for UserBehaviourWrap<TInner> {
}
fn poll(
&mut self,
params: &mut PollParameters
params: &mut impl PollParameters
) -> Async<
NetworkBehaviourAction<
<<Self::ProtocolsHandler as IntoProtocolsHandler>::Handler as ProtocolsHandler>::InEvent,
@@ -932,7 +932,7 @@ where
fn poll(
&mut self,
_params: &mut PollParameters,
_params: &mut impl PollParameters,
) -> Async<
NetworkBehaviourAction<
CustomProtoHandlerIn<TMessage>,
@@ -157,7 +157,7 @@ impl<T: CustomMessage + Send + 'static> NetworkBehaviour for CustomProtoWithAddr
fn poll(
&mut self,
params: &mut PollParameters
params: &mut impl PollParameters
) -> Async<
NetworkBehaviourAction<
<<Self::ProtocolsHandler as IntoProtocolsHandler>::Handler as ProtocolsHandler>::InEvent,
+1 -1
View File
@@ -253,7 +253,7 @@ where TSubstream: AsyncRead + AsyncWrite {
fn poll(
&mut self,
params: &mut PollParameters
params: &mut impl PollParameters
) -> Async<
NetworkBehaviourAction<
<<Self::ProtocolsHandler as IntoProtocolsHandler>::Handler as ProtocolsHandler>::InEvent,
+1 -1
View File
@@ -150,7 +150,7 @@ where
fn poll(
&mut self,
params: &mut PollParameters,
params: &mut impl PollParameters,
) -> Async<
NetworkBehaviourAction<
<Self::ProtocolsHandler as ProtocolsHandler>::InEvent,
@@ -335,7 +335,7 @@ ProtocolBehaviour<B, S, H> {
fn poll(
&mut self,
params: &mut PollParameters,
params: &mut impl PollParameters,
) -> Async<
NetworkBehaviourAction<
<<Self::ProtocolsHandler as IntoProtocolsHandler>::Handler as ProtocolsHandler>::InEvent,