-
Notifications
You must be signed in to change notification settings - Fork 905
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
protocols/relay: Implement circuit relay v2 protocol #2059
Commits on Apr 26, 2021
-
protocols/relay: Implement circuit relay v2 protocol
This commit adds an implementation for the circuit relay v2 protocol to be used as a relay server, i.e. it supports incoming HOP requests and outgoing STOP requests. Future commits will add support for clients, i.e. outgoing HOP requests and incoming STOP requests. The existing circuit relay v1 protocol implementation is moved to protocols/relay/src/v1.
Configuration menu - View commit details
-
Copy full SHA for 3bd6602 - Browse repository at this point
Copy the full SHA 3bd6602View commit details -
Configuration menu - View commit details
-
Copy full SHA for 125e3c3 - Browse repository at this point
Copy the full SHA 125e3c3View commit details
Commits on Apr 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4281bd5 - Browse repository at this point
Copy the full SHA 4281bd5View commit details
Commits on May 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 778512d - Browse repository at this point
Copy the full SHA 778512dView commit details
Commits on May 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dfe1285 - Browse repository at this point
Copy the full SHA dfe1285View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca19fe4 - Browse repository at this point
Copy the full SHA ca19fe4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59c8741 - Browse repository at this point
Copy the full SHA 59c8741View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54cc9db - Browse repository at this point
Copy the full SHA 54cc9dbView commit details
Commits on May 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8e7b6a0 - Browse repository at this point
Copy the full SHA 8e7b6a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1589cc - Browse repository at this point
Copy the full SHA a1589ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4af855e - Browse repository at this point
Copy the full SHA 4af855eView commit details
Commits on May 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8934664 - Browse repository at this point
Copy the full SHA 8934664View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79fd6be - Browse repository at this point
Copy the full SHA 79fd6beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ed3153 - Browse repository at this point
Copy the full SHA 0ed3153View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1318636 - Browse repository at this point
Copy the full SHA 1318636View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5df655e - Browse repository at this point
Copy the full SHA 5df655eView commit details
Commits on May 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 643ffb0 - Browse repository at this point
Copy the full SHA 643ffb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 570980d - Browse repository at this point
Copy the full SHA 570980dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 037a398 - Browse repository at this point
Copy the full SHA 037a398View commit details
Commits on Jul 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 806fd93 - Browse repository at this point
Copy the full SHA 806fd93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b170d7 - Browse repository at this point
Copy the full SHA 5b170d7View commit details
Commits on Jul 2, 2021
-
Revert "misc/multistream-select: Ignore simultaneous open 'iamclient'"
This reverts commit 125e3c3.
Configuration menu - View commit details
-
Copy full SHA for 1723e92 - Browse repository at this point
Copy the full SHA 1723e92View commit details
Commits on Jul 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cfcb810 - Browse repository at this point
Copy the full SHA cfcb810View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea53ad7 - Browse repository at this point
Copy the full SHA ea53ad7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 599aa09 - Browse repository at this point
Copy the full SHA 599aa09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b8d54c - Browse repository at this point
Copy the full SHA 0b8d54cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3082efb - Browse repository at this point
Copy the full SHA 3082efbView commit details
Commits on Jul 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5f073c6 - Browse repository at this point
Copy the full SHA 5f073c6View commit details
Commits on Jul 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fdacc1b - Browse repository at this point
Copy the full SHA fdacc1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93f0979 - Browse repository at this point
Copy the full SHA 93f0979View commit details -
Configuration menu - View commit details
-
Copy full SHA for 334ffc6 - Browse repository at this point
Copy the full SHA 334ffc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8803bd0 - Browse repository at this point
Copy the full SHA 8803bd0View commit details
Commits on Jul 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c51f9e2 - Browse repository at this point
Copy the full SHA c51f9e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8777d70 - Browse repository at this point
Copy the full SHA 8777d70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e5f99d - Browse repository at this point
Copy the full SHA 4e5f99dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d55a5b9 - Browse repository at this point
Copy the full SHA d55a5b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5f63bc - Browse repository at this point
Copy the full SHA e5f63bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8d0047 - Browse repository at this point
Copy the full SHA f8d0047View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55dd0a2 - Browse repository at this point
Copy the full SHA 55dd0a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e11439 - Browse repository at this point
Copy the full SHA 7e11439View commit details -
Configuration menu - View commit details
-
Copy full SHA for 126f971 - Browse repository at this point
Copy the full SHA 126f971View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75f5616 - Browse repository at this point
Copy the full SHA 75f5616View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dc961a - Browse repository at this point
Copy the full SHA 6dc961aView commit details
Commits on Jul 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2ef7050 - Browse repository at this point
Copy the full SHA 2ef7050View commit details
Commits on Jul 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b07257d - Browse repository at this point
Copy the full SHA b07257dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31f8424 - Browse repository at this point
Copy the full SHA 31f8424View commit details
Commits on Aug 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8dc98bf - Browse repository at this point
Copy the full SHA 8dc98bfView commit details
Commits on Aug 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cfa459d - Browse repository at this point
Copy the full SHA cfa459dView commit details
Commits on Sep 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7e51e54 - Browse repository at this point
Copy the full SHA 7e51e54View commit details
Commits on Oct 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 832f069 - Browse repository at this point
Copy the full SHA 832f069View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c79813 - Browse repository at this point
Copy the full SHA 2c79813View commit details
Commits on Nov 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fa82385 - Browse repository at this point
Copy the full SHA fa82385View commit details
Commits on Nov 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d51fa72 - Browse repository at this point
Copy the full SHA d51fa72View commit details
Commits on Nov 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c742335 - Browse repository at this point
Copy the full SHA c742335View commit details
Commits on Nov 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0780206 - Browse repository at this point
Copy the full SHA 0780206View commit details
Commits on Nov 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 69b2fc1 - Browse repository at this point
Copy the full SHA 69b2fc1View commit details -
protocols/relay/examples: Structure command line args
- Allow deterministic peer identity. - Choose between ipv6 and ipv4.
Configuration menu - View commit details
-
Copy full SHA for 580f668 - Browse repository at this point
Copy the full SHA 580f668View commit details
Commits on Dec 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7c9f3bc - Browse repository at this point
Copy the full SHA 7c9f3bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad79422 - Browse repository at this point
Copy the full SHA ad79422View commit details -
Configuration menu - View commit details
-
Copy full SHA for 517075d - Browse repository at this point
Copy the full SHA 517075dView commit details -
Configuration menu - View commit details
-
Copy full SHA for da7f5e4 - Browse repository at this point
Copy the full SHA da7f5e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45163df - Browse repository at this point
Copy the full SHA 45163dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d20392 - Browse repository at this point
Copy the full SHA 1d20392View commit details -
Configuration menu - View commit details
-
Copy full SHA for 395f43a - Browse repository at this point
Copy the full SHA 395f43aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2de96d6 - Browse repository at this point
Copy the full SHA 2de96d6View commit details
Commits on Dec 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c0c0880 - Browse repository at this point
Copy the full SHA c0c0880View commit details -
Configuration menu - View commit details
-
Copy full SHA for 746c75e - Browse repository at this point
Copy the full SHA 746c75eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08d6637 - Browse repository at this point
Copy the full SHA 08d6637View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfd92a1 - Browse repository at this point
Copy the full SHA bfd92a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a60ffba - Browse repository at this point
Copy the full SHA a60ffbaView commit details
Commits on Dec 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1123952 - Browse repository at this point
Copy the full SHA 1123952View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1af928a - Browse repository at this point
Copy the full SHA 1af928aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9d9b41 - Browse repository at this point
Copy the full SHA a9d9b41View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8f21ae - Browse repository at this point
Copy the full SHA a8f21aeView commit details -
protocols/relay/src/v2/client/transport: Loop on from_behaviour
Previous version was (a) confusing due to assuming `queued_new_addresses` to be empty and (b) error prone in the case where `addrs` is emtpy and thus no `Waker` being registered.
Configuration menu - View commit details
-
Copy full SHA for daa0686 - Browse repository at this point
Copy the full SHA daa0686View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8856fde - Browse repository at this point
Copy the full SHA 8856fdeView commit details -
protocols/relay/: Allow large enum variant
While a good lint in itself, I don't think we need to optimize these enums without previously benchmarking its impact.
Configuration menu - View commit details
-
Copy full SHA for a1fad8c - Browse repository at this point
Copy the full SHA a1fad8cView commit details
Commits on Dec 13, 2021
-
protocols/relay/src/v2/client/transport: Remove destination address
Don't include destination address when establishing relayed connection in doc example.
Configuration menu - View commit details
-
Copy full SHA for 5d9f95a - Browse repository at this point
Copy the full SHA 5d9f95aView commit details -
Configuration menu - View commit details
-
Copy full SHA for eaab34e - Browse repository at this point
Copy the full SHA eaab34eView commit details -
protocols/relay/src/v2/client: Pass event at handler initialization
Instead of creating a new connection and only once established pass a command to said connection, provide the command early on to the handler, thus not requiring to buffer the command within the `NetworkBehaviour` implementation.
2Configuration menu - View commit details
-
Copy full SHA for 26aaa6e - Browse repository at this point
Copy the full SHA 26aaa6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49a6327 - Browse repository at this point
Copy the full SHA 49a6327View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e4e743 - Browse repository at this point
Copy the full SHA 2e4e743View commit details -
protocols/relay/src/v2/client: Introduce Reservation::None
This allows us to put more logic on the actual `Reservation` type, making the implementation of the handler slightly simpler.
Configuration menu - View commit details
-
Copy full SHA for bce3ba0 - Browse repository at this point
Copy the full SHA bce3ba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01e12f7 - Browse repository at this point
Copy the full SHA 01e12f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1646f4 - Browse repository at this point
Copy the full SHA b1646f4View commit details
Commits on Dec 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 912d314 - Browse repository at this point
Copy the full SHA 912d314View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbfe25b - Browse repository at this point
Copy the full SHA dbfe25bView commit details
Commits on Dec 16, 2021
-
protocols/relay/src/v2/client/handler.rs: Fix typo
Co-authored-by: Elena Frank <57632201+elenaf9@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c09861b - Browse repository at this point
Copy the full SHA c09861bView commit details -
protocols/relay/src/v2/client/transport.rs: Make doc examples consistent
Co-authored-by: Elena Frank <57632201+elenaf9@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5afa13b - Browse repository at this point
Copy the full SHA 5afa13bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a0f886 - Browse repository at this point
Copy the full SHA 9a0f886View commit details -
protocols/relay/src/v2/protocol/inbound_stop.rs: Remove src_peer_id p…
…ub(crate) Co-authored-by: Elena Frank <57632201+elenaf9@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a15bf3d - Browse repository at this point
Copy the full SHA a15bf3dView commit details -
protocols/relay/src/v2/relay/handler: Remove wrong unused variable as…
…signment Co-authored-by: Elena Frank <57632201+elenaf9@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7b2eeb5 - Browse repository at this point
Copy the full SHA 7b2eeb5View commit details
Commits on Dec 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8e6ce38 - Browse repository at this point
Copy the full SHA 8e6ce38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 451d86c - Browse repository at this point
Copy the full SHA 451d86cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0750ef - Browse repository at this point
Copy the full SHA a0750efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b90626 - Browse repository at this point
Copy the full SHA 4b90626View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45f7e21 - Browse repository at this point
Copy the full SHA 45f7e21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b5cb8e - Browse repository at this point
Copy the full SHA 1b5cb8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f5b8e6 - Browse repository at this point
Copy the full SHA 2f5b8e6View commit details
Commits on Dec 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a056b4b - Browse repository at this point
Copy the full SHA a056b4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a4cf0a - Browse repository at this point
Copy the full SHA 7a4cf0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed79c72 - Browse repository at this point
Copy the full SHA ed79c72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b6aca3 - Browse repository at this point
Copy the full SHA 0b6aca3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e17512 - Browse repository at this point
Copy the full SHA 0e17512View commit details -
Configuration menu - View commit details
-
Copy full SHA for be9b94e - Browse repository at this point
Copy the full SHA be9b94eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9eb0f0 - Browse repository at this point
Copy the full SHA b9eb0f0View commit details -
protocols/relay/src/v2/copy_future.rs: Add unit tests
- Copying from a to b and vice versa. - Checking max bytes. - Checking max duration.
Configuration menu - View commit details
-
Copy full SHA for 93691a8 - Browse repository at this point
Copy the full SHA 93691a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cdb1b6 - Browse repository at this point
Copy the full SHA 0cdb1b6View commit details
Commits on Dec 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b68f5a2 - Browse repository at this point
Copy the full SHA b68f5a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 040909e - Browse repository at this point
Copy the full SHA 040909eView commit details -
protocols/relay/src/v2: Make reservation expiration required
See libp2p/specs#384 for corresponding specification change.
Configuration menu - View commit details
-
Copy full SHA for d5ee477 - Browse repository at this point
Copy the full SHA d5ee477View commit details
Commits on Dec 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3627610 - Browse repository at this point
Copy the full SHA 3627610View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a4ad18 - Browse repository at this point
Copy the full SHA 9a4ad18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aa6e94 - Browse repository at this point
Copy the full SHA 2aa6e94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6916384 - Browse repository at this point
Copy the full SHA 6916384View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aa3867 - Browse repository at this point
Copy the full SHA 8aa3867View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca5aaed - Browse repository at this point
Copy the full SHA ca5aaedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48f7f68 - Browse repository at this point
Copy the full SHA 48f7f68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58daa47 - Browse repository at this point
Copy the full SHA 58daa47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00c98d5 - Browse repository at this point
Copy the full SHA 00c98d5View commit details
Commits on Dec 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 14e7912 - Browse repository at this point
Copy the full SHA 14e7912View commit details
Commits on Dec 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3f8e772 - Browse repository at this point
Copy the full SHA 3f8e772View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6dbf82 - Browse repository at this point
Copy the full SHA b6dbf82View commit details
Commits on Jan 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 80a9e76 - Browse repository at this point
Copy the full SHA 80a9e76View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1cb684 - Browse repository at this point
Copy the full SHA b1cb684View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4212777 - Browse repository at this point
Copy the full SHA 4212777View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00dbcc8 - Browse repository at this point
Copy the full SHA 00dbcc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ce0a3 - Browse repository at this point
Copy the full SHA 56ce0a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab619c9 - Browse repository at this point
Copy the full SHA ab619c9View commit details