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

feat(p2p): enable quic protocol support #4056

Merged
merged 3 commits into from
Mar 15, 2024
Merged

feat(p2p): enable quic protocol support #4056

merged 3 commits into from
Mar 15, 2024

Conversation

hanabi1224
Copy link
Contributor

@hanabi1224 hanabi1224 commented Mar 14, 2024

Summary of changes

Running forest-cli net peers against lotus(calibnet) shows there're active nodes using the quic protocol. This PR enables quic on forest to improve connectivity.

Changes introduced in this pull request:

  • enable libp2p quic protocol
# Lotus (calibnet)
➜  forest git:(hm/p2p-quic) FULLNODE_API_INFO="/ip4/127.0.0.1/tcp/1234/http" forest-cli net peers | grep quic
12D3KooWHevRB9VCfQYSm12ZFExsrSpKmQKYegJ4WiPPmLNUmW6j, [/ip4/108.62.52.130/udp/50374/quic-v1]
12D3KooWDQgeBh1fRErhdoZJqhsnrm4xSDR84HkTjz8Y69fRn3jJ, [/ip4/14.202.202.92/udp/42548/quic-v1]
12D3KooWHM9iEXtB6gge3pdbKMANKdnJ87sasnxnFPXwx9rWE9cD, [/ip4/14.198.182.246/udp/36480/quic-v1]
12D3KooWDaytBGWLFjsCjyXzphCqAojZajn5GgAYEFYCYov1MsJ7, [/ip4/65.108.96.135/udp/39573/quic-v1]

# Forest (calibnet)
➜  forest git:(hm/p2p-quic) FULLNODE_API_INFO="/ip4/127.0.0.1/tcp/2345/http" forest-cli net peers | grep quic
12D3KooWHM9iEXtB6gge3pdbKMANKdnJ87sasnxnFPXwx9rWE9cD, [/ip4/14.198.182.246/udp/36480/quic-v1/p2p/12D3KooWHM9iEXtB6gge3pdbKMANKdnJ87sasnxnFPXwx9rWE9cD]
12D3KooWHevRB9VCfQYSm12ZFExsrSpKmQKYegJ4WiPPmLNUmW6j, [/ip4/108.62.52.130/udp/50374/quic-v1/p2p/12D3KooWHevRB9VCfQYSm12ZFExsrSpKmQKYegJ4WiPPmLNUmW6j]
12D3KooWDaytBGWLFjsCjyXzphCqAojZajn5GgAYEFYCYov1MsJ7, [/ip4/65.108.96.135/udp/39573/quic-v1/p2p/12D3KooWDaytBGWLFjsCjyXzphCqAojZajn5GgAYEFYCYov1MsJ7]
12D3KooWDQgeBh1fRErhdoZJqhsnrm4xSDR84HkTjz8Y69fRn3jJ, [/ip4/14.202.202.92/udp/42548/quic-v1/p2p/12D3KooWDQgeBh1fRErhdoZJqhsnrm4xSDR84HkTjz8Y69fRn3jJ]

Reference issue to close (if applicable)

Closes

Other information and links

Change checklist

  • I have performed a self-review of my own code,
  • I have made corresponding changes to the documentation,
  • I have added tests that prove my fix is effective or that my feature works (if possible),
  • I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

@hanabi1224 hanabi1224 marked this pull request as ready for review March 14, 2024 08:17
@hanabi1224 hanabi1224 requested a review from a team as a code owner March 14, 2024 08:17
@hanabi1224 hanabi1224 requested review from LesnyRumcajs and sudo-shashank and removed request for a team March 14, 2024 08:17
@hanabi1224 hanabi1224 added this pull request to the merge queue Mar 15, 2024
Merged via the queue into main with commit 5eccbd3 Mar 15, 2024
27 checks passed
@hanabi1224 hanabi1224 deleted the hm/p2p-quic branch March 15, 2024 10:55
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.

None yet

3 participants