Commit Graph

17 Commits

Author SHA1 Message Date
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
25b35dee1a fixed lint 2024-10-29 14:05:01 -06:00
cd810d26c2 added PingService 2024-10-29 14:05:01 -06:00
94483714a3 run lint and fix errors, except mypy 2024-02-19 16:05:58 -07:00
5da102d1c9 Ping protocol: move with statement out of try 2020-02-04 15:09:42 +08:00
1929f307fb Fix all modules except for security 2019-12-06 17:06:37 +08:00
eb494e8682 Fix ping protocol 2019-12-01 19:17:32 +08:00
cbe57cd5d7 Fix lint 2019-11-16 16:56:59 +08:00
86e0fa4563 Handle StreamClosed in ping protocol handler 2019-11-16 16:56:59 +08:00
9a23609b48 type protocol IDs to satisfy mypy 2019-11-07 07:51:44 -08:00
c30d9ce397 Fix linter error from merge in #315. 2019-11-05 17:50:43 -08:00
1cf239cce6 Respect a remote close during the ping protocol 2019-10-24 19:44:52 +09:00
e157c3f654 typing fixes 2019-10-24 18:10:56 +09:00
f24b488f79 handle other side closing their end of the connection during ping 2019-10-24 18:10:56 +09:00
4a800e5c56 Add first-pass at ping protocol 2019-10-24 18:10:55 +09:00