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.
Adds an implementation of the QUIC protocol based on the
picoquic
crate.The new transport supports addresses of the form
/ip4/1.2.3.4/udp/5/quic
or/ip6/[::]/udp/100/quic
. The whole address is interpreted at once (not just the/quic
suffix), and the transport directly returns a(PeerId, impl StreamMuxer)
, which means that we don't use secio/mplex/yamux. Only RSA keys are supported bypicoquic
at the moment.Please don't read the entire diff, as this branch is based upon my rework. If you want a preview or really want to review, feel free to review the last commit ("Add libp2p-quic").
This is waiting for
picoquic
to upgrade to the latest tokio, so that we can remove thetokio_core::reactor::Handle
from the API.Untested.
cc @bkchr
Close #211