TZGyn 26cef8ee12 Turn the client into a background daemon; add per-chunk hash verification
Daemon (src/daemon): a Unix-socket control server holds every room this
machine is participating in. "share send"/"share <code>" resolve paths to
absolute, ask the daemon to join (auto-starting it if needed), and exit
immediately instead of blocking. "share stop" leaves every room and shuts
the daemon down; a stale socket from a crashed daemon self-heals on next
start.

swarm.Client is now a Start/Wait/Stop handle instead of a single blocking
Run, so the daemon can hold many rooms concurrently.

Also added per-chunk sha256 verification: the original seeder publishes a
hash for every chunk alongside the whole-file hash, and each chunk is
checked against it the moment it arrives — before it's written to disk or
reshared to other peers — rather than only catching corruption after the
whole file is assembled.
2026-07-20 11:45:33 +08:00
S
Description
No description provided
34 MiB
v0.1.0
Latest
2026-09-11 08:39:25 +00:00
Languages
Go 67.1%
Swift 29.2%
JavaScript 1.4%
HTML 1.2%
Shell 1%
Other 0.1%