ae3e2ff943
Update examples to use wildcard addresses for network binding and improve connection timeout comments
2025-09-20 13:11:22 +05:30
a862ac83cd
Invert raw format flag to determine varint format usage in main function
2025-09-18 23:37:26 +05:30
3f30ed4437
Fix typo in connection timeout comment and improve identify example output formatting
2025-09-18 21:36:25 +05:30
4dd2454a46
Update examples to use dynamic host IP instead of hardcoded localhost
2025-09-18 02:09:51 +05:30
7d364da950
Refactor: update examples to utilize new address paradigm with wildcard support
...
- Introduced `get_wildcard_address` function for explicit wildcard binding.
- Updated examples to use `get_available_interfaces` and `get_optimal_binding_address` for address selection.
- Ensured consistent usage of the new address paradigm across all example files.
- Added tests to verify the implementation of the new address paradigm and wildcard feature.
2025-09-09 12:10:28 +05:30
030deb42b4
refactor: update examples to use available interfaces for listening addresses and improve logging configuration
2025-09-05 20:05:10 +05:30
87550113a4
chore: Update network address config to use loopback (127.0.0.1) instead of wildcard (0.0.0.0) across multiple examples and utilities.
2025-09-02 03:00:18 +05:30
8c96c5a941
Add the periodic peer-store cleanup in all the examples
2025-07-26 22:38:28 +05:30
2d335d4394
Integrated Signed-peer-record transfer with identify/identify-push
2025-07-26 22:38:28 +05:30
37e4fee9f8
feat: Add identify-push raw format support and yamux logging improvements
...
- Add comprehensive integration tests for identify-push protocol
- Support both raw protobuf and varint message formats
- Improve yamux logging integration with LIBP2P_DEBUG
- Fix RawConnError handling to reduce log noise
- Add Ctrl+C handling to identify examples
- Enhance identify-push listener/dialer demo
Fixes : #784
2025-07-20 20:19:18 +02:00
99db5b309f
fix raw format in identify and tests
2025-07-19 04:11:27 +02:00
1c59653946
breaking: identify protocol use now prefix-length messages by default. use use_varint_format param for old raw messages
2025-07-13 17:24:56 +02:00
8ec67289da
feat: add length-prefixed protobuf support to identify protocol
2025-07-13 15:55:37 +02:00
4e9fa87477
Updated examples to automatically use random port ( #661 )
...
* updated examples to automatically use random port
* Refactor examples to use shared utils for port selection (#1 )
---------
Co-authored-by: acul71 <34693171+acul71@users.noreply.github.com >
2025-06-09 12:59:11 -06:00
1613cf02d4
fix: add missing examples/identify/__init__.py and doc docs/examples.identify.rst
2025-03-27 14:37:43 -06:00
95f0e84418
use console script entry for identify demo
2025-03-24 17:55:16 -06:00
604a447287
feat: add identify protocol example
2025-03-24 17:55:16 -06:00