refactor(gossipsub.py): Add helper function to fanout and gossipsub (#678)

* fanout and gossibsub helper

* add newsfragment

* remove dub fanout check
This commit is contained in:
guha-rahul
2025-06-16 18:53:31 +05:30
committed by GitHub
parent 0caf8647c5
commit 733ef86e62
2 changed files with 85 additions and 67 deletions

View File

@ -0,0 +1 @@
Refactored gossipsub heartbeat logic to use a single helper method `_handle_topic_heartbeat` that handles both fanout and gossip heartbeats.