lbry.com/posts/bounty/bittorrent-support.md
2016-08-12 13:19:59 -04:00

27 lines
No EOL
904 B
Markdown

---
category: daemon
title: Add Support for BitTorrent
award: 4000
status: available
date: '2016-07-01'
---
Add support for the BitTorrent protocol to [`lbry`](https://github.com/lbry).
The LBRY blockchain supports storing metadata about media content. A simplified, sample entry looks like:
```
title: "What is LBRY?",
language: "en",
description: "What is LBRY? An introduction with Alex Tabarrok",
author: "Samuel Bryan",
sources: {
lbry_sd_hash : "d5169241150022f996fa7cd6a9a1c421937276a3275eb912790bd07ba7aec1fac5fd45431d226b8fb402691e79aeb24b"
}
```
The `sources` field is designed to be extended and support resolution to multiple protocols. To complete this the LBRY daemon must be modified to:
- Support the BitTorrent protocol via `python-libtorrent` or similar.
- Read `btih` as a source key and use this key to access the data via BitTorrent when requested
- Probably a lot more stuff!