Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: Decrease nMaxIPs when learning from DNS seeds
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 potentially enormous number of results can be returned. Closes bitcoin#16070.
- Loading branch information