Commit Graph

1851 Commits

Author SHA1 Message Date
4a53fc3111 Direct Peers : Gossipsub V1.1 (#594)
* added basic structure for direct peers

* added direct connect heartbeat

* added logic to reject GRAFT from direct peers

* added invocation of direct_connect_heartbeat

* updated _get_peers_to_send to include direct peers

* fixed failing gossipsub core and demo tests

* fixed failing test_examples.py

* add tests for peer management

* fix lint

* update tests

* fixed direct_peers type and peer_records test

* fixed failing gossipsub direct peers test

* added reject graft test

* updated reconnection test

* added newsfragment

* improved reject graft test

* updated default value for direct peers

* renamed direct_connect_init_delay parameter

* reverted back to direct_connect_initial_delay param name

---------

Co-authored-by: Khwahish Patel <khwahish.p1@ahduni.edu.in>
2025-05-20 07:31:57 -06:00
5b40e2551d doc: fix discord server link (#609)
* fix-discord-server-link
2025-05-16 10:38:49 -06:00
d34d6df1c5 Update 586.bugfix.rst
Remove extra `
2025-05-15 13:49:02 -06:00
eba4805a76 Add news fragment 2025-05-15 13:49:02 -06:00
e56974078a Fix exception handling 2025-05-15 13:49:02 -06:00
745458cdff Reduce logging level to debug in TCPListener.listen() 2025-05-15 13:49:02 -06:00
bb21af7694 Adds exception handling in TCPListener.listen() 2025-05-15 13:49:02 -06:00
e076a038bc Bump version: 0.2.5 → 0.2.6 2025-05-12 13:46:14 -06:00
ede850d943 Compile release notes for v0.2.6 2025-05-12 13:45:35 -06:00
9798db3932 fix towncrier config and correct links in release_notes 2025-05-12 13:22:12 -06:00
0430ad397f doc: fix broken newsfragment link in contributing 2025-05-11 16:57:14 -06:00
dc2f77ccbd Fix check-rst-files hook to work cross-platform 2025-05-09 19:21:42 -06:00
6064c96563 feat(autonat): add make targets for autonat protobuf generation and formatting 2025-05-09 17:31:15 -06:00
05d89cb20e added all and docs dependencies in tox.ini for testenv:docs 2025-05-09 17:31:15 -06:00
171b2a26e3 removed grpcio dependency from setup.py 2025-05-09 17:31:15 -06:00
e9674d2bca refractored Peer_Info to PeerInfo as imports 2025-05-09 17:31:15 -06:00
99238403dd added logger in test file and added dependency in tox.ini 2025-05-09 17:31:15 -06:00
04da30b7fe refractor: remove suppress warning in conf.py 2025-05-09 17:31:15 -06:00
8d98e93c27 refractor: remove suppress warning in conf.py 2025-05-09 17:31:15 -06:00
d55c57769f Refactor: changed PeerInfo to Peer_Info in autonat.proto to avoid conflicts 2025-05-09 17:31:15 -06:00
627c2cfe8e removed unused imports from conf.py 2025-05-09 17:31:15 -06:00
317eaeda93 fix: add grpcio dependency to extras_require and install_requires 2025-05-09 17:31:15 -06:00
244cc0c42a refactor: update documentation structure for libp2p.host and autonat packages 2025-05-09 17:31:15 -06:00
1bed3304c7 fixed autonat file for pre-commit hook issues 2025-05-09 17:31:15 -06:00
86dce72ae0 fix: regenerate protobuf files to match runtime version 2025-05-09 17:31:15 -06:00
1730999e38 fixed pre commit hook issues in autonat 2025-05-09 17:31:15 -06:00
9655c88788 feat/561-added autonat service 2025-05-09 17:31:15 -06:00
fd893afba6 delete old interop, turn on with placeholders, add py312 and py313 to CI testing 2025-05-08 13:30:00 -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
1213710af3 lint: resolved lint issues 2025-05-01 09:14:46 -06:00
e928e6a8cd Refactor: Update test_identify_push.py removing duplicated import 2025-05-01 09:14:46 -06:00
5a05ca0124 Update identify_push_listener_dialer.py debug config lint 2025-05-01 09:14:46 -06:00
95a9bf6c53 Update identify_push_demo.py for double print and debug msgs 2025-05-01 09:14:46 -06:00
c40a1476ac Update docs/examples.identify_push.rst
Co-authored-by: Paul Robinson <5199899+pacrob@users.noreply.github.com>
2025-05-01 09:14:46 -06:00
35905909b5 Update docs/examples.identify_push.rst
Co-authored-by: Paul Robinson <5199899+pacrob@users.noreply.github.com>
2025-05-01 09:14:46 -06:00
6850907a32 Update docs/examples.identify_push.rst
Co-authored-by: Paul Robinson <5199899+pacrob@users.noreply.github.com>
2025-05-01 09:14:46 -06:00
c9dd7b381a Update docs/examples.identify_push.rst
Co-authored-by: Paul Robinson <5199899+pacrob@users.noreply.github.com>
2025-05-01 09:14:46 -06:00
91beff5e63 fix: added identify push to setup.py 2025-05-01 09:14:46 -06:00
e752629212 fix: fixing test_examples.py failing test 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
b47f978625 bump protobuf dep to >=6.30.1 2025-04-28 19:04:29 -06:00
c416acc4bf chore: add or force update .github/workflows/generated-pr.yml 2025-04-25 05:56:13 -06:00
fcc5b662c9 chore: add or force update .github/workflows/stale.yml 2025-04-25 05:56:13 -06:00
ded8b2d765 Doc: expanding the introduction section (#566) 2025-04-23 19:33:54 -06:00
6054fd7f92 Merge pull request #574 from acul71/fix/issue-565-timedcache-test_reading_after_expiry
Fix/issue 565 timed cache test reading after expiry
2025-04-20 23:00:29 +05:30
e0a08c9a2b fix: test_timed_cache.py::test_readding_after_expiry 2025-04-20 17:11:29 +02:00
0225d188c8 Bump version: 0.2.4 → 0.2.5 2025-04-14 11:12:26 -06:00
f664d03852 Compile release notes for v0.2.5 2025-04-14 11:11:38 -06:00