-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat: go-libp2p 0.36 and /webrtc-direct listener #10463
Conversation
af67762
to
a8d2a7c
Compare
009fb8d
to
9773255
Compare
(Marking as blocked until go-libp2p allows listening on the same UDP port as |
37eafa3
to
7177fe0
Compare
7177fe0
to
b3719e8
Compare
switches to version from libp2p/go-libp2p#2889
b3719e8
to
f7868e6
Compare
go.sum
Outdated
github.com/ipfs/boxo v0.20.0 h1:umUl7q1v5g5AX8FPLTnZBvvagLmT+V0Tt61EigP81ec= | ||
github.com/ipfs/boxo v0.20.0/go.mod h1:mwttn53Eibgska2DhVIj7ln3UViq7MVHRxOMb+ehSDM= |
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.
💭 unsure why go mode downgraded things here, likely boxo uses more modern deps than go-libp2p
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.
provisionally resolved in 2f78519
Confirmed most important things work:
I'll now work on migration to add listener to existing user's machines. |
migration will sort them anyway, so making the default order match the migration output to minimize the noise
39cf60f
to
6ee6545
Compare
* chore: init fs-repo-15-to-16 from 14-to-16 mostly copy & paste * feat: append /webrtc-direct if /quic-v1 present context: ipfs/kubo#10463 * chore: bump latest version * test: sharness last this way we see if latest migration e2e passes, before we hit any issues with legacy tooling tests, which is takes second place in priority of things
Migrations are ready (fs-repo-15-to-16 work happened in: ipfs/fs-repo-migrations#190, ipfs/distributions#1091). One go-test fails due to boxo version being lowered – this PR is waiting for final go-libp2p release (which hopefully will resolve dep conflict with boxo). |
b7edd93
to
9e69bb7
Compare
same as retracted v0.36.0, but with fixed tag
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.
All green.
Merging to have wider window of testing master
with go-libp2p 0.36.1 before we tag Kubo 0.30.0-rc1, and also rebase #10468
This PR enables WebRTC Direct transport and related listener by default.
updated.
/udp/4002/webrtc-direct
listener by default (ipfs init
)/udp/400X/webrtc-direct
listener for existing users (write migration)/udp
port (4001)Closes #9724
Closes #10416 as well (because go-libp2p now pulls-in gorilla/websocket v1.5.3)
Part of #10436