Bitcoin Core does not immediately use the fixed seed nodes if DNS seeding is disabled (-dnsseed=0) #19795

issue practicalswift openend this issue on August 24, 2020
  1. practicalswift commented at 10:03 pm on August 24, 2020: contributor

    Expected behavior: Disabling DNS seeding (-dnsseed=0) should make Bitcoin Core use the fixed seed nodes immediately on startup (assuming an empty peers.dat).

    Actual behavior: The fixed seed nodes are used but only after an unnecessary 60 second timeout, and a somewhat misleading log message (“Adding fixed seed nodes as DNS doesn’t seem to be available.”).

    To reproduce: rm ~/.bitcoin/peers.dat && src/bitcoind -dnsseed=0 and wait… 💤

    This issue is probably a “good first issue” :)

  2. practicalswift added the label Bug on Aug 24, 2020
  3. dhruv commented at 2:45 am on August 25, 2020: member
    I’ll try to work on this and report back.
  4. practicalswift commented at 5:14 am on August 25, 2020: contributor
    @dhruv That’s great! Don’t hesitate to ping me when you’re ready for review :)
  5. laanwj added the label P2P on Sep 3, 2020
  6. laanwj removed the label Bug on Sep 3, 2020
  7. laanwj closed this on Feb 12, 2021

  8. sidhujag referenced this in commit 255abc22a9 on Feb 12, 2021
  9. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-07-05 22:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me