|
|
604a447287
|
feat: add identify protocol example
|
2025-03-24 17:55:16 -06:00 |
|
|
|
51c7d53453
|
test: add test_complete_remote_address_delegation_chain
|
2025-03-24 08:02:21 -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 |
|
|
|
dc903460dc
|
fix some imports
|
2025-03-24 07:59:35 -06:00 |
|
|
|
df72979606
|
moved factories to tests
|
2025-03-24 07:59:35 -06:00 |
|
|
|
b2a6294cfa
|
feat(host): add get_live_peers() to track connection state
|
2025-03-23 15:01:18 -06:00 |
|
|
|
f6279c23ac
|
added : demos to test ci
|
2025-03-23 14:46:24 -06:00 |
|
|
|
c86f3d0467
|
added dedicated test file and moved timed_cache to tools
|
2025-03-17 09:27:13 -06:00 |
|
|
|
e5f3e88134
|
added : timed_cache sub-module
|
2025-03-17 09:27:13 -06:00 |
|
|
|
ea85067beb
|
check other cases and add test_rsa.py
|
2025-03-16 07:02:53 -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 |
|
|
|
8787613e91
|
run lint with pyupgrade at py39-plus
|
2025-01-25 15:48:39 -07:00 |
|
|
|
e0814c9860
|
move interop tests tools into tests folder
|
2025-01-25 15:28:32 -07:00 |
|
|
|
460db3dce8
|
merge template, fill vars, lint
|
2025-01-25 14:43:45 -07:00 |
|
|
|
f02d03844a
|
refactored from unit_test to pytest
|
2024-11-24 14:39:29 -07:00 |
|
|
|
f957e310d6
|
refactored add_addrs in peerdata and added test_peerdata.py
|
2024-11-24 14:39:29 -07:00 |
|
|
|
b478e72fac
|
removed print and commented statements
|
2024-11-21 11:51:19 -07:00 |
|
|
|
de2c06ec65
|
updated test name
|
2024-11-21 11:51:19 -07:00 |
|
|
|
17575f4a38
|
added test for connected peers
|
2024-11-21 11:51:19 -07:00 |
|
|
|
a10b8fdb91
|
added msg dropping test
|
2024-11-15 15:16:19 +07:00 |
|
|
|
1ab689a1e2
|
added ping_service tests
|
2024-10-29 14:05:01 -06:00 |
|
|
|
7495039a29
|
fixed failed tests due to RaisesGroup
|
2024-10-29 08:07:10 -06:00 |
|
|
|
a3f8db3ecd
|
async-exit-stack was for pre-py37, just import from contextlib now
|
2024-05-27 12:40:23 -06:00 |
|
|
|
d9b92635c1
|
drop async-service dep and copy relevant code into a local async_service
tool, updated for modern handling of ExceptionGroup
|
2024-05-27 12:14:36 -06:00 |
|
|
|
d8d0f05a88
|
update default docs and release process, drop bumpversion for
bump-my-version
|
2024-05-21 14:01:08 -06:00 |
|
|
|
eea065fb57
|
reorg test structure to match tox and CI jobs, drop bumpversion for bump-my-version and move config to pyproject.toml, fix docs building
|
2024-04-20 09:18:26 -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 |
|
|
|
42605c0288
|
merge template updates and refill vars
|
2024-02-19 14:49:30 -07:00 |
|
|
|
608a0a954b
|
Update test_import_and_version.py
clean up test_import_and_version
|
2024-01-09 14:36:12 -07:00 |
|
|
|
4ac9e87166
|
Update test_import_and_version.py
clean up test_import_and_version
|
2024-01-09 14:35:27 -07:00 |
|
|
|
e342fe7624
|
add version to import test
|
2024-01-09 12:07:08 -07:00 |
|
|
|
431db89753
|
template cleanup following initial merge with py-evm (#80)
* template cleanup following initial merge with py-evm
* add flake8 pin comment
* correct license years
* add pin note to mypy
|
2023-05-01 15:19:14 -06:00 |
|
|
|
080f8edc8e
|
Use trio.lowlevel instead of trio.hazmat
Since trio 0.15.0, hazmat has been deprecated.
trio-typing and mypy are bumped to support newer trio and each other.
|
2021-02-23 22:02:34 +07:00 |
|
|
|
ef666267bd
|
Allow Pubsub creator to supply a custom msg_id
|
2020-02-28 08:25:03 -08:00 |
|
|
|
13e8f496a7
|
Noise: add noise option in the factories and tests
|
2020-02-28 15:50:01 +08:00 |
|
|
|
ea645f0bd6
|
Copied read/write from secio
|
2020-02-28 15:49:58 +08:00 |
|
|
|
d0290d2b5a
|
Noise: complete handshake process
TODO
- Figure out why `state.rs` is erased at some moment(even handshake
is not done).
- Refactor
- Add tests
|
2020-02-28 15:49:56 +08:00 |
|
|
|
8a4ebd4cbb
|
Support read/write of noise msg and payload
|
2020-02-28 15:49:56 +08:00 |
|
|
|
0324a69841
|
Noise: add PatternXX
|
2020-02-09 00:33:26 +08:00 |
|
|
|
23ece34157
|
test_noise_connection: fix missing nursery
|
2020-02-07 18:17:15 +08:00 |
|
|
|
897e66b7e1
|
Add the skeletons of noise transport and conn
|
2020-02-07 17:47:50 +08:00 |
|
|
|
ddbedc6c15
|
Pubsub: handle_talk
- Change from async function to sync
- Change the name to `notify_subscriptions`, which is clearer.
|
2020-02-05 21:44:33 +08:00 |
|
|
|
7f8c0f11f6
|
Pubsub: change channel size
To `32` to conform to the go implementation.
|
2020-02-05 21:30:26 +08:00 |
|
|
|
ba0fb8a833
|
Fix: use pass over ...(Ellipse)
Use `...`(Ellipse) only in abstract methods.
|
2020-02-05 20:36:42 +08:00 |
|
|
|
1fff6ad6b4
|
Mplex: change message channel size to 8
To avoid infinity sized channel, and to conform to the go
implementation.
|
2020-02-05 20:31:18 +08:00 |
|
|
|
1e7d5c73ee
|
test_mplex_stream: refactor
|
2020-02-05 17:25:39 +08:00 |
|