mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
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
This commit is contained in:
parent
c58e10565e
commit
3ca507a6eb
23 changed files with 1046 additions and 1122 deletions
2
net.cpp
2
net.cpp
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue