Algorithms » History » Revision 5

Revision 4 (Greg Burri, 07/21/2009 02:09 PM) → Revision 5/35 (Greg Burri, 07/31/2009 09:49 AM)

h1. Algorithms 

 h2. Searching 

 For a functional description see here : [[Functional definition#The-search-window]] 


 h2. Peer ID 

 Each peer owns a peer id which is unique and generate during the first start. This ID is use to identify a peer, it's a better than the peer IP. Considering this situation : 

 * _A_ put in queue a file entry _f_ from _B_, _B_ doesn't know the hashes of this file entry. 
 * _B_ change his IP address. 
 * _A_ want to download _f_, it can ask _B_ for the hashes even _B_'s IP changed. 

 h2. Downloading 

 See here : [[Protocol_core-core#Downloading-threads]]