This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
chore: update libp2p to 0.52.1 #14429
Merged
paritytech-processbot
merged 53 commits into
paritytech:master
from
melekes:anton/libp2p-0.52.0
Jul 25, 2023
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
3102dbd
update libp2p to 0.52.0
melekes 54778bd
proto name now must implement `AsRef<str>`
melekes 839641b
update libp2p version everywhere
melekes 45ff813
ToSwarm, FromBehaviour, ToBehaviour
melekes 12ba133
new NetworkBehaviour invariants
melekes fe656e8
replace `Vec<u8>` with `StreamProtocol`
melekes 37e7408
rename ConnectionHandlerEvent::Custom to NotifyBehaviour
melekes d5b8198
remove DialError & ListenError invariants
melekes 81f5cd0
use connection_limits::Behaviour
melekes 4d068dd
impl `void::Void` for `BehaviourOut`
melekes 3e54dd1
KademliaHandler no longer public
melekes 076635b
fix StreamProtocol construction
melekes d1fd05c
update libp2p-identify to 0.2.0
melekes f01de8b
remove non-existing methods from PollParameters
melekes bea250f
`P2p` now contains `PeerId`, not `Multihash`
melekes 405ebcb
use multihash-codetable crate
melekes 394eba1
Merge branch 'master' into anton/libp2p-0.52.0
melekes ac5cfd3
update Cargo.lock
melekes 3d04207
reformat text
melekes 5f511cc
comment out tests for now
melekes f141f03
Merge branch 'master' into anton/libp2p-0.52.0
melekes 6970c11
remove `.into()` from P2p
melekes 49e0ba7
confirm observed addr manually
melekes 477ebc1
Merge branch 'master' into anton/libp2p-0.52.0
melekes dd4a718
remove SwarmEvent::Banned
melekes c4f0a9c
fix imports
melekes 350902c
replace `libp2p` with smaller deps in network-gossip
melekes b67be46
bring back tests
melekes 3c179f0
finish rewriting tests
melekes 720a068
uncomment handler tests
melekes 7ffa62a
Revert "uncomment handler tests"
melekes 07f2db8
add a fixme
melekes 0370270
Merge branch 'master' into anton/libp2p-0.52.0
melekes b25efe5
update Cargo.lock
melekes 343a86e
remove extra From
melekes 965cc2d
Merge branch 'master' into anton/libp2p-0.52.0
melekes 3b1c8f2
make void uninhabited
melekes a506670
fix discovery test
melekes 6c78a74
use autonat protocols
melekes 09f1ab6
fix SyncNotificationsClogged invariant
melekes e22dc73
Merge branch 'master' into anton/libp2p-0.52.0
melekes 2b1377c
only set server mode manually in tests
melekes 6aa6c8d
Merge branch 'master' into anton/libp2p-0.52.0
melekes 8538215
Merge remote-tracking branch 'origin/master' into anton/libp2p-0.52.0
a6e2e25
Merge branch 'master' into anton/libp2p-0.52.0
melekes c45b465
address @dmitry-markin comments
melekes d464408
remove autonat
melekes 8b9309d
removed unused var
melekes 73df4d5
fix EOL
melekes c34f538
Merge branch 'master' into anton/libp2p-0.52.0
melekes d44efb5
update smallvec and sha2
melekes ff76e2a
bump k256
melekes 925cad0
Merge branch 'master' into anton/libp2p-0.52.0
melekes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix StreamProtocol construction
- Loading branch information
commit 076635bd98edd03d62675f8b40f4eef62cc7d129
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no such variant seems to exist
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PingFailure
doesn't exist?What does
ConnectionError::Handler(Either::Left(Either::Left(Either::Left(Either::Right
contain?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::io::Error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are sure that this
io::Error
is handling the case for ping failure, may be we should still report it as"ping-failure"
and not as default"protocol-error"
?