42 Commits
Author SHA1 Message Date
orignal d2b9c1a099 insert existing node to routing table 2026-10-01 22:11:03 -04:00
orignal 842a2cb9b9 initialize lastUpdateTime 2026-10-01 22:05:47 -04:00
orignal a5797cdf98 cleanup all nodes list. Store pointer to node in routing table 2026-10-01 21:24:17 -04:00
orignal 94ff267b45 send ping to expiring nodes 2026-10-01 18:26:44 -04:00
orignal 637507be67 add quoerying node to nodes list 2026-09-30 18:53:07 -04:00
orignal 5eaf86e432 send multiple get_peers requests 2026-09-30 16:04:12 -04:00
orignal ff93190c11 cleanup non-responded queries 2026-09-30 10:25:02 -04:00
orignal 5d2bd1d299 insert nodes to routing table in sorted order after load 2026-09-29 21:51:07 -04:00
orignal 5bf161e29c get peers throught DHT and announce own torrents 2026-09-29 18:59:46 -04:00
orignal 14eb418c5e remove empty buckets after load DHT nodes 2026-09-28 22:37:42 -04:00
orignal 19c0f98126 update timestamp of existing peer 2026-09-28 21:11:30 -04:00
orignal ccd494160d cleanup DHT torrents 2026-09-28 20:32:24 -04:00
orignal 8d5becd90a set DHT datagram receiver after datagram destionation initializtion. Save nodes from ping and get_peers queires 2026-09-28 15:16:59 -04:00
orignal b0a22f8793 generate random nodeID by 4 bytes 2026-09-28 13:34:23 -04:00
orignal daaa336276 generate random nodeid in bucket 2026-09-28 12:01:11 -04:00
orignal b126b2455a select random node to request from 2026-09-27 22:31:45 -04:00
orignal 8510dce429 remove expired nodes from routing table 2026-09-27 21:09:16 -04:00
orignal 1eb06e3c45 store bucket's node in map rather than list 2026-09-27 18:09:31 -04:00
orignal ae481480eb request node from node from the same bucket. Respond to find_node 2026-09-27 17:27:42 -04:00
orignal 46ea7caa8d explore DHT nodes 2026-09-27 12:43:29 -04:00
orignal 6cfb14b422 correct local NodeID generation. Handle find_node query 2026-09-26 22:05:17 -04:00
orignal a8b4000490 handle get_peers response. Send announce_peer 2026-09-26 19:13:44 -04:00
orignal 4be508a882 save own nodeInfo in dht file 2026-09-26 12:06:59 -04:00
orignal 3ebcd21135 store node info in separate map 2026-09-25 20:06:07 -04:00
orignal 685776eba3 parse id and infoHash as 20-bytes array. Add node to DHT after receiveing ping. Send reposnse to announce_peer 2026-09-25 14:57:50 -04:00
orignal 54f51044e5 use destination's b32 for dht file name 2026-09-25 09:02:11 -04:00
orignal 969aa1b563 save and load DHT routing table 2026-09-24 21:26:00 -04:00
orignal 6f24d4efdd implemnented torrent tunnel param dht 2026-09-24 19:14:02 -04:00
orignal 1af997ac82 handle announce_peer 2026-09-24 17:21:56 -04:00
orignal 69e9eadc0b save and load routing table 2026-09-24 11:25:02 -04:00
orignal fc42730f8b handle get_peers response 2026-09-23 20:49:11 -04:00
orignal 9173deb0d6 keep DHT torrents in separate class 2026-09-23 16:05:03 -04:00
orignal ef4ac934e8 handle get_peers query 2026-09-22 20:49:14 -04:00
orignal 2b67562c45 handle DHT ping response. Advertise our DHT port 2026-09-22 17:36:38 -04:00
orignal 81b9c357e4 handle and reply to DHT ping message 2026-09-22 14:34:19 -04:00
orignal e26055ab51 don't split not full bucket. Check if middleID bit >= 160 2026-09-21 21:06:18 -04:00
orignal cff9f8ecc0 split bucket 2026-09-21 20:23:01 -04:00
orignal 7a826ed069 FindClosestNodes, select DHT port from wider range 2026-09-21 11:28:43 -04:00
orignal 814fa61d05 Added FindBucket and AddNode 2026-09-20 22:10:30 -04:00
orignal 634ad8ce17 Added Node, Bucket, RoutingTable 2026-09-20 18:59:58 -04:00
orignal 541a0129d4 set DHT datagram handlers 2026-09-20 16:49:35 -04:00
orignal 79c1f4caa1 Added torrents DHT 2026-09-20 12:19:45 -04:00