mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 06:02:41 -04:00
- Enabled multi-tunneling by consistently perturbating partial tunnel id in TRs.
This causes tunnels with a different route to have different ids and therefore coexist as different sources for a given transfer. This should cause file transfers to have more tunnels and therefore a better balance of bandwidth over intermediate peers. This needs to be evaluated on a large scale network. - Cleaned some unused code. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6740 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d127d36131
commit
81a4523434
2 changed files with 19 additions and 50 deletions
|
@ -314,7 +314,7 @@ class p3turtle: public p3Service, public RsTurtle, public p3Config
|
|||
//--------------------------- Admin/Helper functions -------------------------//
|
||||
|
||||
/// Generates a cyphered combination of ownId() and file hash
|
||||
uint32_t generatePersonalFilePrint(const TurtleFileHash&,bool) ;
|
||||
uint32_t generatePersonalFilePrint(const TurtleFileHash&,uint32_t seed,bool) ;
|
||||
|
||||
/// Generates a random uint32_t number.
|
||||
uint32_t generateRandomRequestId() ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue