1
0
mirror of https://github.com/veggiedefender/torrent-client.git synced 2025-11-06 09:29:16 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
Jesse
7e8cac2d3e Incredibly messy and slow download 2019-12-26 21:53:11 -05:00
Jesse
b1fc8c7fb8 Add p2p client 2019-12-26 17:04:32 -05:00
Jesse Li
f9a22a6d9f Add timeout mechanism 2019-12-24 13:26:09 -05:00
Jesse
cdfb02a591 Implement formatting requests and parsing pieces 2019-12-23 12:58:23 -05:00
Jesse
7999e23fe1 Super janky download first piece 2019-12-22 23:51:31 -05:00
Jesse
12fac89ce5 Remove PieceLength from Downloader struct 2019-12-22 22:37:27 -05:00
Jesse
0b46e8444c Test buildTrackerURL 2019-12-22 22:36:07 -05:00
Jesse
519d64fa9a Stub out p2p interface 2019-12-22 22:25:57 -05:00
Jesse
b7cccc4662 Change Torrent.PieceHashes to [][20]byte 2019-12-22 22:16:27 -05:00
Jesse Li
2810320046 Receive handshake from peer! 2019-12-22 17:43:39 -05:00
Jesse Li
5ebabfabcd Make hash a [20]byte 2019-12-22 15:19:46 -05:00
Jesse Li
297d34d11e Remove Tracker struct 2019-12-22 14:56:34 -05:00
Jesse Li
4841bcda29 Refactor torrent 2019-12-22 13:29:46 -05:00
Jesse Li
941fba7a64 Parse torrent and fetch peers 2019-12-21 23:14:33 -05:00