🐛 Allow piece length of 512 KiB
This commit is contained in:
parent
42db8d36a6
commit
6709315b68
2 changed files with 4 additions and 4 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, e.g. 65536 for 64 KiB, and 4194304 for 4 MiB. */
|
||||
'piece length': 65536 | 4194304;
|
||||
/** Length of one piece in bytes, e.g. 65536 for 64 KiB, 524288 for 512 KiB, and 4194304 for 4 MiB. */
|
||||
'piece length': 65536 | 524288 | 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