nautd: hash-check paused torrents (check-only worker)

A paused torrent never ran a worker, so it never verified on-disk data
and showed no progress. Add a one-shot check-only swarm mode (open +
resume scan + report, no peers/engine/download). The reconciler runs it
for a paused torrent flagged needs_check (set on paused-add and recheck);
the worker stays paused afterward. New TORRENT_CHECKING state -> webui
checkingDL/UP. Mark #11 done.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ookami125 2026-06-22 01:22:10 -04:00
parent 7bbc1ee22c
commit 4708db151d
5 changed files with 80 additions and 25 deletions

View file

@ -8,5 +8,5 @@
- ✅ Categories aren't saved across restart.
- ✅ Pausing a torrent will go back into Downloading and Seeding.
- ✅ A torrents data could overlap with another existing torrent. This should be blocked to avoid
- A paused torrent should still do a full piece check.
- A paused torrent should still do a full piece check.
- ✅ Something appears to have broken the peers info tab, nothing shows up.