a bit of a hack to increase the accuracy of LocalNet accuracy.

* periodically query Rnd DhtSpace Peer with APP flag for closest peers. (i.e like own search).



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3810 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2010-11-17 18:10:56 +00:00
parent d30d6a0444
commit 285e020f13
4 changed files with 124 additions and 1 deletions
libbitdht/src/bitdht

View file

@ -139,6 +139,7 @@ int checkStatus();
int checkPingStatus();
int SearchOutOfDate();
void startQueries();
void QueryRandomLocalNet();
std::map<bdNodeId, bdQueryPeer> mActivePeers;
std::list<BitDhtCallback *> mCallbacks;