Commit Graph

2499 Commits

Author SHA1 Message Date
f13876a64f Merge pull request #953 from acul71/fix/issue-952-windows-cdci-python-version
fix: use dynamic Python version in Windows CI/CD tests
2025-09-24 19:43:06 +05:30
3c43e4682a Merge branch 'main' into fix/issue-952-windows-cdci-python-version 2025-09-23 17:43:53 -04:00
b46dae7c50 Merge pull request #917 from parth-soni07/refactor/replace-magic-numbers-with-named-constants
Refactor: Replace magic numbers with named constants and enums for clarity and maintainability
2025-09-24 03:10:48 +05:30
262e7e9834 fix: add newline to newsfragment file
Pre-commit hook fixed end-of-file formatting
2025-09-23 17:25:12 -04:00
634de8ed02 fix: use dynamic Python version in Windows CI/CD tests
Fix hardcoded py311- to use dynamic matrix.python-version variable.
Ensures Windows tests run with correct Python version and resolves
async behavior differences causing test failures.
2025-09-23 17:25:12 -04:00
17c1ced408 Merge branch 'main' into refactor/replace-magic-numbers-with-named-constants 2025-09-23 21:26:19 +05:30
d64f9e10fd Fix: lint error 2025-09-23 17:29:15 +05:30
93c2d5002f fix: GossipSub peer propagation to include FloodSub peers 2025-09-23 17:29:15 +05:30
721da9364e Fixed variable imports 2025-09-23 17:29:15 +05:30
35a4bf2d42 Update multiaddr to version 0.0.11
- Switch from git dependency to pip package
- Update from git+https://github.com/multiformats/py-multiaddr.git@b186e2ccadc22545dec4069ff313787bf29265e0
- Use multiaddr>=0.0.11 from PyPI

