Initial commit: multi-peer torrent download engine

Reactor/loop-pool engine with TCP/µTP/MSE transports, per-connection
pipelining, priority-driven piece selection with endgame, and the Python
FFI test harness.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ookami125 2026-06-21 23:12:32 -04:00
commit d8208685a2
55 changed files with 9989 additions and 0 deletions

2
ISSUES.md Normal file
View file

@ -0,0 +1,2 @@
1) ~~Slow peers can hog pieces and can stall downloads towards the end. We need to a good dynamic end game.~~
2) ~~The testing harness (swarm_download.py) needs to be able to resume a torrent download.~~