Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: Decrease nMaxIPs when learning from DNS seeds #29850

Merged
merged 1 commit into from
Apr 22, 2024

Commits on Apr 11, 2024

  1. 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.
    laanwj committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    f2e3662 View commit details
    Browse the repository at this point in the history