diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-09-07 13:17:07 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-09-07 13:19:53 +0200 |
commit | 5b2ea29cf4fd298346437bb16a54407f8c1f9dca (patch) | |
tree | fe39530fea42ac31cbba3443a04b295f63f08827 | |
parent | e2a1a1ee895149c544d4ae295466611f0cec3094 (diff) | |
parent | eb3596f7c220685fe6203178d5535c6775a789df (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.cpp | 6 |
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; |