exposed upload_only in peer_info

This commit is contained in:
Arvid Norberg
2008-07-19 07:57:43 +00:00
parent 49e76f510f
commit 7607034ab6
6 changed files with 26 additions and 3 deletions

View File

@@ -2502,6 +2502,7 @@ It contains the following fields::
seed = 0x400,
optimistic_unchoke = 0x800,
snubbed = 0x1000,
upload_only = 0x2000,
rc4_encrypted = 0x100000,
plaintext_encrypted = 0x200000
};
@@ -2639,6 +2640,11 @@ any combination of the enums above. The following table describes each flag:
| | We're currently picking one block at a time from this |
| | peer. |
+-------------------------+-------------------------------------------------------+
| ``upload_only`` | This peer has either explicitly (with an extension) |
| | or implicitly (by becoming a seed) told us that it |
| | will not downloading anything more, regardless of |
| | which pieces we have. |
+-------------------------+-------------------------------------------------------+
__ extension_protocol.html