Commit 91f0a7f
committed
p2p: add only reachable addresses to addrman
We will not make outgoing connection to peers that are unreachable
(e.g. because of -onlynet configuration).
Therefore, it makes no sense to add them to addrman in the first place.
While this is already the case for addresses received via p2p addr
messages, this commit does the same for addresses received
from fixed seeds.1 parent 6dc3084 commit 91f0a7f
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1635 | 1635 | | |
1636 | 1636 | | |
1637 | 1637 | | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
1638 | 1642 | | |
1639 | 1643 | | |
1640 | | - | |
| 1644 | + | |
1641 | 1645 | | |
| 1646 | + | |
1642 | 1647 | | |
1643 | 1648 | | |
1644 | 1649 | | |
| |||
0 commit comments