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

feat: BitTorrent v2 Support #91

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

leoherzog
Copy link
Contributor

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[ ] Bug fix
[X] New feature
[ ] Other, please explain:

What changes did you make? (Give an overview)
Added support for decoding and encoding of infoHashV2 key for BitTorrent v2 Support.

Which issue (if any) does this pull request address?
#88

Is there anything you'd like reviewers to focus on?
I need a hand updating the tests. I'm not familiar with tape, and I suspect that there are at least a couple of assumptions made in testing that each Torrent object should always must have an infoHash key. The new assumption is a valid object can have an infoHash key, or an infoHashV2 key, or both.

@welcome
Copy link

welcome bot commented May 12, 2021

🙌 Thanks for opening this pull request! You're awesome.

index.js Show resolved Hide resolved
@DiegoRBaquero
Copy link
Member

The assumption is valid, it should have either v1 or v2, or both.

@DiegoRBaquero DiegoRBaquero changed the title Initial Stab at BitTorrent v2 Support feat: BitTorrent v2 Support Aug 11, 2021
@leoherzog
Copy link
Contributor Author

Hey reviewers. What's left to be done to advance this PR?

@feross @DiegoRBaquero

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants