mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
prevent sending listen or announce to unsynched nodes
This commit is contained in:
1 parent
7a3a95bf3e
commit
e2004d69cb
2 files changed
+16
-16
No files matched your search
@@ -828,7 +828,7 @@ private:
|
||||
/**
|
||||
* If update is true, this method will also send message to synced but non-updated search nodes.
|
||||
*/
|
||||
bool searchSendGetValues(Search& sr, SearchNode *n = nullptr, bool update = true);
|
||||
std::pair<bool, bool> searchSendGetValues(Search& sr, SearchNode *n = nullptr, bool update = true);
|
||||
|
||||
void searchStep(Search& sr);
|
||||
void dumpSearch(const Search& sr, std::ostream& out) const;
|
||||
|
||||
Reference in new issue
Block a user