Revise IROH migration design document to reflect updated implementation order

- Adjusted the implementation order based on feedback from Iroh founders, prioritizing endpoint migration and pairing protocol development.
- Clarified the steps for transitioning from libp2p to Iroh, emphasizing the importance of establishing a functional endpoint before proceeding with other protocols.
- Enhanced the documentation to provide a clearer roadmap for the migration process, ensuring better alignment with project goals and user needs.
This commit is contained in:
Jamie Pine
2025-07-09 20:55:29 -07:00
parent b6f94c5b36
commit a25fb968fa

View File

@@ -181,12 +181,24 @@ pub struct NetworkingConfig {
- Test coverage: Maintain >80%
- User feedback: Improved reliability scores
## Implementation Order
## Implementation Order (per Iroh founder feedback)
1. **Core Module**: Replace NetworkingService with Iroh
2. **Protocols**: Update pairing, file transfer, messaging
3. **Tests**: Update all integration tests
4. **Documentation**: Update networking docs
1. **Endpoint Migration** (Priority 1)
- Replace libp2p Swarm with iroh::Endpoint
- This is the foundation - get this working first
2. **Pairing Protocol as Custom Iroh Protocol** (Priority 2)
- Express the full pairing flow as an Iroh protocol
- This will exercise the entire Iroh API surface area
- Once this works, everything else is downhill
3. **Remaining Protocols**
- File transfer (straightforward after pairing works)
- Messaging (simple stream-based)
4. **Tests & Documentation**
- Update integration tests
- Update networking docs
## Conclusion