Files
py-libp2p/newsfragments
Mystical 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
..
2025-05-15 13:49:02 -06:00
2023-10-04 13:32:07 -06:00
2023-10-04 13:32:07 -06:00

This directory collects "newsfragments": short files that each contain a snippet of ReST-formatted text that will be added to the next release notes. This should be a description of aspects of the change (if any) that are relevant to users. (This contrasts with the commit message and PR description, which are a description of the change as relevant to people working on the code itself.)

Each file should be named like <ISSUE>.<TYPE>.rst, where <ISSUE> is an issue number, and <TYPE> is one of:

  • breaking
  • bugfix
  • deprecation
  • docs
  • feature
  • internal
  • misc
  • performance
  • removal

So for example: 123.feature.rst, 456.bugfix.rst

If the PR fixes an issue, use that number here. If there is no issue, then open up the PR first and use the PR number for the newsfragment.

Note that the towncrier tool will automatically reflow your text, so don't try to do any fancy formatting. Run towncrier build --draft to get a preview of what the release notes entry will look like in the final release notes.