aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-09-07 13:17:07 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2016-09-07 13:19:53 +0200
commit5b2ea29cf4fd298346437bb16a54407f8c1f9dca (patch)
treefe39530fea42ac31cbba3443a04b295f63f08827
parente2a1a1ee895149c544d4ae295466611f0cec3094 (diff)
parenteb3596f7c220685fe6203178d5535c6775a789df (diff)
Merge #8594: Do not add random inbound peers to addrman.
eb3596f Do not add random inbound peers to addrman. (Gregory Maxwell)
-rw-r--r--src/main.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f14475763a..4b42afb561 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -5043,12 +5043,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
pfrom->fGetAddr = true;
}
addrman.Good(pfrom->addr);
- } else {
- if (((CNetAddr)pfrom->addr) == (CNetAddr)addrFrom)
- {
- addrman.Add(addrFrom, addrFrom);
- addrman.Good(addrFrom);
- }
}
pfrom->fSuccessfullyConnected = true;