git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
84e7ad9
)
Repeatedly resetting the timestamp for seed nodes in the database was slow. Only...
author
Chris Moore
<dooglus@gmail.com>
Mon, 24 Jan 2011 22:47:36 +0000 (14:47 -0800)
committer
Chris Moore
<dooglus@gmail.com>
Mon, 24 Jan 2011 22:47:36 +0000 (14:47 -0800)
net.cpp
patch
|
blob
|
history
diff --git
a/net.cpp
b/net.cpp
index
bfa6b05
..
b022dad
100644
(file)
--- a/
net.cpp
+++ b/
net.cpp
@@
-1022,7
+1022,7
@@
void ThreadOpenConnections2(void* parg)
{
foreach(PAIRTYPE(const vector<unsigned char>, CAddress)& item, mapAddresses)
{
- if (setSeed.count(item.second.ip))
+ if (setSeed.count(item.second.ip) && item.second.nTime != 0)
{
item.second.nTime = 0;
CAddrDB().WriteAddress(item.second);