- 31 Mar, 2021 9 commits
- 30 Mar, 2021 4 commits
- 19 Mar, 2021 1 commit
-
-
Steven Allen authored
-
- 18 Feb, 2021 1 commit
-
-
Aarsh Shah authored
* support for forced direct connections.
-
- 12 Feb, 2021 1 commit
-
-
Marten Seemann authored
-
- 09 Feb, 2021 1 commit
-
-
Marten Seemann authored
It's impossible to run two nodes on the same IP:port, so we know for sure that any dial to an address that we're listening on will fail (as the peer IDs won't match). In practice, this will be most useful for preventing dials to localhost for nodes that are listening on the default port.
-
- 02 Sep, 2020 1 commit
-
-
Steven Allen authored
This commit switches over to the new Close/CloseWrite/CloseRead interface changes in go-libp2p-core 0.7.0. This change also removes a now obsolete hack to implicitly clean up streams after reading an EOF; calling Close or Reset is now required. See: https://github.com/libp2p/go-libp2p-core/releases/tag/v0.7.0
-
- 20 May, 2020 1 commit
-
-
Aarsh Shah authored
* Rank dial addresss.
-
- 15 May, 2020 1 commit
-
-
Aarsh Shah authored
-
- 02 Apr, 2020 3 commits
-
-
Will Scott authored
-
Steven Allen authored
-
Will Scott authored
-
- 01 Apr, 2020 2 commits
-
-
Will Scott authored
-
Will Scott authored
-
- 18 Mar, 2020 1 commit
-
-
Steven Allen authored
-
- 04 Nov, 2019 2 commits
-
-
Steven Allen authored
1. Always return the caller's context error if relevant. 2. Don't return "context canceled" when we're just shutting down. 3. Don't claim that the context deadline has been exceeded when the dial timeout is canceled.
-
Steven Allen authored
-
- 27 Oct, 2019 1 commit
-
-
Aliabbas Merchant authored
-
- 26 May, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 24 Apr, 2019 1 commit
-
-
Steven Allen authored
* Limits the number of dial errors we keep * Exposes the dial errors * Avoids string formatting unless we actually need to. Helps address https://github.com/libp2p/go-libp2p-swarm/issues/119
-
- 05 Apr, 2019 1 commit
-
-
tg authored
License: MIT Signed-off-by: Georgij Tolstov <tolstov.georgij@gmail.com>
-
- 13 Mar, 2019 1 commit
-
-
Matt Joiner authored
-
- 08 Mar, 2019 2 commits
-
-
Matt Joiner authored
-
Matt Joiner authored
-
- 28 Feb, 2019 1 commit
-
-
Matt Joiner authored
-
- 15 Feb, 2019 1 commit
-
-
Matt Joiner authored
-
- 23 Jan, 2019 1 commit
-
-
Steven Allen authored
-
- 02 Oct, 2018 1 commit
-
-
Lars Gierth authored
This commit moves filtering of dial candidates into its own little function. Things that are being filtered: addresses configured to be blocked, IPv6 link-local addresses, addresses without a dial-capable transport, and addresses that we know to be our own. It's is an optimization to avoid wasting time on dials that we know are going to fail. This also relaxes the filtering of addresses that we consider our own. Previously, any address would get filtered that's registered in peerstore for or own PeerID. For e.g. /ip4/1.2.3.4/tcp/4001 that's fine, but for ephemeral ports it can already cause problems. In addition, now that go-libp2p-circuit is being fixed to handle its multiaddrs slightly differently, /p2p-circuit addresses won't contain the PeerID anymore. That means they stand for themselves, and would get filtered too. (/p2p-circuit is the address we want to dial, but it's also on of "our own addresses"). In the future we'd want to use the mafmt package here, and also consider /quic, /ws, etc. addresses as our own.
-
- 28 Aug, 2018 1 commit
-
-
Cole Brown authored
-