diff --git a/docs/manual.html b/docs/manual.html index 69e013bda..0987cfb2f 100755 --- a/docs/manual.html +++ b/docs/manual.html @@ -94,10 +94,12 @@ The current state includes the following features:

thread-safe library interface. (i.e. There's no way for the user to cause a deadlock).
  • can limit the upload bandwidth usage and the maximum number of unchoked peers
  • piece-wise file allocation
  • -
  • tries to maintain a 1:1 share ratio between all peers but also shifts free -download to peers as free upload. To maintain a global 1:1 ratio.
  • +
  • Implements fair trade. User settable trade-ratio, must at least be 1:1, +but one can choose to trade 1 for 2 or any other ratio that isn't unfair to the other +party.
  • fast resume support, a way to get rid of the costly piece check at the start -of a resumed torrent. Saves the storage state in a separate fast-resume file.
  • +of a resumed torrent. Saves the storage state, piece_picker state as well as all local +peers in a separate fast-resume file.
  • The extension protocol described by Nolar. See extensions.
  • @@ -657,6 +659,7 @@ struct peer_info int upload_ceiling; int load_balancing; + int download_queue_length; int downloading_piece_index; int downloading_block_index; @@ -720,6 +723,8 @@ and free upload that we give. Every peer gets a certain amount of free upload, b this member says how much extra free upload this peer has got. If it is a negative number it means that this was a peer from which we have got this amount of free download.

    +

    download_queue_length is the number of block-requests we have sent to this peer +that hasn't been answered with a piece yet.

    You can know which piece, and which part of that piece, that is currently being downloaded from a specific peer by looking at the next four members. downloading_piece_index is the index of the piece that is currently being downloaded. @@ -1299,23 +1304,58 @@ each piece is 16 * 1024 bytes in size. tells which piece is on which slot. If piece index is -2 it means it is free, that there's no piece there. If it is -1, means the slot isn't allocated on disk yet. The pieces have -to meet the following requirements:

    -