updated python binding to match the recently changed torrent_info. reintroduced add_node

This commit is contained in:
Arvid Norberg
2008-05-15 07:37:34 +00:00
parent 1b209ba29c
commit 0ed87e4c59
3 changed files with 13 additions and 10 deletions

View File

@@ -1487,6 +1487,16 @@ nodes()
If this torrent contains any DHT nodes, they are put in this vector in their original
form (host name and port number).
add_node()
----------
::
void add_node(std::pair<std::string, int> const& node);
This is used when creating torrent. Use this to add a known DHT node. It may
be used, by the client, to bootstrap into the DHT network.
metadata() metadata_size()
--------------------------