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.

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.

4 participants