Allow 10 additional local P2P connections #712

pull forrestv wants to merge 1 commits into bitcoin:master from forrestv:extra_local_connections changing 1 files +1 −1
  1. forrestv commented at 10:02 PM on December 18, 2011: contributor

    Raise the connection limit by 10 for local P2P connections, preventing P2Pool and testing efforts from being affected by the global connection limit.

  2. Allow 10 additional local P2P connections dec52cc253
  3. TheBlueMatt commented at 1:11 AM on December 19, 2011: member

    I would highly prefer -keepnode=localhost, this just seems like a hack

  4. forrestv commented at 6:18 AM on December 19, 2011: contributor

    You mean adding "keepnode" as a new argument?

    This pull's approach seemed like a bit of a hack to me too, though defaulting to allowing extra local connections could only help in cases like these and can't hurt. Not limiting local connections at all would look cleaner, but has a slight potential to cause problems. The only possibility I see is it taking an argument, which would remove the magic "10".

  5. TheBlueMatt commented at 3:21 PM on December 19, 2011: member

    As in #454.

    Forrest Voight reply@reply.github.com wrote:

    You mean adding "keepnode" as a new argument?

    This pull's approach seemed like a bit of a hack to me too, though defaulting to allowing extra local connections could only help in cases like these and can't hurt. Not limiting local connections at all would look cleaner, but could cause problems. The only possibility I see is it taking an argument, which would remove the magic "10".


    Reply to this email directly or view it on GitHub: #712 (comment)

  6. gavinandresen commented at 7:57 PM on December 21, 2011: contributor

    This might cause problems when we fix issue #610 -- I like Matt's suggestion, although I think it should just be:

    addnode=local.ip.address.1 addnode=local.ip.address.2 ... etc ...

  7. luke-jr commented at 11:37 PM on December 24, 2011: member

    I agree (and want to watch this pull)

  8. forrestv commented at 9:26 PM on January 13, 2012: contributor

    This was a hack, though I'd like to get addnode or keepnode to default to allowing localhost...

  9. forrestv closed this on Jan 13, 2012

  10. destenson referenced this in commit a2c6140cb1 on Jun 26, 2016
  11. DrahtBot locked this on Sep 8, 2021

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

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