Skip to content

Conversation

SuchitraSwain
Copy link

@SuchitraSwain SuchitraSwain commented Sep 17, 2025

What was wrong?

Issue #

How was it fixed?

Summary of approach.

🔍 Technical Details
The FloodSub publishing flow works as follows:

  • User calls pubsub.publish(topic, data)
  • Message creation: Creates a rpc_pb2.Message with data, topic, sequence number, and signature
  • Validation: Passes through push_msg() which validates the message
  • Routing: Calls router.publish() which floods the message to all peers subscribed to the topic
  • Delivery: Messages are delivered to subscribers

To-Do

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

Cute Animal Picture

image

@SuchitraSwain
Copy link
Author

@seetadev The FloodSub publishing functionality is already working correctly in py-libp2p. The examples and documentation I created demonstrate this functionality and provide guidance for users who want to use FloodSub.

@seetadev
Copy link
Contributor

@SuchitraSwain : HI Suchitra, wish if you could resolve the merge conflicts.

Re-ran the CI/Cd pipeline. Waiting for the test results.

@SuchitraSwain
Copy link
Author

@seetadev please Re-ran the CI/Cd pipeline.

@bomanaps
Copy link
Contributor

Can you add me to this branch?

@seetadev
Copy link
Contributor

@bomanaps and @SuchitraSwain : Lets resolve the CI/CD issues that are failing.

For the kad-dht issue, we investigated it and documented it at #949 .

@yashksaini-coder , @sumanjeet0012 and @acul71 are fixing it. We will soon have the kad-dht test issue resolved.

@seetadev
Copy link
Contributor

@bomanaps and @SuchitraSwain : Please resolve the other CI/Cd issues in the meantime.

@seetadev
Copy link
Contributor

@bomanaps and @SuchitraSwain : Please resolve the other CI/Cd issues in the meantime. Kindly take help from @acul71, @Winter-Soren and @sumanjeet0012. They are working on gossipsub/floodsub stack.

@yashksaini-coder
Copy link
Contributor

@seetadev @SuchitraSwain I'm working on resolving the CI/CD failures

@seetadev seetadev changed the title Added flooding publishing Add Floodsub module in py-libp2p Sep 24, 2025
@seetadev seetadev changed the title Add Floodsub module in py-libp2p Add Floods publishing in py-libp2p Sep 24, 2025
@seetadev seetadev mentioned this pull request Sep 24, 2025
3 tasks
@seetadev seetadev changed the title Add Floods publishing in py-libp2p Add flood publishing in py-libp2p Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants