Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade libp2p to latest master with two upstream PRs on top that all… #1154

Merged
merged 1 commit into from
Feb 20, 2023

Conversation

nazar-pc
Copy link
Member

@nazar-pc nazar-pc commented Feb 17, 2023

This simply updates libp2p master with following PRs applied:

Check those PRs for details and discussions, they are accumulated into https://github.com/subspace/rust-libp2p/tree/subspace-v5

The changes were supposed to be trivial (holding onto event guard to prevent inbound stream read before previous stream announcement is processed), but due to upstream changes some things had to be tweaked in a minor way. Actually more code was removed than added (the diff is the other way due to lock file). I also had to update some packages alongside libp2p upgrade, so I put corresponding versions where we use them too.

NOTE: This requires for nodes on the network to upgrade before fix taking an effect, it will not help if just one node is upgraded because sender needs to be able to reuse outgoing streams (one of the PRs above).

Fixes #1129

Code contributor checklist:

…ow providers announcement to be processed asynchronously
@nazar-pc nazar-pc merged commit a941651 into main Feb 20, 2023
@nazar-pc nazar-pc deleted the async-provider-announcement-acknowledgement branch February 20, 2023 16:48
i1i1 added a commit to autonomys/subspace-pulsar-sdk that referenced this pull request Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Async announcements acknowledgement/provider store for DSN
3 participants