| Extracted from Pike v7.8 release 866 at 2018-02-09.

[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 .