More than 10 Outbound Peers #22655

issue Rspigler opened this issue on August 7, 2021
  1. Rspigler commented at 2:33 AM on August 7, 2021: contributor

    <!-- Describe the issue -->

    Expected behavior

    10 outbound peers.

    <!--- What behavior did you expect? -->

    Actual behavior

    I was playing around with Tor and i2p, testing v22.0rc2, and while manually adding connections, I realized that I had 16 outbound peers.

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    To reproduce

    Start v22.0rc2, add peers in this guide via addnode Interestingly, it seems that having the addnode=[peer:port] in bitcoin.conf does not violate the 10 outbound peers limit, but if you add the node manually in the console, it does. I also had the following in my configuration file:

    listen=1 assumevalid=0 dbcache=1000 addresstype=bech32 avoidpartialspends=1 changetype=bech32 maxapsfee=0.01 i2psam=127.0.0.1:7656 debug=tor debug=i2p

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    System information Reproduces reliably following the above steps.

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    Self compiled Bitcoin Core, with ./configure --without-miniupnpc --without-natpmp --enable-hardening --without-bdb --with-qrencode --disable-zmq --with-sqlite=yes

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    Qubes 4.0.4, in a Debian-10 standalone-VM with normal networking. Intel x86_64. SSD Nothing weird in debug.log

    <!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->

    <!-- Any extra information that might be useful in the debugging process. -->

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

  2. Rspigler added the label Bug on Aug 7, 2021
  3. sipa commented at 2:40 AM on August 7, 2021: member

    addnode has a separate 8 connection limit, independent from the automatic connections one.

  4. Rspigler commented at 2:41 AM on August 7, 2021: contributor

    Ah sorry, wasn't aware.

    Closing.

  5. Rspigler closed this on Aug 7, 2021

  6. DrahtBot locked this on Aug 18, 2022
Contributors
Labels

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-26 21:15 UTC

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