Raise the connection limit by 10 for local P2P connections, preventing P2Pool and testing efforts from being affected by the global connection limit.
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-
forrestv commented at 10:02 PM on December 18, 2011: contributor
-
Allow 10 additional local P2P connections dec52cc253
-
TheBlueMatt commented at 1:11 AM on December 19, 2011: member
I would highly prefer -keepnode=localhost, this just seems like a hack
-
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".
-
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)
-
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 ...
-
luke-jr commented at 11:37 PM on December 24, 2011: member
I agree (and want to watch this pull)
-
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...
- forrestv closed this on Jan 13, 2012
- destenson referenced this in commit a2c6140cb1 on Jun 26, 2016
- DrahtBot locked this on Sep 8, 2021