Project

General

Profile

Actions

Algorithms » History » Revision 8

« Previous | Revision 8/35 (diff) | Next »
Greg Burri, 08/01/2009 05:23 PM


Algorithms

Searching

For a functional description see here : Functional definition

Peer ID

Each peer owns a peer id which is unique and generated during the first start. This ID is used to identify a peer, it's better than the previous usage of 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.

Core threads

There are three kind of threads in the core :
  • Downloading thread : DownloadManager::ChunkDownloader
  • Uploading thread : UploadManager::Uploader
  • Updating file cache thread : FileManager::FileUpdater

Downloading

See here : Protocol_core-core

Updated by Greg Burri over 15 years ago · 8 revisions