Skip to content

feat: Add python peer implementation with TCP transport and GossipSub#251

Closed
sumanjeet0012 wants to merge 8 commits intolibp2p:mainfrom
sumanjeet0012:feat/libp2p-peer-base
Closed

feat: Add python peer implementation with TCP transport and GossipSub#251
sumanjeet0012 wants to merge 8 commits intolibp2p:mainfrom
sumanjeet0012:feat/libp2p-peer-base

Conversation

@sumanjeet0012
Copy link
Copy Markdown

@sumanjeet0012 sumanjeet0012 commented Mar 24, 2025

Description

This PR adds a python peer implementation to the universal connectivity app.

Features

  1. TCP transport protocol support
  2. GossipSub protocol for message publishing/subscription

Dave Grantham and others added 8 commits February 27, 2025 13:50
Signed-off-by: Dave Grantham <dwg@linuxprogrammer.org>
- Add setup.py with project metadata
- Create basic package structure
- Set up initial configuration
- Add config.py with PeerConfig class
- Implement argument parsing
- Add basic logging configuration
- Add network/host.py for libp2p host creation
- Implement peer discovery in network/discovery.py
- Add connection management utilities
- Add pubsub/gossipsub.py for GossipSub protocol
- Implement pubsub/pubsub.py for message handling
- Add topic subscription management
- Add peer.py with main Peer implementation
- Implement peer lifecycle management
- Add message handling and routing
- Add utils/logging.py for structured logging
- Implement helper functions in utils/helpers.py
- Add configuration utilities
- Implement main.py with CLI interface
- Add command line argument handling
@sumanjeet0012 sumanjeet0012 marked this pull request as draft March 24, 2025 22:02
@dhuseby
Copy link
Copy Markdown
Collaborator

dhuseby commented Aug 28, 2025

@sumanjeet0012 will you close this PR and resubmit one that will merge the code into the py-peer-development branch?

you can use gh pr create --base py-peer-development ... to create a pr that will merge into the correct branch.

@sumanjeet0012
Copy link
Copy Markdown
Author

@dhuseby This PR is being closed in favor of PR #294, which is functioning as expected and is based on the py-peer-development branch.

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.

2 participants