Commit graph

43 commits

Author SHA1 Message Date
Adrien Delorme
aa4914eda4
create_request: avoid u16 overflow 2023-04-23 17:55:52 +02:00
Igor Katson
6968a4e449
Cargo clippy: fix the majority of errors 2022-12-08 20:20:23 +00:00
Igor Katson
818e300935
DHT: use rwlock, not mutex 2022-12-07 22:01:29 +00:00
Igor Katson
ae847ce99c
Upgrade deps 2022-12-04 13:12:23 +00:00
Igor Katson
b2fb4729c7 Fix or disable all failing tests. Fix all cargo clippy warnings 2021-10-18 16:38:43 +01:00
Igor Katson
d51acba9be Fix a bug in DHT that caused panics sometimes 2021-10-16 00:14:29 +01:00
Igor Katson
1bcc16c327 Another attempt to make it possible to build without openssl.
You'll need to cd into crates/rqbit to build with selective features.
2021-09-30 09:00:40 +01:00
Igor Katson
a6a785640f Better error message when listening on DHT 2021-09-29 19:15:04 +01:00
Igor Katson
5fd218d456 Nothing 2021-07-18 16:56:47 +01:00
Igor Katson
49cb6f9d65 Nothing much 2021-07-18 15:53:23 +01:00
Igor Katson
1300faa0b4 Persistent DHT 2021-07-18 10:53:33 +01:00
Igor Katson
52f17a1717 Routing table serialize / optimzie 2021-07-17 14:45:18 +01:00
Igor Katson
24c38b1de1 Saving 2021-07-16 15:40:04 +01:00
Igor Katson
ff2f74594a Reimplement routing table as a vector 2021-07-16 14:49:36 +01:00
Igor Katson
1f899b63a6 Almost nothing 2021-07-14 15:50:40 +01:00
Igor Katson
3a9a858438 Peer stream is more efficient 2021-07-14 15:29:59 +01:00
Igor Katson
9340c231ba DHT broadcast lagging... 2021-07-14 14:03:42 +01:00
Igor Katson
65d2e5b87f Nothing 2021-07-14 13:42:42 +01:00
Igor Katson
98dff76c40 DHT stats in HTTP API 2021-07-14 13:40:56 +01:00
Igor Katson
32789f3c8c Dumping routing table to JSON. Wow 2021-07-14 01:16:47 +01:00
Igor Katson
ca25bac486 Dumping routing table to JSON. Wow 2021-07-14 01:03:39 +01:00
Igor Katson
fe4dcb226f DHT stats 2021-07-14 00:48:53 +01:00
Igor Katson
4e31eb6547 Nothing 2021-07-14 00:06:09 +01:00
Igor Katson
9ce76d317b Actually send back peers 2021-07-13 18:27:32 +01:00
Igor Katson
7e4ed79863 Nothing 2021-07-13 16:59:31 +01:00
Igor Katson
1b5e565aff Nothing 2021-07-13 16:28:53 +01:00
Igor Katson
ace11186ef Refactor DHT a bit 2021-07-13 16:10:36 +01:00
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
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
f794b27093 Update with some UDP examples 2021-07-09 23:30:41 +01:00
Igor Katson
7a947ddf79 Starting to play with alternative DHT implementations 2021-07-09 22:51:33 +01:00