|
|
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 |
|
|
|
8787613e91
|
run lint with pyupgrade at py39-plus
|
2025-01-25 15:48:39 -07:00 |
|
|
|
94483714a3
|
run lint and fix errors, except mypy
|
2024-02-19 16:05:58 -07:00 |
|
|
|
0548d28568
|
Fix: StreamReset in the stream handlers
Since we don't catch `Exception` in the stream handlers, catch them in
the stream handlers in the tests.
|
2020-02-04 20:46:40 +08:00 |
|
|
|
ce5663705f
|
Merge branch 'master' into feature/porting-to-trio
|
2019-12-24 02:19:43 +08:00 |
|
|
|
fb0519129d
|
Refine Mplex.close and SwarmConn.close
Ensure `close` cleans up things and cancel the service finally.
|
2019-12-17 15:50:55 +08:00 |
|
|
|
1929f307fb
|
Fix all modules except for security
|
2019-12-06 17:06:37 +08:00 |
|
|
|
82dcce214a
|
Remove kademlia module (#377)
* Remove kademlia and routing/kademlia
* cleanup
* Fix routed_host test
* lint mypy
* fix doc
* remove set_up_nodes_by_transport_and_disc_opt and fix typing
|
2019-12-06 14:14:33 +08:00 |
|
|
|
bdbb7b2394
|
Add RoutedHostFactory
And skip the tests for `RoutedHost` for now, since there are too many to
be fixed in `Kademlia`, and it's not that necessary now.
|
2019-12-01 19:17:44 +08:00 |
|
|
|
31bf774a16
|
Fix tests in protocol_muxer and libp2p
|
2019-12-01 17:43:14 +08:00 |
|
|
|
79fcdf3a02
|
Update tests in test_tcp.py
Besides, run `make format`
|
2019-12-01 16:26:16 +08:00 |
|
|
|
ec43c25b45
|
Rewrite factories, made some of the test running
|
2019-11-26 19:24:30 +08:00 |
|
|
|
a397ccdc04
|
makes test_mplex_stream.py::test_mplex_stream_read_write work
|
2019-11-26 15:27:06 +08:00 |
|
|
|
41ff884eef
|
rewrite tcp reader/writer interface
|
2019-11-26 15:27:05 +08:00 |
|
|
|
bcd7890124
|
Move test utilities to tools (#356)
* move test factories to libp2p/tools
* remove unused inits
* move pubsub test utils to tools
* cleanup test_interop
* fix typing libp2p/tools/utils
* add typing to pubsub utils
* fix factories typing
* fix typing for floodsub_integration_test_settings
* fix rest of the typing
* fix isort
|
2019-11-21 11:47:54 +08:00 |
|