mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-16 00:00:37 +08:00
There are cases where the service state doesn't match the state of the underlying wire protocol. We remedy this by transitioning peers to a "connected" state when a message is received, if they are in a "connecting" state. The long term solution to this will likely be to merge the service and protocol layer so that there are no inconsistencies. The other case happens when a persistent peer is in "disconnected" state and attempts an inbound connection to us.