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

Advertising BitTorrent content on the Codex Network [proposal] #1

Closed
2 tasks done
marcinczenko opened this issue Jan 14, 2025 · 2 comments
Closed
2 tasks done
Assignees
Labels
BitTorrent-Codex documentation Improvements or additions to documentation

Comments

@marcinczenko
Copy link
Collaborator

marcinczenko commented Jan 14, 2025

In How BitTorrent-Codex integration may look like we capture some basic intuitions on how to bridge the two networks so that the BitTorrent content can be brought down to the Codex network.

This is issue is to deep dive and further elaborate on the issue, which should give us better intuition on how to proceed with extending the BitTorrent client.

The finding will be documented in the docs (this repo).

What do finish with that one:

  • investigate and document BitTorrent v1 and v2 torrents
  • draft the plan on if/how can we advertise BitTorrent content directly on the Codex network
@marcinczenko
Copy link
Collaborator Author

I am working on a couple of representative examples of how BitTorrent builds up the trees and torrent files. I wanted to have a couple of them to have better grip of what level of information is directly retrievable from the torrent files. For all cases I included both v1 and v2 build up. In particular, I wanted to have more grip on how they do padding while building up the content. All examples are real, I reproducible.

BitTorrent v2 exchange protocol adds 3 new peer messages: hash request, hashes, and hash reject to help the nodes in validating the three with partial information. It would be nice to have some exchange examples from the actual exchange, the spec alone is a bit superficial on how exactly it works. Now that I captured this, I can think a little bit what I see. I also planned our sync-up meeting. I planned it just after the research call, which I assumed you may like to attend. If any other time/day feels more appropriate, let me know...

Here are some drawings (you should be able to zoom in nicely to see the details).

https://link.excalidraw.com/readonly/c9z3gLsV1qkTSQJUxEXk

@marcinczenko
Copy link
Collaborator Author

More docs added on direct advertising BitTorrent content on Codex. Entry point: https://publish.obsidian.md/bittorrent/10+Notes/Advertising+BitTorrent+content+on+Codex.

@marcinczenko marcinczenko changed the title Seeding BitTorrent content on the Codex Network Seeding BitTorrent content on the Codex Network [documentation] Feb 13, 2025
@marcinczenko marcinczenko changed the title Seeding BitTorrent content on the Codex Network [documentation] Advertising BitTorrent content on the Codex Network [proposal] Feb 13, 2025
@marcinczenko marcinczenko self-assigned this Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BitTorrent-Codex documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant