Let the receiver fix a wrong salt during a search

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
SchluffeandClaude Opus 5.5 committed 2026-10-28 17:51:20 +01:00
1 parent 2e47b55901
commit aa61efcc10
3 files changed
+19 -18

No files matched your search

-7
View File
@@ -2,13 +2,6 @@
## Ideas
- Unstick a wrong salt: while a tracker share or search runs, the salt is locked, and a receiver
told "Check the code and the salt" can't change it for up to 6 minutes. The receiver doesn't need
the lock: like the code field, the salt could stay editable and count from the next Receive
(`saltLocked` only for `side === 'send'`). The sender does, the code shown must match the salt
shown: a Stop button next to the valid code would end the share, unlock the salt and also let a
share be withdrawn early. Changing the salt itself shouldn't end a share, a stray click would.
- Resume interrupted transfers: the receiver already reports how much the download manager has
read (`{ read }`), which is where a new connection could continue. The browser can't append to a
finished or failed download though, so a resume would have to start a new one.