Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Protocols
Protocols.Bittorrent
Protocols.Bittorrent.Generator

Method Protocols.Bittorrent.Generator()->digest()


Method digest

string digest(void|function(int:void) progress_callback)

Description

Finally make a torrent string out of this information. Will call build_sha1's if the sha1's aren't generated already.

progress_callback is called with (pos,of) arguments, similar to Torrent.verify_targets .