git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9624915
)
Don't announce non-peer CNodes
v0.4.4-pre
author
alex
<alex@alex-VirtualBox.(none)>
Mon, 29 Jul 2013 00:10:56 +0000 (
04:10
+0400)
committer
alex
<alex@alex-VirtualBox.(none)>
Mon, 29 Jul 2013 00:10:56 +0000 (
04:10
+0400)
src/net.h
patch
|
blob
|
history
diff --git
a/src/net.h
b/src/net.h
index
b2b03fa
..
a7d9c62
100644
(file)
--- a/
src/net.h
+++ b/
src/net.h
@@
-241,7
+241,7
@@
public:
setInventoryKnown.max_size(SendBufferSize() / 1000);
// Be shy and don't send version until we hear
- if (!fInbound)
+ if (hSocket != INVALID_SOCKET && !fInbound)
PushVersion();
}