Commit graph

  • 951f610cfd Nothing Igor Katson 2021-07-13 09:18:45 +01:00
  • 6eef3b9b66 A small refactor Igor Katson 2021-07-12 21:59:08 +01:00
  • 2eabebb5c3 Replaced DHT with custom one! Lets see if it works Igor Katson 2021-07-12 19:55:23 +01:00
  • 5c41796485 Saving Igor Katson 2021-07-12 19:42:48 +01:00
  • d57079c75a Will start to test soon Igor Katson 2021-07-12 16:24:26 +01:00
  • dc6fc6bba2 Routing table sort of works Igor Katson 2021-07-12 14:39:03 +01:00
  • 9c37706dba Routing table sort of works Igor Katson 2021-07-12 14:38:55 +01:00
  • 44a72b1088 Saving Igor Katson 2021-07-12 13:59:58 +01:00
  • 950d47ab31 Saving Igor Katson 2021-07-12 11:56:26 +01:00
  • f6656841c0 Playing with DHT over UDP Igor Katson 2021-07-10 23:56:42 +01:00
  • 1f6f9988f5 Error serialize-deserialize Igor Katson 2021-07-10 22:39:30 +01:00
  • cf581dc2ba serialize/deserialize tested and works for dht Igor Katson 2021-07-10 14:21:41 +01:00
  • 1b0047a4a4 DHT bencode protocol more or less done Igor Katson 2021-07-10 12:26:37 +01:00
  • 3090f1f5bb Relax bencode value constraints Igor Katson 2021-07-10 00:00:40 +01:00
  • f794b27093 Update with some UDP examples Igor Katson 2021-07-09 23:30:41 +01:00
  • 7d7d82ac6d Nothing, just fixed tests and updated buffers debugging Igor Katson 2021-07-09 23:18:59 +01:00
  • 7a947ddf79 Starting to play with alternative DHT implementations Igor Katson 2021-07-09 22:51:33 +01:00
  • e7c310a1df JSON torrent detail api Igor Katson 2021-07-08 23:49:25 +01:00
  • 3beac77e5d JSON HTTP API Igor Katson 2021-07-08 23:03:58 +01:00
  • c401b79bd3 Make HTTP API track multiple torrents Igor Katson 2021-07-08 00:09:00 +01:00
  • dec68d986e add readme Igor Katson 2021-07-04 18:36:21 +01:00
  • 8e4bb96800 add readme Igor Katson 2021-07-04 18:35:54 +01:00
  • 4f07b0f785 Remove some trait bounds Igor Katson 2021-07-04 18:01:58 +01:00
  • 44c760bcc2 Nothing Igor Katson 2021-07-04 14:38:44 +01:00
  • b4f6d8b93d Nothing Igor Katson 2021-07-04 12:17:06 +01:00
  • 60c0c73005 Nothing Igor Katson 2021-07-04 12:11:02 +01:00
  • 64b1e47c77 Add a semaphore around peers Igor Katson 2021-07-04 11:36:16 +01:00
  • 9472d66bf9 Update visiibilty Igor Katson 2021-07-04 11:05:20 +01:00
  • ad867e8e3c Move everything to workspaces Igor Katson 2021-07-03 19:10:59 +01:00
  • 75547d3000 Move to workspaces Igor Katson 2021-07-03 18:18:50 +01:00
  • 487ff50bd7 Clippy Igor Katson 2021-07-03 15:52:39 +01:00
  • 2061fe56bb The sucker now works with dht too! Albeit hacky JS one, but still! Igor Katson 2021-07-03 15:22:17 +01:00
  • b4ade5eb13 Nothing Igor Katson 2021-07-03 12:52:47 +01:00
  • 0e80ad3254 Deentangled classes a bit Igor Katson 2021-07-03 12:44:21 +01:00
  • 85e33741b7 Deentangled classes a bit Igor Katson 2021-07-03 12:40:59 +01:00
  • 9038630622 Trying to make torrent manager not depend on the whole metainfo Igor Katson 2021-07-03 09:13:09 +01:00
  • 897517521e Peer info reader done Igor Katson 2021-07-03 00:22:46 +01:00
  • 46e87a9b80 Split stuff into more files Igor Katson 2021-07-02 22:32:55 +01:00
  • 48dcf2d1bd I can now download torrent metainfo from peers!! Igor Katson 2021-07-02 17:58:53 +01:00
  • 302e95649d Screwing around with extended messages Igor Katson 2021-07-02 13:00:46 +01:00
  • d722f0edcb Remove all linter warnings Igor Katson 2021-07-02 10:21:19 +01:00
  • 1f299247d2 Abstract away peer handler Igor Katson 2021-07-02 10:12:48 +01:00
  • e666f063ff Can decode extended messages now Igor Katson 2021-07-02 01:38:07 +01:00
  • 5f60f9e1b4 Make a serde bencode serializer Igor Katson 2021-07-01 23:37:57 +01:00
  • 563ca78774 Updates Igor Katson 2021-07-01 19:18:19 +01:00
  • 5942e6a9d5 Updates Igor Katson 2021-07-01 19:17:44 +01:00
  • a6981231c1 Add system hasher Igor Katson 2021-07-01 17:18:07 +01:00
  • 4b6ed36927 De-entangle speed estimator from complex objects Igor Katson 2021-07-01 10:07:12 +01:00
  • 47966e094c Add speed estimator Igor Katson 2021-06-30 23:26:22 +01:00
  • c1f34a6599 Just messing around with Rust typing Igor Katson 2021-06-30 18:42:16 +01:00
  • 32f2ea4953 Poor mans speed computation Igor Katson 2021-06-30 10:31:30 +01:00
  • a3e84e4a99 Add http api for debugging Igor Katson 2021-06-30 10:14:33 +01:00
  • 1cb7a7bbc6 Enable elapsed stats calculation and slow piece stealing Igor Katson 2021-06-30 00:32:38 +01:00
  • ccf19b7921 Inflight piece: tracking start time Igor Katson 2021-06-30 00:02:25 +01:00
  • e843209aa9 nothing Igor Katson 2021-06-30 00:00:44 +01:00
  • 2fc225cfa2 Add tracker refresh interval parameter Igor Katson 2021-06-29 00:17:10 +01:00
  • c2affa8865 Nothing much Igor Katson 2021-06-28 22:48:14 +01:00
  • b26af687b7 Check the chunk before uploading Igor Katson 2021-06-28 22:21:21 +01:00
  • df282ae9d8 Dude this is like production ready! Igor Katson 2021-06-28 21:06:00 +01:00
  • 34dd074310 Openssl + a bunch of other refactorings Igor Katson 2021-06-28 20:40:13 +01:00
  • b4b22ea9a4 Optimize on transmit haves Igor Katson 2021-06-28 16:55:50 +01:00
  • 14b62b45c5 Downloading chunks now does not copy the chunks, but writes them straight to disk. (Still reads into a buffer first though, but does not allocate on every chunk) Igor Katson 2021-06-28 16:37:15 +01:00
  • fab43a8d23 Uploading chunks now reads straight into write buffer Igor Katson 2021-06-28 16:09:20 +01:00
  • 2192842099 Refactoring reading a bit Igor Katson 2021-06-28 15:44:29 +01:00
  • a799ff1219 Move all file operatiosn into a separate file Igor Katson 2021-06-28 15:17:11 +01:00
  • e0ffb3afe1 File ops moved out Igor Katson 2021-06-28 15:10:28 +01:00
  • 5f8100ebad Nothing Igor Katson 2021-06-28 14:58:53 +01:00
  • 5a075c8ef3 Nothing Igor Katson 2021-06-28 14:52:12 +01:00
  • c6cf9776d1 Updating visilibity little by little Igor Katson 2021-06-28 14:42:19 +01:00
  • 1e478aabac Move peer state to a separate file Igor Katson 2021-06-28 14:23:28 +01:00
  • 0d85eb9f2a Split the huge torrent manager into 3 classes. All public access members but ok for the start Igor Katson 2021-06-28 12:30:23 +01:00
  • bde18ab734 Refactor Igor Katson 2021-06-28 11:36:47 +01:00
  • 205ce3265a Rename Igor Katson 2021-06-28 11:29:20 +01:00
  • 06136cc170 Pretty stable now Igor Katson 2021-06-27 14:49:41 +01:00
  • 0ac1116aba Writing still broken Igor Katson 2021-06-27 12:51:19 +01:00
  • 3f068883c2 a buggy mess Igor Katson 2021-06-27 12:25:03 +01:00
  • efaa96a9b5 Something broke computation of initial checks Igor Katson 2021-06-27 11:01:41 +01:00
  • 3ab61a6108 Introduce more bugs :) Igor Katson 2021-06-27 10:25:36 +01:00
  • 5c092389f9 saving Igor Katson 2021-06-27 10:10:59 +01:00
  • 0bd3f95891 Restructured a bit Igor Katson 2021-06-27 09:09:55 +01:00
  • 7fc41fd953 nothing Igor Katson 2021-06-27 08:44:25 +01:00
  • 5c5cf3c24a the thing actually works pretty good now Igor Katson 2021-06-27 01:14:08 +01:00
  • 0f431621b9 It sort of works... Peers are still disconnecting somehow Igor Katson 2021-06-26 21:00:17 +01:00
  • 47c5e9e0c4 Updating Igor Katson 2021-06-26 18:30:17 +01:00
  • 34ea225560 Updating Igor Katson 2021-06-26 18:13:46 +01:00
  • 2b768a5505 Nothing (almost) Igor Katson 2021-06-26 17:32:17 +01:00
  • 7ed532ae52 Bugs fixed Igor Katson 2021-06-26 17:29:59 +01:00
  • d546dfd1e6 Things are pretty broken now Igor Katson 2021-06-26 16:43:36 +01:00
  • 6a7f8a4d1a Limit tokio threads Igor Katson 2021-06-26 01:02:09 +01:00
  • b3d347e2b6 Limit tokio threads Igor Katson 2021-06-26 00:56:32 +01:00
  • 7f47772dcb Limit tokio threads Igor Katson 2021-06-26 00:54:39 +01:00
  • 12b3f12859 fix bugs Igor Katson 2021-06-26 00:43:28 +01:00
  • e1354e8a85 Something horribly broken. But added downloading Igor Katson 2021-06-26 00:32:52 +01:00
  • 0a640daba4 Fixed bugs Igor Katson 2021-06-25 23:50:10 +01:00
  • 87d6fe27ce Initial commit Igor Katson 2021-06-25 13:47:51 +01:00