Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: Prefer 3 min mix capable outbound peers.
The current logic attempts to maintain at least one mix capable outbound peer to ensure better connectivity among the mix capable peers. It works as intended, however, only having a single mix capable peer means there will be delays if that peer goes offline until a replacement is found. A possible consequence is that any mix clients might potentially get interrupted if that peer goes offline and a replacement isn't found quickly enough. Attempting to maintain a minimum of three mix capable outbound peers will significantly reduce the likelihood of having periods without any mix capable peers. This updates the logic accordingly.
- Loading branch information