aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorW. J. van der Laan <laanwj@protonmail.com>2021-09-27 12:53:24 +0200
committerW. J. van der Laan <laanwj@protonmail.com>2021-09-27 12:57:20 +0200
commit8b523f2e55713c0093ed46931cb332bfeb1ba661 (patch)
treeba0be599936ae3b6735b22f516281d8fff106446 /src
parent632be5514c3161dfdd8730af104f38c27922b855 (diff)
parentee7891a0c412728cf8bec667f25263682a9baaaf (diff)
Merge bitcoin/bitcoin#23094: doc: Remove outdated comments
ee7891a0c412728cf8bec667f25263682a9baaaf doc: Remove outdated comments (Hennadii Stepanov) Pull request description: The first removed comment was introduced in #5288, the second one in #13503. Both are outdated since #14336. ACKs for top commit: duncandean: crACK ee7891a0 Tree-SHA512: a2d6071919e81c916bfc2178109bbc464417321bcc567ed0644448c5faea8e58cb08a7657afa1b6ffe1fb63e114a2a47b31c893e471839ba9d49a3986e68b2a7
Diffstat (limited to 'src')
-rw-r--r--src/init.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 244c13170a..26dee66d2a 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -871,8 +871,6 @@ bool AppInitParameterInteraction(const ArgsManager& args)
nUserMaxConnections = args.GetArg("-maxconnections", DEFAULT_MAX_PEER_CONNECTIONS);
nMaxConnections = std::max(nUserMaxConnections, 0);
- // Trim requested connection counts, to fit into system limitations
- // <int> in std::min<int>(...) to work around FreeBSD compilation issue described in #2695
nFD = RaiseFileDescriptorLimit(nMaxConnections + MIN_CORE_FILEDESCRIPTORS + MAX_ADDNODE_CONNECTIONS + nBind + NUM_FDS_MESSAGE_CAPTURE);
#ifdef USE_POLL