Fixes #934
2025-09-23 17:29:15 +05:30
02ff688b5a Added timeout passing in muxermultistream. Updated the usages. Tested the params are passed correctly 2025-09-23 17:29:15 +05:30
52625e0f68 Fix multiaddr dep to use specific commit hash to resolve install issue (#928)
* Fix multiaddr dependency to use specific commit hash to resolve installation issues

* fix: ops wrong filename
2025-09-23 17:29:15 +05:30
066c87515e Merge pull request #897 from codemaestro64/enhancement/yamuxstream-lock
enh/793: add read-write lock to yamuxstream
2025-09-23 10:48:19 +05:30
a0826b21bc Merge branch 'main' into enhancement/yamuxstream-lock 2025-09-23 10:13:46 +05:30
37fd2542c0 remove duplicate entry of fastecdsa (#948) 2025-09-22 15:57:06 -06:00
5e2840d5b5 Merge branch 'main' into enhancement/yamuxstream-lock 2025-09-23 00:43:22 +05:30
17838687fe Merge pull request #892 from yashksaini-coder/fix/885-Update-default-Bind-address
Fix/885 update default bind address
2025-09-23 00:23:00 +05:30
43bb36338c Merge branch 'main' into fix/885-Update-default-Bind-address 2025-09-22 22:07:12 +05:30
d519f75d69 Merge pull request #781 from GautamBytes/add-ws-transport
Add WebSocket transport support
2025-09-22 22:06:38 +05:30
7c60b81801 Merge branch 'fix/885-Update-default-Bind-address' of https://github.com/yashksaini-coder/py-libp2p into fix/885-Update-default-Bind-address 2025-09-22 21:52:51 +05:30
009fdd0d8f Increase wait time in unsubscribe_backoff test to exceed backoff duration 2025-09-22 21:51:45 +05:30
6a1b955a4e fix: implement lazy initialization for global transport registry
- Change global registry from immediate to lazy initialization
- Fix doctest failure caused by debug logging during MultiError import
- Update all functions to use get_transport_registry() instead of direct access
- Resolves CI/CD doctest failure in libp2p.rst
2025-09-21 19:29:48 -04:00
87429eb2e9 Merge branch 'main' into add-ws-transport 2025-09-22 02:36:01 +05:30
321bb86ea4 Merge branch 'main' into enhancement/yamuxstream-lock 2025-09-22 02:03:11 +05:30
c3c8d8ccb9 Merge branch 'main' into fix/885-Update-default-Bind-address 2025-09-22 02:02:56 +05:30
a01811a435 Merge pull request #893 from paschal533/keyerror-fix
fix: GossipSub peer propagation to include FloodSub peers
2025-09-22 01:57:06 +05:30
db2f3a64ea Merge branch 'main' into keyerror-fix 2025-09-22 01:56:52 +05:30
77208e95cc Refactor example scripts and core modules to enhance security by using secure loopback addresses for network binding 2025-09-20 13:32:43 +05:30
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
67a3cab2e2 Add example for new address paradigm in multiple connections 2025-09-18 02:34:01 +05:30
bf132cf3dd Fix import statements and improve error handling in examples 2025-09-18 02:22:31 +05:30
4dd2454a46 Update examples to use dynamic host IP instead of hardcoded localhost 2025-09-18 02:09:51 +05:30
b01f2bd105 Merge branch 'main' into fix/885-Update-default-Bind-address 2025-09-18 00:58:04 +05:30
1a4fe91419 doc: websocket newsframgment 2025-09-17 13:38:17 -04:00
1326592fe2 Merge branch 'main' into enhancement/yamuxstream-lock 2025-09-17 15:30:22 +05:30
5f0c5101c7 Merge branch 'main' into add-ws-transport 2025-09-17 15:27:48 +05:30
8d028a046d Merge pull request #935 from acul71/fix/issue-934-update-multiaddr
Update multiaddr to version 0.0.11
2025-09-17 15:19:13 +05:30
a0cb6e3a30 Complete WebSocket transport implementation with TLS support
- Add TLS configuration support to new_host and new_swarm functions
- Fix WebSocket transport tests (test_wss_host_pair_data_exchange, test_wss_listen_without_tls_config)
- Integrate TLS configuration with transport registry for proper WebSocket WSS support
- Move debug files to downloads directory for future reference
- All 47 WebSocket tests now passing including WSS functionality
- Maintain backward compatibility with existing code
- Resolve all type checking and linting issues
2025-09-17 03:08:24 -04:00
f4a4298c0f Restore debug tools and test client from original WebSocket implementation
- Added back debug_websocket_url.py for WebSocket URL testing
- Added back test_websocket_client.py for standalone WebSocket testing
- These tools complement the integrated WebSocket transport implementation
2025-09-17 01:00:41 -04:00
cdbd80eeba Merge remote changes with local WebSocket improvements
- Combined yashksaini-coder's flow control improvements with luca's WSS features
- Preserved comprehensive WSS support, TLS configuration, and handshake timeout
- Added production-ready buffer management and connection limits
- Maintained backward compatibility with existing WebSocket functionality
- Integrated both approaches for optimal WebSocket transport implementation
2025-09-17 01:00:15 -04:00
518c1f98b1 Update multiaddr to version 0.0.11
- Switch from git dependency to pip package
- Update from git+https://github.com/multiformats/py-multiaddr.git@b186e2ccadc22545dec4069ff313787bf29265e0
- Use multiaddr>=0.0.11 from PyPI

Fixes #934
2025-09-16 20:09:10 -04:00
284eee78d7 Merge branch 'main' into add-ws-transport 2025-09-16 01:04:16 +05:30
6e8960b383 Merge branch 'main' into enhancement/yamuxstream-lock 2025-09-16 01:03:02 +05:30
1250b2ec12 Merge branch 'main' into fix/885-Update-default-Bind-address 2025-09-16 01:02:18 +05:30
9b0f75014c Merge pull request #896 from unniznd/fix_expose_timeout_muxer_multistream
fix: Added timeout paramter into muxer multistream
2025-09-16 01:01:13 +05:30
b4a5d9037c Merge branch 'main' into enhancement/yamuxstream-lock 2025-09-16 00:47:59 +05:30
ecdb770c45 Merge branch 'main' into fix_expose_timeout_muxer_multistream 2025-09-16 00:45:26 +05:30
95e7e7b4f6 Merge branch 'main' into add-ws-transport 2025-09-15 21:20:44 +05:30