merkle tree torrents use 64 kiB piece sizes

This commit is contained in:
Arvid Norberg 2009-06-24 21:39:15 +00:00
parent 1100a4996d
commit 84426fd0a3
2 changed files with 2 additions and 2 deletions

View File

@ -257,7 +257,7 @@ merkle
be opened in clients that don't specifically support merkle torrents.
The benefit is that the resulting torrent file will be much smaller and
not grow with more pieces. When this option is specified, it is
recommended to have a 16 kiB piece size.
recommended to have a fairly small piece size, say 64 kiB.
generate()
----------

View File

@ -162,7 +162,7 @@ namespace libtorrent
}
else if (piece_size == 0 && m_merkle_torrent)
{
piece_size = 16*1024;
piece_size = 64*1024;
}
// make sure the size is an even power of 2