RetroShare/libbitdht/src
drbob 0608f67d71 Expanded DHT history analysis, and ran some more tests on DHT behaviour.
- Tweaked query parameters (quicker discard, longer requery period).

The analysis suggests that in general the DHT is running okay with some minor issues.
 - BitDHT peers respond to ~50% of FIND_NODE queries. This means we drop them, 
   and so  some ONLINE friends, become UNREACHABLE friends.

This appears to be caused by too many FIND_NODE queries reaching BitDHT, and the 
peer starts dropping them. This appears to come from specific peers, which 
are not RS nodes. Proposed solution is to Track and Filter Over-Querying Peers.
(Only one query per peer every 30 seconds).

 - Should be more lenient on the exact query matches.
Allow some dropped messages.

 - Queries appear to run longer than necessary.
A better query completion criteria needs to be established.

 


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6614 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-26 04:29:27 +00:00
..
bitdht Expanded DHT history analysis, and ran some more tests on DHT behaviour. 2013-08-26 04:29:27 +00:00
example Fixed up bootstrap singleshot search function. Now returns parameters. 2012-12-17 20:19:27 +00:00
tests minor fixes to dht tests. 2012-12-01 12:49:52 +00:00
udp Removed std::stringstream. 2012-04-19 22:10:00 +00:00
util patch from Stefan Sperling to allow compilation on OpenBSD 2013-08-25 21:06:29 +00:00
libbitdht.pro patch from Stefan Sperling to allow compilation on OpenBSD 2013-08-25 21:06:29 +00:00
mingw32make.bat added win32 build bat for libbitdht 2011-06-28 21:09:07 +00:00
README.txt * README to compile bitdht 2010-10-31 18:54:58 +00:00

What's in the Package
---------------------------------------------------------------
bitdht          - base BitDHT Code.
util		- generic utils for networking and threading.
udp		- UDP interfacing code.
lib             - Where the library is created.
tests           - basic unit tests.
example		- example code of how to use libbitdht.
libbitdht.pro	- build script for Qt's qmake.
README.txt	- this file.


HOWTO libbitdht.
----------------------------------------------
This version is build using Qt's qmake system.

1) Install Qt's qmake system:  libqt-dev
2) type ./qmake
3) type ./make
4) check out the example and tests to learn how to interface with libbitdht.