Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid test-before-evict evictions of current peers
Summary: Outbound peer logic prevents connecting to addresses that we're already connected to, so prevent inadvertent eviction of current peers via test-before-evict by checking this condition and marking current peer's addresses as `Good()`. Co-authored-by: John Newbery <john@johnnewbery.com> This is a backport of [[bitcoin/bitcoin#20187 | core#20187]] [4/4] bitcoin/bitcoin@16d9bfc Depends on D10696 Test Plan: `ninja all check-all` Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D10697
- Loading branch information