Commit Graph

33 Commits

Author SHA1 Message Date
8f5dd3bd11 remove excessive use of trio nursery 2025-08-29 17:34:47 +05:30
997094e5b7 resolve linting errors 2025-08-29 12:55:18 +05:30
3d1c36419c remove checkpoints, resolve logs, ttl and fix minor issues 2025-08-29 02:05:34 +05:30
c940dac1e6 simplify bootstrap discovery with optimized timeouts 2025-08-26 01:42:25 +05:30
3b27b02a8b Merge branch 'main' into issue-798 2025-08-25 16:30:40 +05:30
5a2fca32a0 Add ip4 and tcp address resolution and fallback connection attempts 2025-08-22 02:12:42 +05:30
8d9b7f413d Add trio nursery address resolution and connection attempts 2025-08-21 11:20:21 +05:30
94d695c6bc feat: Implement Random walk in py-libp2p (#822)
* Implementing random walk in py libp2p

* Add documentation for Random Walk module implementation in py-libp2p

* Add Random Walk example for py-libp2p Kademlia DHT

* refactor: peer eviction from routing table stopped

* refactored location of random walk

* add nodesin routing table  from peerstore

* random walk working as expected

* removed extra functions

* Removed all manual triggers

* added newsfragments

* fix linting issues

* refacored logs and cleaned example file

* refactor: update RandomWalk and RTRefreshManager to use query function for peer discovery

* docs: added Random Walk example docs

* added optional argument to use random walk in kademlia DHT

* enabled random walk in example file

* Added tests for RandomWalk module

* fixed lint issues

* Update refresh interval and some more tests are added.

* Removed Random Walk module documentation file

* Extra parentheses have been removed from the random walk logs.

Co-authored-by: Paul Robinson <5199899+pacrob@users.noreply.github.com>

---------

Co-authored-by: Manu Sheel Gupta <manusheel.edu@gmail.com>
Co-authored-by: Paul Robinson <5199899+pacrob@users.noreply.github.com>
2025-08-20 05:10:06 -06:00
163cc35cb0 Enhance Bootstrap module to dial peers after address resolution. 2025-08-17 02:12:09 +05:30
e91f458446 Enhance peer discovery logging and address resolution handling in BootstrapDiscovery 2025-07-24 00:11:05 +05:30
9e76940e75 Refactor logging configuration to reduce verbosity and improve peer discovery events 2025-07-14 01:38:15 +05:30
9669a92976 Fix formatting and linting issues 2025-07-10 19:25:58 +05:30
2dfee68f20 Refactor bootstrap discovery to use async methods and update bootstrap peers list 2025-07-10 19:24:09 +05:30
198208aef3 validate and filter bootstrap addresses during discovery initialization 2025-07-09 20:23:47 +05:30
2965b4e364 DNS resolution working 2025-07-09 01:45:15 +05:30
12ad2dcdf4 Added bootstrap module 2025-06-30 11:37:40 +05:30
4eff928a6d fix: update logging messages 2025-06-27 00:09:17 +05:30
c914818f48 fix: enhanced logging to show dependencies logs 2025-06-26 01:15:10 +05:30
f274d20715 feat: attached mdns instance with host 2025-06-25 23:44:32 +05:30
28d0e5759a removed redundant function and added try catch block 2025-06-24 14:25:47 +05:30
b258ff3ea2 fix: correct logger name typo and update protocol in peer info extraction 2025-06-24 14:25:46 +05:30
89ed86d903 feat: add logging for mDNS peer discovery and update dependencies 2025-06-24 14:25:40 +05:30
387f4879d1 fix lint 2025-06-24 14:25:39 +05:30
e2f95f4df3 feat: emitted event from demo file 2025-06-24 14:25:39 +05:30
f43e7e367a refactored code 2025-06-24 14:25:38 +05:30
3262749db7 added event emmiter 2025-06-24 14:25:38 +05:30
cd7eaba4a4 feat: implement mDNS discovery with PeerListener 2025-06-24 14:25:37 +05:30
6add1cb685 feat: implement broadcasting in mdns 2025-06-24 14:25:37 +05:30
742bc7bca3 feat: add stringGen function to generate random strings 2025-06-24 14:25:36 +05:30
cbd4f9b502 feat: init mDNS discovery module 2025-06-24 14:25:35 +05:30
2d1b9a03d1 clean up 2019-03-26 20:20:14 +01:00
cd8cb5c443 refactoring of the code to implement IAdvertiser and IDiscoverer 2019-03-26 20:16:16 +01:00
17c778de15 Peer Discovery Interface (#123)
* added file

* basic interface modeled on go repo

* fixed linting

* updated based on comments
2019-02-24 18:37:56 -05:00