Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract duplicate implementation of InfoHash struct #360

Open
josecelano opened this issue Aug 4, 2023 · 1 comment
Open

Extract duplicate implementation of InfoHash struct #360

josecelano opened this issue Aug 4, 2023 · 1 comment
Assignees
Labels
- Developer - Torrust Improvement Experience Build | Project System Compiling and Packaging Code Cleanup / Refactoring Tidying and Making Neat
Milestone

Comments

@josecelano
Copy link
Member

josecelano commented Aug 4, 2023

Relates to:

We are duplicating code for:

pub struct InfoHash(pub [u8; 20]);

We should extract a common BitTorrent protocol crate for both the Tracker and the Index Backend.

@josecelano
Copy link
Member Author

Hi @da2ce7 I would like to do this. Which package could we include this mod in? bittorrent?

@cgbosse cgbosse modified the milestones: v3.0.0, v3.1.0 Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- Developer - Torrust Improvement Experience Build | Project System Compiling and Packaging Code Cleanup / Refactoring Tidying and Making Neat
Projects
Status: Maintenance
Development

No branches or pull requests

3 participants