mirror of
https://github.com/zoriya/flood.git
synced 2026-06-06 03:56:42 +00:00
server: support initial seeding (aka superseeding)
https://www.bittorrent.org/beps/bep_0016.html
This commit is contained in:
@@ -23,6 +23,8 @@ export const addTorrentByURLSchema = object({
|
||||
isCompleted: boolean().optional(),
|
||||
// Whether contents of a torrent should be downloaded sequentially [default: false]
|
||||
isSequential: boolean().optional(),
|
||||
// Whether to use initial seeding mode [default: false]
|
||||
isInitialSeeding: boolean().optional(),
|
||||
// Whether to start torrent [default: false]
|
||||
start: boolean().optional(),
|
||||
});
|
||||
@@ -43,6 +45,8 @@ export const addTorrentByFileSchema = object({
|
||||
isCompleted: boolean().optional(),
|
||||
// Whether contents of a torrent should be downloaded sequentially [default: false]
|
||||
isSequential: boolean().optional(),
|
||||
// Whether to use initial seeding mode [default: false]
|
||||
isInitialSeeding: boolean().optional(),
|
||||
// Whether to start torrent [default: false]
|
||||
start: boolean().optional(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user