Opened 8 years ago

Closed 4 years ago

Last modified 2 years ago

#1294 closed feature-request (Fixed)

Skip Hash Check - Seed Mode

Reported by: Znuff Owned by:
Priority: major Milestone: 2.0
Component: Core Version: master (git)
Keywords: seed, hash Cc: war59312@…, Tydus@…

Description

libtorrent has this feature for quite some time now - Seeding Mode, so you can basically "skip" the hash checking when you add a torrent just for seeding.

From wikipedia:

seed mode, where the files on disk are assumed to be complete, and each piece's hash is verified the first time it is requested.

Attachments (2)

0001-Implemented-stub-hash_mode-settings-for-core-and-gtk.patch (4.2 KB) - added by tyeken8 5 years ago.
A quick-and-dirty implementation
0001-Implemented-stub-hash_mode-settings-for-core-and-gtk.2.patch (4.5 KB) - added by tyeken8 5 years ago.
Patch for git master

Download all attachments as: .zip

Change History (12)

comment:1 Changed 8 years ago by damoxc

  • Milestone changed from 1.3.0 to 1.4.0

comment:2 Changed 7 years ago by Cas

  • Keywords seed hash added
  • Summary changed from libtorrent supports seeding mode to Skip Hash Check - Seed Mode

comment:3 Changed 7 years ago by kaspy2011

please insert this feature

comment:4 Changed 7 years ago by war59312

  • Cc war59312@… added

I'd like to see this added as well.

comment:5 Changed 6 years ago by RazielSasy

Please! :)

Changed 5 years ago by tyeken8

A quick-and-dirty implementation

comment:6 Changed 5 years ago by tyeken8

  • Cc Tydus@… added

I wrote this patch based on deluge v1.3.5 and libtorrent v0.15.10. It's a quick-and dirty, even stub implementation, but it should work. Contains core and gtkui patches, but not webui.

We should do a simple check for existance of the target files at least, as μT does. Maybe we need a global option for seed_mode.

USE THIS PATCH AT YOUR OWN RISK

comment:7 Changed 5 years ago by Cas

  • Version changed from 1.3.0_dev to git master

Any patches for 1.4 milestone have to be against git master code.

Changed 5 years ago by tyeken8

Patch for git master

comment:8 Changed 4 years ago by Cas

Added seed_mode to develop core: [b0c3c3dddc50d3e]

comment:9 Changed 4 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

Added to UIs and AutoAdd?: [66ae8bdd5c]

comment:10 Changed 2 years ago by Cas

  • Milestone changed from 2.0.x to 2.0
Note: See TracTickets for help on using tickets.