Commit graph

97 commits

Author SHA1 Message Date
Igor Katson
d121efd4f4 Add option to disable DHT 2021-07-13 14:02:47 +01:00
Igor Katson
1cd6caee76 Fix bugs 2021-07-13 13:16:59 +01:00
Igor Katson
951f610cfd Nothing 2021-07-13 09:18:45 +01:00
Igor Katson
6eef3b9b66 A small refactor 2021-07-12 21:59:08 +01:00
Igor Katson
2eabebb5c3 Replaced DHT with custom one! Lets see if it works 2021-07-12 19:55:23 +01:00
Igor Katson
5c41796485 Saving 2021-07-12 19:42:48 +01:00
Igor Katson
d57079c75a Will start to test soon 2021-07-12 16:24:26 +01:00
Igor Katson
dc6fc6bba2 Routing table sort of works 2021-07-12 14:39:03 +01:00
Igor Katson
9c37706dba Routing table sort of works 2021-07-12 14:38:55 +01:00
Igor Katson
44a72b1088 Saving 2021-07-12 13:59:58 +01:00
Igor Katson
950d47ab31 Saving 2021-07-12 11:56:26 +01:00
Igor Katson
f6656841c0 Playing with DHT over UDP 2021-07-10 23:56:42 +01:00
Igor Katson
1f6f9988f5 Error serialize-deserialize 2021-07-10 22:39:30 +01:00
Igor Katson
cf581dc2ba serialize/deserialize tested and works for dht 2021-07-10 14:21:41 +01:00
Igor Katson
1b0047a4a4 DHT bencode protocol more or less done 2021-07-10 12:26:37 +01:00
Igor Katson
3090f1f5bb Relax bencode value constraints 2021-07-10 00:00:40 +01:00
Igor Katson
f794b27093 Update with some UDP examples 2021-07-09 23:30:41 +01:00
Igor Katson
7d7d82ac6d Nothing, just fixed tests and updated buffers debugging 2021-07-09 23:18:59 +01:00
Igor Katson
7a947ddf79 Starting to play with alternative DHT implementations 2021-07-09 22:51:33 +01:00
Igor Katson
e7c310a1df JSON torrent detail api 2021-07-08 23:49:25 +01:00
Igor Katson
3beac77e5d JSON HTTP API 2021-07-08 23:03:58 +01:00
Igor Katson
c401b79bd3 Make HTTP API track multiple torrents 2021-07-08 00:09:00 +01:00
Igor Katson
dec68d986e add readme 2021-07-04 18:36:21 +01:00
Igor Katson
8e4bb96800 add readme 2021-07-04 18:35:54 +01:00
Igor Katson
4f07b0f785 Remove some trait bounds 2021-07-04 18:01:58 +01:00
Igor Katson
44c760bcc2 Nothing 2021-07-04 14:38:44 +01:00
Igor Katson
b4f6d8b93d Nothing 2021-07-04 12:17:06 +01:00
Igor Katson
60c0c73005 Nothing 2021-07-04 12:11:02 +01:00
Igor Katson
64b1e47c77 Add a semaphore around peers 2021-07-04 11:36:16 +01:00
Igor Katson
9472d66bf9 Update visiibilty 2021-07-04 11:05:20 +01:00
Igor Katson
ad867e8e3c Move everything to workspaces 2021-07-03 19:10:59 +01:00
Igor Katson
75547d3000 Move to workspaces 2021-07-03 18:18:50 +01:00
Igor Katson
487ff50bd7 Clippy 2021-07-03 15:52:39 +01:00
Igor Katson
2061fe56bb The sucker now works with dht too! Albeit hacky JS one, but still! 2021-07-03 15:22:17 +01:00
Igor Katson
b4ade5eb13 Nothing 2021-07-03 12:52:47 +01:00
Igor Katson
0e80ad3254 Deentangled classes a bit 2021-07-03 12:44:21 +01:00
Igor Katson
85e33741b7 Deentangled classes a bit 2021-07-03 12:40:59 +01:00
Igor Katson
9038630622 Trying to make torrent manager not depend on the whole metainfo 2021-07-03 09:13:09 +01:00
Igor Katson
897517521e Peer info reader done 2021-07-03 00:22:46 +01:00
Igor Katson
46e87a9b80 Split stuff into more files 2021-07-02 22:32:55 +01:00
Igor Katson
48dcf2d1bd I can now download torrent metainfo from peers!! 2021-07-02 17:58:53 +01:00
Igor Katson
302e95649d Screwing around with extended messages 2021-07-02 13:00:46 +01:00
Igor Katson
d722f0edcb Remove all linter warnings 2021-07-02 10:21:19 +01:00
Igor Katson
1f299247d2 Abstract away peer handler 2021-07-02 10:12:48 +01:00
Igor Katson
e666f063ff Can decode extended messages now 2021-07-02 01:38:07 +01:00
Igor Katson
5f60f9e1b4 Make a serde bencode serializer 2021-07-01 23:37:57 +01:00
Igor Katson
563ca78774 Updates 2021-07-01 19:18:19 +01:00
Igor Katson
5942e6a9d5 Updates 2021-07-01 19:17:44 +01:00
Igor Katson
a6981231c1 Add system hasher 2021-07-01 17:18:07 +01:00
Igor Katson
4b6ed36927 De-entangle speed estimator from complex objects 2021-07-01 10:07:12 +01:00