695 | @@ -692,8 +696,7 @@ class CAddrMan
696 | //! Find an entry.
697 | CAddrInfo* Find(const CNetAddr& addr, int *pnId = nullptr) EXCLUSIVE_LOCKS_REQUIRED(cs);
698 |
699 | - //! find an entry, creating it if necessary.
700 | - //! nTime and nServices of the found node are updated, if necessary.
701 | + //! Create a new entry and add it to the internal data structures mapInfo, mapAddr and vRandom.
Nit: naming the internal data structures (mapInfo, mapAddr and vRandom) is probably too much implementation-specific detail for the header comments:
//! Create a new entry and add it to the internal data structures.
I had the same thought but then changed my mind it in order to prevent the misunderstanding that all relevant internal structures (notably vvNew) are populated. This is something the caller has to do.