Skip to content

Commit 5b2ea29

Browse files
committed
Merge #8594: Do not add random inbound peers to addrman.
eb3596f Do not add random inbound peers to addrman. (Gregory Maxwell)
2 parents e2a1a1e + eb3596f commit 5b2ea29

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5043,12 +5043,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
50435043
pfrom->fGetAddr = true;
50445044
}
50455045
addrman.Good(pfrom->addr);
5046-
} else {
5047-
if (((CNetAddr)pfrom->addr) == (CNetAddr)addrFrom)
5048-
{
5049-
addrman.Add(addrFrom, addrFrom);
5050-
addrman.Good(addrFrom);
5051-
}
50525046
}
50535047

50545048
pfrom->fSuccessfullyConnected = true;

0 commit comments

Comments
 (0)