Commit 3310a96
committed
Merge bitcoin#29850: net: Decrease nMaxIPs when learning from DNS seeds
f2e3662 net: Decrease nMaxIPs when learning from DNS seeds (laanwj)
Pull request description:
Limit number of IPs learned from a single DNS seed to 32, to prevent the results from one DNS seed from dominating AddrMan. Note that the number of results from a UDP DNS query is bounded to 33 already, but it is possible for it to use TCP where a larger number of results can be returned.
Closes bitcoin#16070.
ACKs for top commit:
Sjors:
utACK f2e3662
achow101:
ACK f2e3662
1440000bytes:
utACK bitcoin@f2e3662
mzumsande:
utACK f2e3662
Tree-SHA512: 3f108c2baba7adfedb8019daaf60aa00e628b38d3942e1319c7183a4683670be01929ced9e6372c8e983c902e8633f81fbef12d7cdcaadd7f77ed729c10199421 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2256 | 2256 | | |
2257 | 2257 | | |
2258 | 2258 | | |
2259 | | - | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
2260 | 2264 | | |
2261 | 2265 | | |
2262 | 2266 | | |
| |||
0 commit comments