aboutsummaryrefslogtreecommitdiff
path: root/net.cpp
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-05-19 00:26:56 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-05-19 00:26:56 +0000
commit2d98de1b3ae2ade8b1e5493bc63c0c1d776deeb1 (patch)
treeafb0807f148c4452f060ad8456a0fcb56dbae8f8 /net.cpp
parent966cca4bd4a6d869583fb47f5f66ed4672c007ff (diff)
Mac OS build fixes by laszlov0.2.8
-- version 0.2.8 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@76 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'net.cpp')
-rw-r--r--net.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/net.cpp b/net.cpp
index 8e8127d73b..fbfa746221 100644
--- a/net.cpp
+++ b/net.cpp
@@ -927,9 +927,7 @@ void ThreadOpenConnections2(void* parg)
continue;
// Only try the old stuff if we don't have enough connections
- if (vNodes.size() >= 2 && nSinceLastSeen > 7 * 24 * 60 * 60)
- continue;
- if (vNodes.size() >= 5 && nSinceLastSeen > 24 * 60 * 60)
+ if (vNodes.size() >= 8 && nSinceLastSeen > 24 * 60 * 60)
continue;
// If multiple addresses are ready, prioritize by time since