nolisten=1 no longer works in bitcoin.conf #846

issue dooglus opened this issue on February 16, 2012
  1. dooglus commented at 9:01 AM on February 16, 2012: contributor

    From the forum annoucement:

    The -nolisten, -noupnp and -nodnsseed command-line options were renamed to -listen, -upnp and -dnsseed, with a default value of 1. The old names are still supported for compatibility

    but that's only true on the command line, not for bitcoin.conf options.

    I have a bitcoin.conf with "nolisten=1" in it, but it's being ignored.

    The "interpret -nofoo as -foo=0 (and -nofoo=0 as -foo=1, as long as -foo not set)" code is in util.cpp's ParseParameters() function and runs before the bitcoin.conf file is even read.

    This breaks existing configuration files, so it's probably best to fix this before the release of 0.6.

  2. dooglus referenced this in commit b9c740f63e on Feb 16, 2012
  3. dooglus referenced this in commit d64e124cf4 on Feb 16, 2012
  4. dooglus commented at 8:21 PM on February 16, 2012: contributor

    I should probably draw attention to the change I made to the comment too. I think the closing paren was in the wrong place before:

    •    //  interpret -nofoo as -foo=0 (and -nofoo=0 as -foo=1, as long as -foo not set)
    •    // interpret -nofoo as -foo=0 (and -nofoo=0 as -foo=1) as long as -foo not set
  5. sipa commented at 5:28 PM on February 19, 2012: member

    Fixed in #852.

  6. sipa closed this on Feb 19, 2012

  7. sje397 referenced this in commit 845137fab9 on Feb 28, 2012
  8. coblee referenced this in commit 6a99ddb590 on Jul 17, 2012
  9. destenson referenced this in commit d0ad4ad0e4 on Jun 26, 2016
  10. ptschip referenced this in commit 37576085c2 on Jan 11, 2018
  11. ptschip referenced this in commit aff7ac960f on Jan 11, 2018
  12. ptschip referenced this in commit e26254504b on Jan 11, 2018
  13. sipa referenced this in commit c020cbaa5c on Jul 14, 2021
  14. DrahtBot locked this on Sep 8, 2021
Contributors

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: 2026-04-16 00:15 UTC

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