diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-06-21 01:33:44 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-06-21 01:33:44 +0000 |
commit | 3ca507a6eb1cecbf40a907a52c27128efb666ec0 (patch) | |
tree | 97973a93f646b9350a332cef285f68ec44fc68c5 /net.cpp | |
parent | c58e10565e923c64a38a423b10e797b49a136ad4 (diff) | |
download | bitcoin-3ca507a6eb1cecbf40a907a52c27128efb666ec0.tar.xz |
fixed colors on ubuntu lucid,
enabled -O2 in makefile.unix,
boost removed -mt from their library names in 1.40,
updated bitcoin icon,
hashmeter,
generated and hashmeter log entries
-- version 0.2.13
Diffstat (limited to 'net.cpp')
-rw-r--r-- | net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -965,7 +965,7 @@ void ThreadOpenConnections2(void* parg) int64 nSinceLastTry = GetAdjustedTime() - addr.nLastTry;
// Randomize the order in a deterministic way, putting the standard port first
- int64 nRandomizer = (uint64)(nStart + addr.nLastTry * 9567851 + addr.ip * 7789) % (2 * 60 * 60);
+ int64 nRandomizer = (uint64)(nStart * 4951 + addr.nLastTry * 9567851 + addr.ip * 7789) % (2 * 60 * 60);
if (addr.port != DEFAULT_PORT)
nRandomizer += 2 * 60 * 60;
|