|
|
7b2d637382
|
Now using env_to_send_in_RPC for issuing records in Identify rpc messages
|
2025-08-26 12:49:51 +05:30 |
|
|
|
53db128f69
|
fix typos
|
2025-08-26 12:49:51 +05:30 |
|
|
|
618aff9368
|
chore: recompile protobufs
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
|
2025-08-10 01:31:40 +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 |
|
|
|
4115d033a8
|
feat: identify identify/push raw-format fix and tests
|
2025-07-16 20:22:45 +02:00 |
|
|
|
53614200bd
|
doc: fix doc issues
|
2025-07-13 17:43:31 +02:00 |
|
|
|
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 |
|
|
|
8ec67289da
|
feat: add length-prefixed protobuf support to identify protocol
|
2025-07-13 15:55:37 +02:00 |
|
|
|
5fcfc677f3
|
fixme/correct-type (#746)
* fixme/correct-type
* added newsfragment and test
|
2025-07-11 15:27:17 -06:00 |
|
|
|
88db4ceb21
|
Fix lint
|
2025-07-02 13:26:52 +05:30 |
|
|
|
ad0b5505ba
|
make limit configurable in push_identify_to_peers
|
2025-07-02 13:12:30 +05:30 |
|
|
|
ad87e50eb7
|
move concurrency_limit to identify_push
Signed-off-by: sukhman <sukhmansinghsaluja@gmail.com>
|
2025-06-30 10:13:02 +05:30 |
|
|
|
ae16909f79
|
Test: Connected Peers Receive Pushes
|
2025-06-26 15:26:09 +05:30 |
|
|
|
b7d62c0f85
|
Limit concurrency to push identify message to peers
Signed-off-by: sukhman <sukhmansinghsaluja@gmail.com>
|
2025-06-26 15:26:09 +05:30 |
|
|
|
bdadec7519
|
ft. modernise py-libp2p (#618)
* fix pyproject.toml , add ruff
* rm lock
* make progress
* add poetry lock ignore
* fix type issues
* fix tcp type errors
* fix text example - type error - wrong args
* add setuptools to dev
* test ci
* fix docs build
* fix type issues for new_swarm & new_host
* fix types in gossipsub
* fix type issues in noise
* wip: factories
* revert factories
* fix more type issues
* more type fixes
* fix: add null checks for noise protocol initialization and key handling
* corrected argument-errors in peerId and Multiaddr in peer tests
* fix: Noice - remove redundant type casts in BaseNoiseMsgReadWriter
* fix: update test_notify.py to use SwarmFactory.create_batch_and_listen, fix type hints, and comment out ClosedStream assertions
* Fix type checks for pubsub module
Signed-off-by: sukhman <sukhmansinghsaluja@gmail.com>
* Fix type checks for pubsub module-tests
Signed-off-by: sukhman <sukhmansinghsaluja@gmail.com>
* noise: add checks for uninitialized protocol and key states in PatternXX
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
* pubsub: add None checks for optional fields in FloodSub and Pubsub
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
* Fix type hints and improve testing
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
* remove redundant checks
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
* fix build issues
* add optional to trio service
* fix types
* fix type errors
* Fix type errors
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
* fixed more-type checks in crypto and peer_data files
* wip: factories
* replaced union with optional
* fix: type-error in interp-utils and peerinfo
* replace pyright with pyrefly
* add pyrefly.toml
* wip: fix multiselect issues
* try typecheck
* base check
* mcache test fixes , typecheck ci update
* fix ci
* will this work
* minor fix
* use poetry
* fix wokflow
* use cache,fix err
* fix pyrefly.toml
* fix pyrefly.toml
* fix cache in ci
* deploy commit
* add main baseline
* update to v5
* improve typecheck ci (#14)
* fix typo
* remove holepunching code (#16)
* fix gossipsub typeerrors (#17)
* fix: ensure initiator user includes remote peer id in handshake (#15)
* fix ci (#19)
* typefix: custom_types | core/peerinfo/test_peer_info | io/abc | pubsub/floodsub | protocol_muxer/multiselect (#18)
* fix: Typefixes in PeerInfo (#21)
* fix minor type issue (#22)
* fix type errors in pubsub (#24)
* fix: Minor typefixes in tests (#23)
* Fix failing tests for type-fixed test/pubsub (#8)
* move pyrefly & ruff to pyproject.toml & rm .project-template (#28)
* move the async_context file to tests/core
* move crypto test to crypto folder
* fix: some typefixes (#25)
* fix type errors
* fix type issues
* fix: update gRPC API usage in autonat_pb2_grpc.py (#31)
* md: typecheck ci
* rm comments
* clean up : from review suggestions
* use | None over Optional as per new python standards
* drop supporto for py3.9
* newsfragments
---------
Signed-off-by: sukhman <sukhmansinghsaluja@gmail.com>
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
Co-authored-by: acul71 <luca.pisani@birdo.net>
Co-authored-by: kaneki003 <sakshamchauhan707@gmail.com>
Co-authored-by: sukhman <sukhmansinghsaluja@gmail.com>
Co-authored-by: varun-r-mallya <varunrmallya@gmail.com>
Co-authored-by: varunrmallya <100590632+varun-r-mallya@users.noreply.github.com>
Co-authored-by: lla-dane <abhinavagarwalla6@gmail.com>
Co-authored-by: Collins <ArtemisfowlX@protonmail.com>
Co-authored-by: Abhinav Agarwalla <120122716+lla-dane@users.noreply.github.com>
Co-authored-by: guha-rahul <52607971+guha-rahul@users.noreply.github.com>
Co-authored-by: Sukhman Singh <63765293+sukhman-sukh@users.noreply.github.com>
Co-authored-by: acul71 <34693171+acul71@users.noreply.github.com>
Co-authored-by: pacrob <5199899+pacrob@users.noreply.github.com>
|
2025-06-09 11:39:59 -06:00 |
|
|
|
86dce72ae0
|
fix: regenerate protobuf files to match runtime version
|
2025-05-09 17:31:15 -06:00 |
|
|
|
4c02c4ea02
|
doc: add TODO for limit concurrency
|
2025-05-01 09:14:46 -06:00 |
|
|
|
4ad6975ef1
|
feat: push identify-push info in pararrel
|
2025-05-01 09:14:46 -06:00 |
|
|
|
66707364a7
|
doc: adding identify push protocol examples and doc
|
2025-05-01 09:14:46 -06:00 |
|
|
|
cef73519d3
|
feat: identify-push protocol. initial release
|
2025-05-01 09:14:46 -06:00 |
|
|
|
604a447287
|
feat: add identify protocol example
|
2025-03-24 17:55:16 -06:00 |
|
|
|
9350caa65c
|
feat: Add observed addresses of remote peer using get_remote_address
|
2025-03-24 08:02:21 -06:00 |
|
|
|
798229cd3a
|
feat: add observed_addr to identify protocol
|
2025-03-24 08:02:21 -06:00 |
|
|
|
bd8bd953ec
|
feat: add agent version to identify protocol and improved tests
|
2025-03-24 08:02:21 -06:00 |
|
|
|
ddf68ee4e0
|
rebuild protobufs with protoc v30.1
|
2025-03-23 16:49:19 -06:00 |
|
|
|
d7eab27564
|
refactored and moved all interfaces to abc.py (#504)
* refactored : host_interface
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* refactored : network_interface
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* refactored : notifee_interface
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* refactored : net_connection_interface
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* refactored: raw_connection_interface, secure_conn_interface and stream_muxer abc.py
* refactored: addrbook_interface
* refactored :peerdata_interface
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* refactored :peermetadata_interface
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* refactored :multiselect_client_interface
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* refactored :multiselect_communicator_interface
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* refactored :multiselect_muxer_interface
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* refactored :interfaces
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* refactored :security_transport_interface
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* refactored :listener_interface
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* moved all interfaces and typing files
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
* fixed documentation and moved pubsub abc.py
Co-authored-by: Khwahish Patel <khwahish.p1@ahduni.edu.in>
* added exclude-members in custom_types docs
* added : newsfragment for moving all interfaces to libp2p.abc
---------
Co-authored-by: mystical-prog <jdgt.vd.0405@gmail.com>
Co-authored-by: Mystical <125946525+mystical-prog@users.noreply.github.com>
|
2025-02-21 16:01:45 -07:00 |
|
|
|
e7a9ee78a8
|
rename typing.py to custom_types.py for clarity
|
2025-02-02 07:18:52 -07:00 |
|
|
|
125df142f6
|
bump protobufs dep to >= 5.27.2 and rebuild protobufs definitions with protoc 27.2
|
2024-07-04 17:04:06 -06:00 |
|
|
|
c770a05d23
|
rebuild protobufs adding ECC_P256 to KeyType
|
2024-04-27 12:17:54 -06:00 |
|
|
|
ee4e9c4645
|
rename libp2p test dir and rebuild protobufs
|
2024-03-02 11:10:05 -07:00 |
|
|
|
94483714a3
|
run lint and fix errors, except mypy
|
2024-02-19 16:05:58 -07:00 |
|
|
|
c4f9ce6bb3
|
Handle StreamClosed in identify protocol handler
|
2019-11-16 16:56:58 +08:00 |
|
|
|
58f360167d
|
refactor creation of identify response to make testing easier
|
2019-11-07 08:05:39 -08:00 |
|
|
|
9a23609b48
|
type protocol IDs to satisfy mypy
|
2019-11-07 07:51:44 -08:00 |
|
|
|
0ca3e83540
|
lintroll
|
2019-11-06 11:41:28 -08:00 |
|
|
|
e0a94b6092
|
identify handler reads data on request from the host
|
2019-11-06 11:41:27 -08:00 |
|
|
|
8ab69b9676
|
fix medley of typos
|
2019-11-05 17:37:43 -08:00 |
|
|
|
01dc49164f
|
fix bug found via typechecker
|
2019-11-05 17:37:43 -08:00 |
|
|
|
08b57fa2ee
|
Add core handler for identify protocol
|
2019-11-05 17:37:42 -08:00 |
|