From 9c2737901b5203f267d21d728019d64b46f1d9f3 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Thu, 5 Mar 2015 04:01:22 -0800 Subject: Reduce fingerprinting through timestamps in 'addr' messages. Suggested by Jonas Nick. --- src/addrman.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/addrman.cpp') diff --git a/src/addrman.cpp b/src/addrman.cpp index 1e08ae772..4b7e4d51b 100644 --- a/src/addrman.cpp +++ b/src/addrman.cpp @@ -272,8 +272,9 @@ void CAddrMan::Good_(const CService& addr, int64_t nTime) // update info info.nLastSuccess = nTime; info.nLastTry = nTime; - info.nTime = nTime; info.nAttempts = 0; + // nTime is not updated here, to avoid leaking information about + // currently-connected peers. // if it is already in the tried set, don't do anything else if (info.fInTried) -- cgit v1.2.3