mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
Fixed Dsdv debugging and cleanup of old entries.
Added PRIORITIES for BanListItems and DsdvItems. Increased Dsdv Max Distance to 5... Its almost ready for network-wide test! git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-dhtmods@4698 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5268391f2e
commit
02b03d1a0f
5 changed files with 153 additions and 29 deletions
|
@ -40,7 +40,7 @@
|
|||
class p3LinkMgr;
|
||||
|
||||
|
||||
#define RSDSDV_MAX_DISTANCE 3
|
||||
#define RSDSDV_MAX_DISTANCE 5
|
||||
#define RSDSDV_MAX_SEND_TABLE 100
|
||||
|
||||
//!The RS DSDV service.
|
||||
|
@ -68,7 +68,7 @@ int sendTables();
|
|||
void advanceLocalSequenceNumbers();
|
||||
void clearSignificantChangesFlags();
|
||||
|
||||
int selectStableRoutes();
|
||||
|
||||
int generateRoutingTables(bool incremental);
|
||||
int generateRoutingTable(const std::string &peerId, bool incremental);
|
||||
|
||||
|
@ -76,6 +76,8 @@ int processIncoming();
|
|||
|
||||
int handleDSDV(RsDsdvRouteItem *dsdv);
|
||||
|
||||
int selectStableRoutes();
|
||||
int clearOldRoutes();
|
||||
|
||||
public:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue