We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 318176a commit 036d7eaCopy full SHA for 036d7ea
src/addrman.h
@@ -696,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.
+ //! Create a new entry and add it to the internal data structures mapInfo, mapAddr and vRandom.
701
CAddrInfo* Create(const CAddress &addr, const CNetAddr &addrSource, int *pnId = nullptr) EXCLUSIVE_LOCKS_REQUIRED(cs);
702
703
//! Swap two elements in vRandom.
0 commit comments