mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-28 00:31:06 +00:00
Upgrade to libp2p-0.31. (#7606)
* Upgrade to libp2p-0.31. * Address line width. * Add generous incoming connection limit. * Remove old noise configuration.
This commit is contained in:
@@ -44,6 +44,7 @@ use libp2p::{
|
||||
upgrade::{OutboundUpgrade, read_one, write_one}
|
||||
},
|
||||
swarm::{
|
||||
AddressRecord,
|
||||
NegotiatedSubstream,
|
||||
NetworkBehaviour,
|
||||
NetworkBehaviourAction,
|
||||
@@ -1463,7 +1464,7 @@ mod tests {
|
||||
impl PollParameters for EmptyPollParams {
|
||||
type SupportedProtocolsIter = iter::Empty<Vec<u8>>;
|
||||
type ListenedAddressesIter = iter::Empty<Multiaddr>;
|
||||
type ExternalAddressesIter = iter::Empty<Multiaddr>;
|
||||
type ExternalAddressesIter = iter::Empty<AddressRecord>;
|
||||
|
||||
fn supported_protocols(&self) -> Self::SupportedProtocolsIter {
|
||||
iter::empty()
|
||||
|
||||
Reference in New Issue
Block a user