f3cf06cd72
Merge branch 'main' into add-ws-transport
2025-08-18 22:00:20 +05:30
13379e38d8
Merge branch 'libp2p:main' into feat/implement-listen_close-mynotifee
2025-08-17 20:54:59 +01:00
7c2014087f
Merge branch 'libp2p:main' into bugfix/kbucket_split_fix
2025-08-16 13:05:26 +05:30
37df8d679d
fix: fixed kbucket splitting behavior in RoutingTable
2025-08-16 11:51:37 +05:30
5c78a41552
Implement closed_stream notification and tests
2025-08-15 16:02:58 +01:00
aa7276c863
Implement closed_stream event handling and enable related tests ( #834 )
...
* Implement closed_stream event handling and enable related tests
* Fix linting issues and ensure all tests pass
* Add logging for exception in SwarmConn and create newsfragment for closed_stream feature
2025-08-13 16:19:53 -06:00
fe4c17e8d1
Fix typecheck errors and improve WebSocket transport implementation
...
- Fix INotifee interface compliance in WebSocket demo
- Fix handler function signatures to be async (THandler compatibility)
- Fix is_closed method usage with proper type checking
- Fix pytest.raises multiple exception type issue
- Fix line length violations (E501) across multiple files
- Add debugging logging to Noise security module for troubleshooting
- Update WebSocket transport examples and tests
- Improve transport registry error handling
2025-08-11 01:25:49 +02:00
64107b4648
feat: implement WebSocket transport with transport registry system - Add transport_registry.py for centralized transport management - Integrate WebSocket transport with new registry - Add comprehensive test suite for transport registry - Include WebSocket examples and demos - Update transport initialization and swarm integration
2025-08-09 23:52:55 +02:00
a6f85690bf
Merge upstream/main into add-ws-transport
2025-08-09 20:18:27 +02:00
cb11f076c8
feat/606-enable-nat-traversal-via-hole-punching ( #668 )
...
* feat: base implementation of dcutr for hole-punching
* chore: removed circuit-relay imports from __init__
* feat: implemented dcutr protocol
* added test suite with mock setup
* Fix pre-commit hook issues in DCUtR implementation
* usages of CONNECT_TYPE and SYNC_TYPE have been replaced with HolePunch.Type.CONNECT and HolePunch.Type.SYNC
* added unit tests for dcutr and nat module and
* added multiaddr.get_peer_id() with proper DNS address handling and fixed method signature inconsistencies
* added assertions to verify DCUtR hole punch result in integration test
---------
Co-authored-by: Manu Sheel Gupta <manusheel.edu@gmail.com >
2025-08-07 19:00:16 -06:00
651bf0fc6e
Merge branch 'main' into add-ws-transport
2025-07-27 00:05:08 +05:30
16445714f7
overwrite old_addr with new_addrs in consume_peer_record
2025-07-26 22:38:28 +05:30
09e151aafc
Added test for peer-store cleanup task
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
601a8a3ef0
enforce_peer_record_limit
2025-07-26 22:38:28 +05:30
9d597012cc
fixed the linter <> protobuf issues
2025-07-26 22:38:28 +05:30
aab2a0b603
Completed: CertifiedAddrBook interface with related tests
2025-07-26 22:38:28 +05:30
bab08c0900
added test for Envelope.equal
2025-07-26 22:38:28 +05:30
6431fb8788
Implemented: Envelope wrapper class + linter hacks for protobuf checks
2025-07-26 22:38:28 +05:30
2ff5ae9c90
added hacks for linting errors
2025-07-26 22:38:27 +05:30
ecc443dcfe
linter respacing
2025-07-26 22:38:27 +05:30
aa6039bcd3
PeerRecord class with ProtoBuff implemented
2025-07-26 22:38:27 +05:30
7a1aa548a1
Merge branch 'main' into add-ws-transport
2025-07-26 21:17:42 +05:30
ceb9f7d3f7
Merge branch 'main' into todo/handletimeout
2025-07-26 20:54:53 +05:30
65faa214da
Merge branch 'main' into add-ws-transport
2025-07-26 01:56:53 +05:30
eca548851b
added new fragment and tests
2025-07-25 16:19:29 +05:30
1997777c52
Fix IPv6 host bracketing in WebSocket transport
2025-07-23 08:10:51 +00:00
8a21435fc4
Merge branch 'main' into add-ws-transport
2025-07-22 16:29:19 +00:00
3a927c8419
Merge branch 'main' into feature/bootstrap
2025-07-21 06:43:34 -07:00
4fb7132b4e
Prevent crash in JS interop test
...
Signed-off-by: GautamBytes <manchandanigautam@gmail.com >
2025-07-20 19:10:03 +00:00
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
c277cce2ed
Merge branch 'main' into feature/bootstrap
2025-07-20 04:39:56 -07:00
fa0b64dca8
Merge branch 'main' into add-ws-transport
2025-07-20 09:44:11 +00:00
227a5c6441
small tweak
...
Signed-off-by: GautamBytes <manchandanigautam@gmail.com >
2025-07-20 09:30:21 +00:00
187418378a
added WebSocket transport support
...
Signed-off-by: GautamBytes <manchandanigautam@gmail.com >
2025-07-20 09:23:42 +00:00
7b181f3ce5
Merge branch 'main' into add-read-write-lock
2025-07-18 23:53:12 -07:00
7d62a2f558
Merge branch 'main' into fix/issue-778-Incorrect_handling_of_raw_format_in_identify
2025-07-19 04:25:48 +02:00
99db5b309f
fix raw format in identify and tests
2025-07-19 04:11:27 +02:00
11560f5cc9
TODO: throttle on async validators ( #755 )
...
* fixed todo: throttle on async validators
* added test: validate message respects concurrency limit
* added newsfragment
* added configurable validator semaphore in the PubSub constructor
* added the concurrency-checker in the original test-validate-msg test case
* separate out a _run_async_validator function
* remove redundant run_async_validator
2025-07-18 06:01:28 -06:00
41b1ecb67c
Merge branch 'main' into feature/bootstrap
2025-07-16 15:00:35 -07:00
e3c9b4bd54
Merge branch 'main' into add-read-write-lock
2025-07-16 14:59:44 -07:00
4115d033a8
feat: identify identify/push raw-format fix and tests
2025-07-16 20:22:45 +02:00
42f07ae1ab
Merge branch 'main' into add-read-write-lock
2025-07-15 14:54:29 -07:00
06f0c7d35c
Merge branch 'main' into identify-fix-varint-go
2025-07-15 14:50:02 -07:00
ab94e77310
Merge branch 'main' into feature/bootstrap
2025-07-15 14:40:20 -07:00
9c2560d000
fix: added valid CID and fix typecheck
2025-07-13 21:28:50 +00:00
9f38d48e26
Fix valid bootstrap address in test case
2025-07-14 01:45:12 +05:30
41ed0769f6
Merge branch 'main' into identify-fix-varint-go
2025-07-13 17:25:51 +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
4bbb08ce2d
feat: add length-prefixed protobuf support to identify protocol
2025-07-13 16:13:52 +02:00