Commit Graph
70 Commits
Author SHA1 Message Date
orignal ca007dc57d store incoming tokens for follow on announce_peer 2026-10-09 22:24:25 -04:00
orignal 628f5d38a6 always respons with nodes to get_peers if no active peers for torrent 2026-10-09 17:58:24 -04:00
orignal 90a436bd5f maintain heardFrom list 2026-10-09 15:53:24 -04:00
orignal 88491fbb45 don't include new nodes to routing table until until receive a message from them 2026-10-09 10:55:50 -04:00
orignal e8e713f41d delete non-responding nodes faster 2026-10-08 22:43:00 -04:00
orignal 5f728e3083 add nodes from get_peers response to request list 2026-10-08 21:05:35 -04:00
orignal bd0d505714 verify announce_peer token 2026-10-08 15:56:57 -04:00
orignal 7332f68b76 store token with peer it was received from 2026-10-08 12:11:34 -04:00
orignal 5a828193b4 reject duplicates in nodesToRequest and tokens 2026-10-07 18:56:39 -04:00
orignal f90cf50d49 send announce to 4 closest node if no response with peers 2026-10-07 16:45:17 -04:00
orignal fb17daf544 Send find_node in series. Send get_peers less aggressive 2026-10-07 11:38:10 -04:00
orignal b7e7b00ab3 respond with values if torrent's peers not empty 2026-10-06 21:43:34 -04:00
orignal 695185b616 repospong with multiple node info to get_peers query 2026-10-06 21:13:51 -04:00
orignal 4d691f0673 store nodes only in routing table 2026-10-06 20:42:43 -04:00
orignal d11513db9a respond with all nodes from bucket to find_node query 2026-10-06 20:05:20 -04:00
orignal ac4b915a90 send find_node to all nodes in bucket 2026-10-06 18:32:43 -04:00
orignal 184d6d0ff3 don't split more if node to add is in wrong bucket 2026-10-06 17:44:40 -04:00
orignal efe6c56297 extract multiple nodeInfo from 'nodes' param in responses 2026-10-06 10:06:24 -04:00
orignal 31b8ab4d0f send next requests outsize queries loop 2026-10-05 22:31:48 -04:00
orignal 8b9efd08c1 request next node after get_peers tiemout 2026-10-05 21:04:15 -04:00
orignal cd200e08c0 maintain nodes to requst list for get peers 2026-10-05 20:01:05 -04:00
orignal 9f23dada45 print base64 nodeid to log 2026-10-05 13:31:53 -04:00
orignal 494cec875d check node id of incoming query 2026-10-05 08:42:25 -04:00
UU 0dfde3c870 TorrentsDHT: make transaction ID truncation explicit
No functional change.
2026-10-04 02:52:24 +00:00
orignal 63ff96e4d0 longer node expiration time than in routing table 2026-10-02 18:21:32 -04:00
orignal e07e8339c2 always call find_node from bucket with own node. Call find_node more often 2026-10-02 17:01:28 -04:00
orignal 2d57d3f678 don't connect to peers for complete torrent 2026-10-02 11:26:25 -04:00
orignal caceb9d275 show peer's origin in flags field in RPC response 2026-10-02 09:53:03 -04:00
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