documented list_peers and list_seeds

This commit is contained in:
Arvid Norberg 2008-03-30 15:48:45 +00:00
parent 57cd1e7c97
commit ce89b00c18
1 changed files with 9 additions and 0 deletions

View File

@ -2096,6 +2096,9 @@ It contains the following fields::
int num_complete;
int num_incomplete;
int list_seeds;
int list_peers;
int connect_candidates;
const std::vector<bool>* pieces;
@ -2213,6 +2216,12 @@ not be available from all trackers. If these are not -1, they are the total
number of peers that are seeding (complete) and the total number of peers
that are still downloading (incomplete) this torrent.
``list_seeds`` and ``list_peers`` are the number of seeds in our peer list
and the total number of peers (including seeds) respectively. We are not
necessarily connected to all the peers in our peer list. This is the number
of peers we know of in total, including banned peers and peers that we have
failed to connect to.
``connect_candidates`` is the number of peers in this torrent's peer list
that is a candidate to be connected to. i.e. It has fewer connect attempts
than the max fail count, it is not a seed if we are a seed, it is not banned