🐛 2MiB is a valid piece length, e.g. assets_swtor_main_0to100
This commit is contained in:
parent
dd9df23a5e
commit
4827292e9a
2 changed files with 5 additions and 5 deletions
|
@ -8,8 +8,8 @@ interface ISolidFile {
|
|||
interface ISolidFileInfo {
|
||||
/** List of files that are part of this torrent. */
|
||||
files: ISolidFile[];
|
||||
/** Length of one piece in bytes, i.e. 64 KiB, 256 KiB, 512 KiB, 1 MiB or 4 MiB */
|
||||
'piece length': 65536 | 262144| 524288 | 1048576| 4194304;
|
||||
/** Length of one piece in bytes, i.e. 64 KiB, 256 KiB, 512 KiB, 1 MiB, 2MiB or 4 MiB */
|
||||
'piece length': 65536 | 262144| 524288 | 1048576| 2097152| 4194304;
|
||||
/** Concatenated SHA1 hashes of all pieces, where each hash is 20 bytes long. */
|
||||
pieces: string;
|
||||
/** Whether the torrent is private, always 0. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue