Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Connection table: change logic for whether a new connection should be…
… used When considering making a new outbound connection, the subscription worker consults the connection table to see if there's an existing connection to the remote ip:port combo. If there is, no new connection will be established. Change this test so that existing inbound connections are not considered, i.e. we will now look to see if there's any existing _outbound_ connection already, not any connection. This should mean that we will try to connect outbound to a peer that is already connected to us inbound (on the same remote ip:port combo).
- Loading branch information