110 | @@ -111,6 +111,9 @@ class AddrMan
111 |
112 | /**
113 | * Attempt to add one or more addresses to addrman's new table.
114 | + * If an address already exists in addrman, the existing entry may be updated
115 | + * (e.g. adding additional service flags). If the existing entry is in the new table,
116 | + * it may be added to more buckets, improving the probability of selection.
Perhaps add a "see AddSingle()" mention somewhere in here, as the logic referred to here is in that method called from this one (Add/Add_).
I think it's better if the header doesn't refer to implementation details. If I remember correctly, this logic used to be in Add(), then Add_(), now AddSingle(), and I don't think it's nice if we have to update addrman.h for refactors like that.