Sukun
43fd678024
relay: fix deadlock when closing ( #2171 )
* fix deadlock on relay service close
* clean up background go routine too
* increase test timeout
2 years ago
Marten Seemann
3fe6278e66
core: remove LocalPrivateKey method from network.Conn interface ( #2144 )
* core: remove LocalPrivateKey method from network.Conn interface
* add Changelog entry
2 years ago
Hlib Kanunnikov
75efaee5cb
routed host: return connection error instead of routing error ( #2169 )
2 years ago
RichΛrd
98837aad15
connmgr: reduce log level for closing connections ( #2165 )
2 years ago
Sukun
03f4762933
circuitv2: cleanup relay service properly ( #2164 )
* circuitv2: cleanup properly
* stop handling disconnected notifications
2 years ago
Prithvi Shahi
a9bba27895
chore: add patch release to changelog ( #2151 )
2 years ago
Marten Seemann
609dcf79ab
chore: remove superfluous testing section from README ( #2150 )
2 years ago
Sukun
c738a48d02
autonat: don't use autonat for address discovery ( #2148 )
* dont use autonat for address discovery
* dont increase timeout
2 years ago
Marten Seemann
31093195b5
chore: update webtransport-go to v0.5.2 ( #2149 )
2 years ago
Sukun
f421d0687a
swarm metrics: fix connection direction ( #2147 )
2 years ago
Marco Munizaga
11e26dfc38
connmgr: Use eventually equal helper in connmgr tests ( #2128 )
* Use eventually equal helper in connmgr tests
* Add logging
2 years ago
Marten Seemann
581a015412
swarm: emit PeerConnectedness event from swarm instead of from hosts ( #1574 )
* pass an event bus to the swarm constructor
* make the eventbus parameter a required swarm constructor parameter
* emit Connectedness notifications from the swarm
* remove peer connectedness watchers from hosts
* swarm: emit connectedness events when holding the mutex
2 years ago
Marten Seemann
c1cfe6c16e
relay: initialize the ASN util when starting the service ( #2143 )
* relay: initialize the ASN util when starting the service
* Revert "Fix flaky TestMetricsNoAllocNoCover test (#2142 )"
This reverts commit cbcdd79084
.
2 years ago
Marco Munizaga
cbcdd79084
Fix flaky TestMetricsNoAllocNoCover test ( #2142 )
2 years ago
Marco Munizaga
100ae2539b
identify: Bump timeouts/sleep in tests ( #2135 )
* identify: Bump timeouts/sleep in tests
* Update p2p/protocol/identify/id.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2 years ago
Marco Munizaga
704321763e
Add sleep to fix flaky test ( #2129 )
2 years ago
Marco Munizaga
29785d22b3
basic_host: Fix flaky tests ( #2136 )
2 years ago
Marco Munizaga
e3a16dd2a9
swarm: Check context once more before dialing ( #2139 )
2 years ago
Marten Seemann
9712390c6f
chore: update examples to v0.26.0 ( #2134 )
2 years ago
Marten Seemann
a415d56066
release v0.26.0 ( #2133 )
2 years ago
Sukun
f7bf9d85bb
identify: add more detailed metrics ( #2126 )
* add identify metrics
metrics added:
address count
protocol count
peer push support
* address review changes
* update dashboards
2 years ago
Marco Munizaga
b74205d265
autorelay: refactor relay finder and start autorelay after identify ( #2120 )
* Refactor relay_finder and start autorelay after identify
* Clock fork
* Remove multiple timers and use a single rate limiting chan for findNodes
* Remove clock fork
* Rename
* Use scheduledWork.nextAllowedCallToPeerSource.Add(rf.conf.minInterval)
* Fix flaky test that relied on time
2 years ago
Marco Munizaga
640632419e
don't use the time value from the time.Ticker channel ( #2127 )
2 years ago
Marco Munizaga
90aedbddaa
Wrap conn with metrics ( #2131 )
2 years ago
Prithvi Shahi
7c762f1cb6
chore: update changelog for 0.26.0 ( #2132 )
2 years ago
Marten Seemann
c03190e1ca
chore: update quic-go to v0.33.0 ( #2124 )
2 years ago
Marco Munizaga
cb452294d5
circuitv2: Update proto files to proto3 ( #2121 )
2 years ago
Marco Munizaga
92492262a7
swarm: remove parallel tests from swarm tests ( #2130 )
2 years ago
Marten Seemann
90c99c3a7f
circuitv2: add a relay option to disable limits ( #2125 )
2 years ago
Marco Munizaga
a8b1d51cb4
quic: fix stalled virtual listener ( #2122 )
* quic: Fix stalled listener
* Undo time fix
* Move check inside case
2 years ago
Sukun
b2f119901f
swarm: add early muxer selection to swarm metrics ( #2119 )
* add early muxer selection to swarm metrics
* add pie chart for current early muxer connections
2 years ago
Sukun
a491074d89
metrics: add options to disable metrics and to set Prometheus registerer ( #2116 )
* provided a WithRegisterer option for metrics
* provide a libp2p.Option to setup metrics
2 years ago
Sukun
d9004d21b4
swarm: add ip_version to metrics ( #2114 )
* add ip_version to swarm metrics
* use "unknown" as a default for the IP version
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2 years ago
Marco Munizaga
32f2f25529
Revert mistaken "Bump timeout"
This reverts commit f00c9507c3
.
2 years ago
Marco Munizaga
f00c9507c3
Bump timeout
2 years ago
Marten Seemann
cec8c6584b
remove all circuit v1 related code ( #2107 )
* autorelay: remove support for circuit v1 nodes
* circuitv2: remove v1 backwards compatibility
* remove circuitv1 implementation only used for testing
* remove circuitv1 protocol implementation
2 years ago
Marten Seemann
d686dbc79e
quic: don't send detailed error messages when closing connections ( #2112 )
2 years ago
Sukun
9f12163a3d
metrics: add no alloc metrics for eventbus, swarm, identify ( #2108 )
* add noalloc tests for identify, eventbus and swarm metrics
* add no cover buildtag
2 years ago
Marten Seemann
6c60c00673
chore: fix typo in Changelog ( #2111 )
* chore: fix typo in Changelog
* fix autonat dashboard loc
---------
Co-authored-by: Prithvi Shahi <shahi.prithvi@gmail.com>
2 years ago
Prithvi Shahi
35c8300400
chore: update changelog ( #2109 )
2 years ago
Prithvi Shahi
d42a06d1e6
chore: unify dashboard location ( #2110 )
2 years ago
Sukun
3dcb4b503d
autonat: add metrics ( #2086 )
* add autonat metrics
* add benchmarks
* use increase instead of sum by with rate in dashboard
* add interface assertion
* add no alloc test
* update dashboard
* autonat: minor dashboard tweaks
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2 years ago
Sukun
22954b389e
relaymanager: do not start new relay if one already exists ( #2093 )
* do not start new relay if one already exists
* Update p2p/host/relaysvc/relay.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
* test by emitting events
* fix race condition
* increase timeout
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2 years ago
Sukun
84f2278766
autonat: don't emit reachability changed events on address change ( #2092 )
* don't emit events unless reachability changed
* remove nil address check
* fix test assertion
* speed up test
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2 years ago
Prithvi Shahi
6e9dd01629
chore: update release.md ( #2090 )
2 years ago
Prithvi Shahi
7d20a45bff
chore: modify changelog entries ( #2101 )
2 years ago
Marco Munizaga
e8d6f671a0
Introduce a changelog ( #2084 )
2 years ago
Sukun
0a40e7c0af
use atomic.Int32 and atomic.Int64 ( #2096 )
2 years ago
Sukun
3d9cc0176f
change atomic.Value to atomic.Pointer ( #2088 )
2 years ago
Marco Munizaga
a857d40ee6
interop-tests: use new action with s3 caching ( #2076 )
* Use new test action
* Use master
2 years ago