- // The chunk size to use for outbound requests. Defaults to 16KiB if not
- // set.
- ChunkSize int
- Storage storage.ClientImpl
+ // WebSeed URLs. For additional options add the URLs separately with Torrent.AddWebSeeds
+ // instead.
+ Webseeds []string
+ DhtNodes []string
+ PeerAddrs []string
+ // The combination of the "xs" and "as" fields in magnet links, for now.
+ Sources []string
+
+ // The chunk size to use for outbound requests. Defaults to 16KiB if not set. Can only be set
+ // for new Torrents. TODO: Move into a "new" Torrent opt type.
+ ChunkSize pp.Integer
+ // TODO: Move into a "new" Torrent opt type.
+ Storage storage.ClientImpl
+
+ DisableInitialPieceCheck bool
+
+ // Whether to allow data download or upload
+ DisallowDataUpload bool
+ DisallowDataDownload bool