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: Add WebRTC transport #2622
Commits on Jun 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3c7f796 - Browse repository at this point
Copy the full SHA 3c7f796View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5b2e09 - Browse repository at this point
Copy the full SHA d5b2e09View commit details
Commits on Jun 30, 2022
-
Revert "enable webrtc by default (temporary)"
This reverts commit d5b2e09.
Configuration menu - View commit details
-
Copy full SHA for bd8091f - Browse repository at this point
Copy the full SHA bd8091fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d703f8 - Browse repository at this point
Copy the full SHA 6d703f8View commit details
Commits on Jul 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 64d60e9 - Browse repository at this point
Copy the full SHA 64d60e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8207f9 - Browse repository at this point
Copy the full SHA e8207f9View commit details
Commits on Jul 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d96b499 - Browse repository at this point
Copy the full SHA d96b499View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e5b812 - Browse repository at this point
Copy the full SHA 0e5b812View commit details -
except destroy_substream which needs to be ported
Configuration menu - View commit details
-
Copy full SHA for 809d23e - Browse repository at this point
Copy the full SHA 809d23eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a31f1bf - Browse repository at this point
Copy the full SHA a31f1bfView commit details
Commits on Jul 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 414f945 - Browse repository at this point
Copy the full SHA 414f945View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84c5461 - Browse repository at this point
Copy the full SHA 84c5461View commit details
Commits on Jul 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 66f6c78 - Browse repository at this point
Copy the full SHA 66f6c78View commit details
Commits on Jul 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8ca428c - Browse repository at this point
Copy the full SHA 8ca428cView commit details
Commits on Jul 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 802c012 - Browse repository at this point
Copy the full SHA 802c012View commit details -
reflects changes made in https://github.com/libp2p/rust-libp2p/pull/2724/files
Configuration menu - View commit details
-
Copy full SHA for cf2c11d - Browse repository at this point
Copy the full SHA cf2c11dView commit details
Commits on Jul 19, 2022
-
get rid of
loop
in UDPMuxNewAddrby moving a reading future into Transport and polling it in a newly added `poll`. https://github.com/libp2p/rust-libp2p/pull/2622/files#r876945521
Configuration menu - View commit details
-
Copy full SHA for 35bc4eb - Browse repository at this point
Copy the full SHA 35bc4ebView commit details
Commits on Jul 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 212936f - Browse repository at this point
Copy the full SHA 212936fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4643359 - Browse repository at this point
Copy the full SHA 4643359View commit details
Commits on Jul 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e32aa57 - Browse repository at this point
Copy the full SHA e32aa57View commit details
Commits on Jul 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cd7786f - Browse repository at this point
Copy the full SHA cd7786fView commit details
Commits on Jul 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8306743 - Browse repository at this point
Copy the full SHA 8306743View commit details -
Configuration menu - View commit details
-
Copy full SHA for 136edc2 - Browse repository at this point
Copy the full SHA 136edc2View commit details -
generate random ufrag when connecting
also, remove dialer_connects_to_listener_ipv4/6 tests in favor of the smoke test.
Configuration menu - View commit details
-
Copy full SHA for 6a11aa0 - Browse repository at this point
Copy the full SHA 6a11aa0View commit details
Commits on Jul 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d0c95a4 - Browse repository at this point
Copy the full SHA d0c95a4View commit details -
return None in WebRTCListenStream when udp_mux is closed
to indicate that no more events will be coming from the stream
Configuration menu - View commit details
-
Copy full SHA for ef5e306 - Browse repository at this point
Copy the full SHA ef5e306View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04542f8 - Browse repository at this point
Copy the full SHA 04542f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 273bd2c - Browse repository at this point
Copy the full SHA 273bd2cView commit details
Commits on Jul 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5abaec4 - Browse repository at this point
Copy the full SHA 5abaec4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4e7be4 - Browse repository at this point
Copy the full SHA a4e7be4View commit details
Commits on Jul 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 29ff7c9 - Browse repository at this point
Copy the full SHA 29ff7c9View commit details
Commits on Jul 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for da94baf - Browse repository at this point
Copy the full SHA da94bafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 385c51e - Browse repository at this point
Copy the full SHA 385c51eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecf7250 - Browse repository at this point
Copy the full SHA ecf7250View commit details
Commits on Aug 1, 2022
-
closed detached channel if failed to send
also fix the smoke test (partially)
Configuration menu - View commit details
-
Copy full SHA for e781ef5 - Browse repository at this point
Copy the full SHA e781ef5View commit details
Commits on Aug 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f5f930f - Browse repository at this point
Copy the full SHA f5f930fView commit details
Commits on Aug 3, 2022
-
reset outbound_fut and close_fut
also, block_on writing to UDPMuxConn instead of spawning a thread. refs libp2p#2622 (comment)
Configuration menu - View commit details
-
Copy full SHA for 604fcc8 - Browse repository at this point
Copy the full SHA 604fcc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bd8233 - Browse repository at this point
Copy the full SHA 8bd8233View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9821580 - Browse repository at this point
Copy the full SHA 9821580View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59894fb - Browse repository at this point
Copy the full SHA 59894fbView commit details
Commits on Aug 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b770a04 - Browse repository at this point
Copy the full SHA b770a04View commit details
Commits on Aug 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 59617de - Browse repository at this point
Copy the full SHA 59617deView commit details
Commits on Aug 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7dc3ce1 - Browse repository at this point
Copy the full SHA 7dc3ce1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 503e32f - Browse repository at this point
Copy the full SHA 503e32fView commit details
Commits on Aug 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 59e0ded - Browse repository at this point
Copy the full SHA 59e0dedView commit details -
turns out we can pass negotiated: true and id=1 on both ends.
Configuration menu - View commit details
-
Copy full SHA for a2c74c6 - Browse repository at this point
Copy the full SHA a2c74c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3effb2e - Browse repository at this point
Copy the full SHA 3effb2eView commit details
Commits on Aug 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 71e56dd - Browse repository at this point
Copy the full SHA 71e56ddView commit details -
Refactor
UdpMuxNewAddr
to be lock-less (#1)* Dirty PoC for lock-less UdpMuxNewAddr The general idea is this: We use `flume` channels between the actual `UdpMuxNewAddr` instance and a set of "handles", one per async-trait that we need to satisfy. There is only one instance of `UdpMuxNewAddr`, meaning we can access it via `&mut self` and drop all locks within it. In the poll function, we can then decide, which events to prioritise over others. Most importantly, all channels between handles and the actual instance are "rendezvous channels", meaning, sending will block until we actually read the item out of the channel. This allows us to enforce backpressure from the poll function all the way to all handles and into the task that is interacting with the handle. * Remove locks from handle * Replace `flume` with `futures::mpsc` channels * Introduce `req_res_chan` module * Move locking into `req_res_chan::Sender` * Fill in more implementations * Add TODO * Implement send command handling, buffering items if we can't send them * Remove tokio::spawn for handling waiting for closed sockets * Remove futures::block_on in favor of local task set * Fix clippy warnings * Don't loop inside a loop * Use match instead of `ready!` * Fix webrtc version to rev prior to monorepo merge * Never have more than one write future This is to ensure backpressure. To not loose drop any packets, we only read from the socket in case we are not currently writing a packet. * Resolve TODO's for error handling * Make `recv_buf` as short-lived as possible * Replace AtomicBool with regular bool * Remove unused import * Simplify send_buffer handling Instead of buffering multiple items, we only ever buffer one. To work off this queue as quickly as possible, we put it at the top of the loop which allows us to reduce some code duplication by writing directly to the buffer in case we popped an item off the queue and going back to the start of the loop which will trigger a different code branch. * Cargo fmt
Configuration menu - View commit details
-
Copy full SHA for 38175fd - Browse repository at this point
Copy the full SHA 38175fdView commit details
Commits on Sep 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9ff67a3 - Browse repository at this point
Copy the full SHA 9ff67a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b1547d - Browse repository at this point
Copy the full SHA 9b1547dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91df66c - Browse repository at this point
Copy the full SHA 91df66cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d0006b - Browse repository at this point
Copy the full SHA 8d0006bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcdb4ef - Browse repository at this point
Copy the full SHA bcdb4efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6399627 - Browse repository at this point
Copy the full SHA 6399627View commit details
Commits on Sep 5, 2022
-
Merge remote-tracking branch 'melekes/anton/webrtc-transport' into we…
…brtc-message-framing
Configuration menu - View commit details
-
Copy full SHA for 22e97a0 - Browse repository at this point
Copy the full SHA 22e97a0View commit details -
transports/webrtc/: Change semantic of RESET
With mxinden/specs@865f4f2 the RESET no longer resets both write and read part of a stream, but only the former.
Configuration menu - View commit details
-
Copy full SHA for 55da918 - Browse repository at this point
Copy the full SHA 55da918View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2ae49f - Browse repository at this point
Copy the full SHA a2ae49fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31ae422 - Browse repository at this point
Copy the full SHA 31ae422View commit details
Commits on Sep 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e0fe0de - Browse repository at this point
Copy the full SHA e0fe0deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2163b4b - Browse repository at this point
Copy the full SHA 2163b4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b23256 - Browse repository at this point
Copy the full SHA 4b23256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23e779b - Browse repository at this point
Copy the full SHA 23e779bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44506ee - Browse repository at this point
Copy the full SHA 44506eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb29c7a - Browse repository at this point
Copy the full SHA bb29c7aView commit details
Commits on Sep 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 11c016f - Browse repository at this point
Copy the full SHA 11c016fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a6e4bd - Browse repository at this point
Copy the full SHA 1a6e4bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d46a171 - Browse repository at this point
Copy the full SHA d46a171View commit details
Commits on Sep 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9cd4ef7 - Browse repository at this point
Copy the full SHA 9cd4ef7View commit details
Commits on Sep 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3a46fd0 - Browse repository at this point
Copy the full SHA 3a46fd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for af76971 - Browse repository at this point
Copy the full SHA af76971View commit details
Commits on Sep 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 018854d - Browse repository at this point
Copy the full SHA 018854dView commit details
Commits on Sep 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 31e019a - Browse repository at this point
Copy the full SHA 31e019aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f57ed6 - Browse repository at this point
Copy the full SHA 6f57ed6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 421a8ec - Browse repository at this point
Copy the full SHA 421a8ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a1d4d6 - Browse repository at this point
Copy the full SHA 4a1d4d6View commit details
Commits on Sep 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c6c5a96 - Browse repository at this point
Copy the full SHA c6c5a96View commit details
Commits on Sep 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3d1d2f1 - Browse repository at this point
Copy the full SHA 3d1d2f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e630a6 - Browse repository at this point
Copy the full SHA 7e630a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2868d48 - Browse repository at this point
Copy the full SHA 2868d48View commit details
Commits on Sep 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0c45291 - Browse repository at this point
Copy the full SHA 0c45291View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbd7e75 - Browse repository at this point
Copy the full SHA bbd7e75View commit details -
Configuration menu - View commit details
-
Copy full SHA for e84eb7b - Browse repository at this point
Copy the full SHA e84eb7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c709da9 - Browse repository at this point
Copy the full SHA c709da9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ddf754 - Browse repository at this point
Copy the full SHA 6ddf754View commit details -
Configuration menu - View commit details
-
Copy full SHA for 299575f - Browse repository at this point
Copy the full SHA 299575fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3da8f7 - Browse repository at this point
Copy the full SHA d3da8f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b44aca - Browse repository at this point
Copy the full SHA 5b44acaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b052190 - Browse repository at this point
Copy the full SHA b052190View commit details
Commits on Sep 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1b0b671 - Browse repository at this point
Copy the full SHA 1b0b671View commit details
Commits on Sep 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aa38c81 - Browse repository at this point
Copy the full SHA aa38c81View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0e918b - Browse repository at this point
Copy the full SHA d0e918bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 171c613 - Browse repository at this point
Copy the full SHA 171c613View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb481a6 - Browse repository at this point
Copy the full SHA cb481a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6402665 - Browse repository at this point
Copy the full SHA 6402665View commit details -
Configuration menu - View commit details
-
Copy full SHA for d537696 - Browse repository at this point
Copy the full SHA d537696View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8c2446 - Browse repository at this point
Copy the full SHA c8c2446View commit details -
Configuration menu - View commit details
-
Copy full SHA for d58f219 - Browse repository at this point
Copy the full SHA d58f219View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb09d36 - Browse repository at this point
Copy the full SHA eb09d36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99af2a1 - Browse repository at this point
Copy the full SHA 99af2a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d85ab4 - Browse repository at this point
Copy the full SHA 2d85ab4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e2aeb1 - Browse repository at this point
Copy the full SHA 6e2aeb1View commit details
Commits on Sep 28, 2022
-
Co-authored-by: Max Inden <mail@max-inden.de>
Configuration menu - View commit details
-
Copy full SHA for 2c900b5 - Browse repository at this point
Copy the full SHA 2c900b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 226f293 - Browse repository at this point
Copy the full SHA 226f293View commit details
Commits on Oct 6, 2022
-
Revert "Create noise-prologue from server + client FP in fixed order"
This reverts commit 1b0b671.
Configuration menu - View commit details
-
Copy full SHA for a6b2aac - Browse repository at this point
Copy the full SHA a6b2aacView commit details
Commits on Oct 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for afac31c - Browse repository at this point
Copy the full SHA afac31cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71c390f - Browse repository at this point
Copy the full SHA 71c390fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5dcdd1 - Browse repository at this point
Copy the full SHA d5dcdd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b43f861 - Browse repository at this point
Copy the full SHA b43f861View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcf55b2 - Browse repository at this point
Copy the full SHA fcf55b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 979b179 - Browse repository at this point
Copy the full SHA 979b179View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1055efc - Browse repository at this point
Copy the full SHA 1055efcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5ca42d - Browse repository at this point
Copy the full SHA c5ca42dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0942424 - Browse repository at this point
Copy the full SHA 0942424View commit details -
Configuration menu - View commit details
-
Copy full SHA for e59b93b - Browse repository at this point
Copy the full SHA e59b93bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2133789 - Browse repository at this point
Copy the full SHA 2133789View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87f138b - Browse repository at this point
Copy the full SHA 87f138bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fc56ed - Browse repository at this point
Copy the full SHA 7fc56edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 969d037 - Browse repository at this point
Copy the full SHA 969d037View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e7b964 - Browse repository at this point
Copy the full SHA 5e7b964View commit details -
Configuration menu - View commit details
-
Copy full SHA for 268d0fc - Browse repository at this point
Copy the full SHA 268d0fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba71d9b - Browse repository at this point
Copy the full SHA ba71d9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7452c4b - Browse repository at this point
Copy the full SHA 7452c4bView commit details -
Rename noise error variant and improve printed log
Errors should never print their inner source.
Configuration menu - View commit details
-
Copy full SHA for 15a09ad - Browse repository at this point
Copy the full SHA 15a09adView commit details -
Don't have errors print their inner source
This leads to double printing of messages.
Configuration menu - View commit details
-
Copy full SHA for 69e2f59 - Browse repository at this point
Copy the full SHA 69e2f59View commit details -
Straight up require addresses to specify a peer ID
The current implementation already enforces this by checking `peer_id_from_addr.is_none`.
Configuration menu - View commit details
-
Copy full SHA for d0a0bb6 - Browse repository at this point
Copy the full SHA d0a0bb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d38e93 - Browse repository at this point
Copy the full SHA 3d38e93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43eb42a - Browse repository at this point
Copy the full SHA 43eb42aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a989577 - Browse repository at this point
Copy the full SHA a989577View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5e67c2 - Browse repository at this point
Copy the full SHA d5e67c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 410fc77 - Browse repository at this point
Copy the full SHA 410fc77View commit details -
Configuration menu - View commit details
-
Copy full SHA for d363369 - Browse repository at this point
Copy the full SHA d363369View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7108323 - Browse repository at this point
Copy the full SHA 7108323View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41f7ab1 - Browse repository at this point
Copy the full SHA 41f7ab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ba6954 - Browse repository at this point
Copy the full SHA 0ba6954View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e3c1db - Browse repository at this point
Copy the full SHA 9e3c1dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88c29fb - Browse repository at this point
Copy the full SHA 88c29fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2136c9 - Browse repository at this point
Copy the full SHA a2136c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 116e498 - Browse repository at this point
Copy the full SHA 116e498View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2935ca7 - Browse repository at this point
Copy the full SHA 2935ca7View commit details -
Close data channel before verifying peer ID
This is slightly nicer in case we would bail out of the function.
Configuration menu - View commit details
-
Copy full SHA for 033e485 - Browse repository at this point
Copy the full SHA 033e485View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5c5b8d - Browse repository at this point
Copy the full SHA c5c5b8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef45b58 - Browse repository at this point
Copy the full SHA ef45b58View commit details -
The entire module is crate private.
Configuration menu - View commit details
-
Copy full SHA for d4c89bf - Browse repository at this point
Copy the full SHA d4c89bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4795f81 - Browse repository at this point
Copy the full SHA 4795f81View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0bec13 - Browse repository at this point
Copy the full SHA e0bec13View commit details -
Remove log before noise handshake
We don't log it for outbound either.
Configuration menu - View commit details
-
Copy full SHA for ba961c3 - Browse repository at this point
Copy the full SHA ba961c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5f4476 - Browse repository at this point
Copy the full SHA f5f4476View commit details -
Configuration menu - View commit details
-
Copy full SHA for f643e09 - Browse repository at this point
Copy the full SHA f643e09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a74009 - Browse repository at this point
Copy the full SHA 8a74009View commit details -
Replace
select
macro withselect
fnThis is easier to maintain.
Configuration menu - View commit details
-
Copy full SHA for b9917d5 - Browse repository at this point
Copy the full SHA b9917d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5d105e - Browse repository at this point
Copy the full SHA f5d105eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4448ad - Browse repository at this point
Copy the full SHA d4448adView commit details -
Configuration menu - View commit details
-
Copy full SHA for afa35bb - Browse repository at this point
Copy the full SHA afa35bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 030d210 - Browse repository at this point
Copy the full SHA 030d210View commit details -
Perform peer ID check outside of ugprade functions
This makes them more symmetric.
Configuration menu - View commit details
-
Copy full SHA for ceba78e - Browse repository at this point
Copy the full SHA ceba78eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed9fad1 - Browse repository at this point
Copy the full SHA ed9fad1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06be476 - Browse repository at this point
Copy the full SHA 06be476View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d20a00 - Browse repository at this point
Copy the full SHA 5d20a00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52c9705 - Browse repository at this point
Copy the full SHA 52c9705View commit details -
We now have a log in `upgrade::outbound`.
Configuration menu - View commit details
-
Copy full SHA for afaaea9 - Browse repository at this point
Copy the full SHA afaaea9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c032343 - Browse repository at this point
Copy the full SHA c032343View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d44ac4 - Browse repository at this point
Copy the full SHA 3d44ac4View commit details -
This is logged by `libp2p_swarm` already.
Configuration menu - View commit details
-
Copy full SHA for e98a981 - Browse repository at this point
Copy the full SHA e98a981View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5095a0 - Browse repository at this point
Copy the full SHA f5095a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09235a3 - Browse repository at this point
Copy the full SHA 09235a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2cee23 - Browse repository at this point
Copy the full SHA b2cee23View commit details -
Configuration menu - View commit details
-
Copy full SHA for dce2371 - Browse repository at this point
Copy the full SHA dce2371View commit details -
Configuration menu - View commit details
-
Copy full SHA for 577a24e - Browse repository at this point
Copy the full SHA 577a24eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fab5a32 - Browse repository at this point
Copy the full SHA fab5a32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 316052c - Browse repository at this point
Copy the full SHA 316052cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee8fe4e - Browse repository at this point
Copy the full SHA ee8fe4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5b86d7 - Browse repository at this point
Copy the full SHA c5b86d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for db45602 - Browse repository at this point
Copy the full SHA db45602View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85aa4ef - Browse repository at this point
Copy the full SHA 85aa4efView commit details
Commits on Oct 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8709473 - Browse repository at this point
Copy the full SHA 8709473View commit details -
ThreadRng, provided by the thread_rng function, is a handle to a thread-local CSPRNG with periodic seeding from OsRng. Because this is local, it is typically much faster than OsRng. It should be secure, though the paranoid may prefer OsRng. -> OsRng is an interface to the operating system’s random number source. Typically the operating system uses a CSPRNG with entropy provided by a TRNG and some type of on-going re-seeding. -> "Before Linux 5.2 (2019), the blocking pool was ready to dispense N bits of randomness as soon as it accumulated N bits of entropy. In its information theoretical design this would make sense, if we could trust the entropy estimates, but nobody does! That means using /dev/random could be strictly less secure than using getrandom(2), because at least the latter always waits for 128 bits of entropy, which should provide some margin for error." Source: https://words.filippo.io/dispatches/linux-csprng/ Therefore, at least 128 bits of entropy are ensured on Linux. I think it's safe to remove a TODO since Linux is the primary OS used by validators.
Configuration menu - View commit details
-
Copy full SHA for f6431fb - Browse repository at this point
Copy the full SHA f6431fbView commit details
Commits on Oct 11, 2022
-
Merge remote-tracking branch 'melekes/anton/webrtc-transport' into we…
…brtc-message-framing
Configuration menu - View commit details
-
Copy full SHA for 8266fc4 - Browse repository at this point
Copy the full SHA 8266fc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2da793 - Browse repository at this point
Copy the full SHA d2da793View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b520a9 - Browse repository at this point
Copy the full SHA 1b520a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e483974 - Browse repository at this point
Copy the full SHA e483974View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29d6f74 - Browse repository at this point
Copy the full SHA 29d6f74View commit details -
Logging these state transitions is no longer really worth it because we have changed the design to have many more functions which would all require logging now.
Configuration menu - View commit details
-
Copy full SHA for d829fda - Browse repository at this point
Copy the full SHA d829fdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 058a153 - Browse repository at this point
Copy the full SHA 058a153View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1df3c4 - Browse repository at this point
Copy the full SHA e1df3c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c8feaa - Browse repository at this point
Copy the full SHA 8c8feaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6c177c - Browse repository at this point
Copy the full SHA e6c177cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2961a0 - Browse repository at this point
Copy the full SHA b2961a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f827f62 - Browse repository at this point
Copy the full SHA f827f62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16433db - Browse repository at this point
Copy the full SHA 16433dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 834ec64 - Browse repository at this point
Copy the full SHA 834ec64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e0e46d - Browse repository at this point
Copy the full SHA 7e0e46dView commit details
Commits on Oct 12, 2022
-
Merge pull request #10 from libp2p/webrtc-message-framing
transports/webrtc: Implement message framing
Configuration menu - View commit details
-
Copy full SHA for 225453b - Browse repository at this point
Copy the full SHA 225453bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35e2c50 - Browse repository at this point
Copy the full SHA 35e2c50View commit details -
"The above suggestion would still be an optimization, i.e. it would allow the server (webrtc connection responder, here Noise handshake initiator) to send application data 0.5 RTT earlier. Things would stay as is for the client (webrtc connection initiator, here Noise handshake responder)." libp2p/specs#412 (comment)
Configuration menu - View commit details
-
Copy full SHA for de191a6 - Browse repository at this point
Copy the full SHA de191a6View commit details -
don't use Multihash in Noise prologue
fix algo to SHA-256 libp2p/specs#412 (comment)
Configuration menu - View commit details
-
Copy full SHA for c435df0 - Browse repository at this point
Copy the full SHA c435df0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95665ec - Browse repository at this point
Copy the full SHA 95665ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67a13b8 - Browse repository at this point
Copy the full SHA 67a13b8View commit details
Commits on Oct 13, 2022
-
Revert "don't use Multihash in Noise prologue"
This reverts commit c435df0.
Configuration menu - View commit details
-
Copy full SHA for 806d7e3 - Browse repository at this point
Copy the full SHA 806d7e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 114f539 - Browse repository at this point
Copy the full SHA 114f539View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7f9dc2 - Browse repository at this point
Copy the full SHA e7f9dc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c8cce9 - Browse repository at this point
Copy the full SHA 6c8cce9View commit details
Commits on Oct 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c89f95a - Browse repository at this point
Copy the full SHA c89f95aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84032f0 - Browse repository at this point
Copy the full SHA 84032f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef6bf9b - Browse repository at this point
Copy the full SHA ef6bf9bView commit details -
remove default-features flag from libp2p-core
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
Configuration menu - View commit details
-
Copy full SHA for 3d3951f - Browse repository at this point
Copy the full SHA 3d3951fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fae663 - Browse repository at this point
Copy the full SHA 3fae663View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05a9b00 - Browse repository at this point
Copy the full SHA 05a9b00View commit details
Commits on Oct 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f7c8ab5 - Browse repository at this point
Copy the full SHA f7c8ab5View commit details -
enable tokio feature on libp2p-webrtc
if global tokio feature is enabled
Configuration menu - View commit details
-
Copy full SHA for 1785a85 - Browse repository at this point
Copy the full SHA 1785a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ddd225 - Browse repository at this point
Copy the full SHA 8ddd225View commit details
Commits on Oct 18, 2022
-
apply suggestions from @mxinden
Co-authored-by: Max Inden <mail@max-inden.de>
Configuration menu - View commit details
-
Copy full SHA for 6326131 - Browse repository at this point
Copy the full SHA 6326131View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe84427 - Browse repository at this point
Copy the full SHA fe84427View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0810bed - Browse repository at this point
Copy the full SHA 0810bedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5429e55 - Browse repository at this point
Copy the full SHA 5429e55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82edf3f - Browse repository at this point
Copy the full SHA 82edf3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7af1e80 - Browse repository at this point
Copy the full SHA 7af1e80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eb35f2 - Browse repository at this point
Copy the full SHA 7eb35f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 532b410 - Browse repository at this point
Copy the full SHA 532b410View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9238efc - Browse repository at this point
Copy the full SHA 9238efcView commit details -
Revert "don't do framing during noise handshake"
This reverts commit 9238efc.
Configuration menu - View commit details
-
Copy full SHA for 4d1cb7c - Browse repository at this point
Copy the full SHA 4d1cb7cView commit details
Commits on Oct 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3383872 - Browse repository at this point
Copy the full SHA 3383872View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93ea5d4 - Browse repository at this point
Copy the full SHA 93ea5d4View commit details
Commits on Oct 20, 2022
-
make certificate an argument in
Transport::new
by analogue with `id_keys`. See paritytech/substrate#12529 (comment) Both peer's identity and certificate will need to be stored somewhere (disk) and reused across restarts. Since this is a dominant use-case, I've switched `Config` API to accept a certificate and opted out of generating one completely.
Configuration menu - View commit details
-
Copy full SHA for ce8e742 - Browse repository at this point
Copy the full SHA ce8e742View commit details
Commits on Oct 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 03cbefd - Browse repository at this point
Copy the full SHA 03cbefdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61b00f9 - Browse repository at this point
Copy the full SHA 61b00f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba964f3 - Browse repository at this point
Copy the full SHA ba964f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5757b9 - Browse repository at this point
Copy the full SHA f5757b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e9fcf2 - Browse repository at this point
Copy the full SHA 0e9fcf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c179ecd - Browse repository at this point
Copy the full SHA c179ecdView commit details -
looks like we don't need to check `self.state.write_barrier()?`. The assumption is that callers / implementation won't issue poll_flush calls after having closed the writing side of a stream.
Configuration menu - View commit details
-
Copy full SHA for 7d9d531 - Browse repository at this point
Copy the full SHA 7d9d531View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1e4297 - Browse repository at this point
Copy the full SHA c1e4297View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4472a8 - Browse repository at this point
Copy the full SHA b4472a8View commit details
Commits on Oct 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9a80510 - Browse repository at this point
Copy the full SHA 9a80510View commit details
Commits on Oct 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e5e9c46 - Browse repository at this point
Copy the full SHA e5e9c46View commit details
Commits on Oct 27, 2022
-
prepare for deterministic certificates
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
Configuration menu - View commit details
-
Copy full SHA for 36012ed - Browse repository at this point
Copy the full SHA 36012edView commit details
Commits on Oct 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 19a8a6c - Browse repository at this point
Copy the full SHA 19a8a6cView commit details
Commits on Oct 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9e7c0eb - Browse repository at this point
Copy the full SHA 9e7c0ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for c41e930 - Browse repository at this point
Copy the full SHA c41e930View commit details
Commits on Nov 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d1c50b5 - Browse repository at this point
Copy the full SHA d1c50b5View commit details
Commits on Nov 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 35e02d2 - Browse repository at this point
Copy the full SHA 35e02d2View commit details
Commits on Nov 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c7cb26b - Browse repository at this point
Copy the full SHA c7cb26bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0a95d8 - Browse repository at this point
Copy the full SHA e0a95d8View commit details
Commits on Nov 7, 2022
-
it contains a potential fix for missing data problems
Configuration menu - View commit details
-
Copy full SHA for 58210d4 - Browse repository at this point
Copy the full SHA 58210d4View commit details
Commits on Nov 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e1ba1d5 - Browse repository at this point
Copy the full SHA e1ba1d5View commit details
Commits on Nov 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 430f6a8 - Browse repository at this point
Copy the full SHA 430f6a8View commit details
Commits on Nov 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fc4bedb - Browse repository at this point
Copy the full SHA fc4bedbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2fc5f6 - Browse repository at this point
Copy the full SHA d2fc5f6View commit details
Commits on Nov 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 06d53d9 - Browse repository at this point
Copy the full SHA 06d53d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b0be1d - Browse repository at this point
Copy the full SHA 0b0be1dView commit details