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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| build.rs | ||