You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
Hey there!
I'm using go-libp2p-core v0.9.0 (as an IPFS plugin). I am subscribed to network notifications via the
network.Notifiee
mechanism:I don't use the
*Stream
orListen*
methods, and this is what I currently use to track connected peers on my end:Additionally, I have a goroutine in the background to occasionally print some stats about that:
This is not a 100% accurate comparison, but should be a nice guide.
This all works okay-ish. I occasionally see:
i.e., we either got a duplicate
Disconnected
call or didn't get aConnected
call.Additionally, I have noticed that our connection tracking lags behind IPFS', both for connection as well as disconnection events.
The documentation doesn't say much about correctness guarantees, consistency, ... -- What are some properties I can expect?
The text was updated successfully, but these errors were encountered: