Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: mark address as connected within handleAddPeerMsg
We do this to ensure the address manager contains live addresses. Previously, addresses with which we established connections with would not be marked as connected because it would be done once we disconnect peers. Given that we don't process all of the disconnect logic when we're shutting down, addresses of stable and good peers would never be marked as connected unless the connection was lost during operation.
- Loading branch information