Pages:
Author

Topic: Blockchain-based torrent tracker? (Read 4797 times)

newbie
Activity: 1
Merit: 0
January 07, 2023, 10:49:16 AM
#31
So I have built one, I'am using couchbase p2p to distribute an encrypted nosql database that can be shared even over bluetooth and all torrent files are stored in the couchbase attachments so its not even magnet link based but you can distribute those essential torrent files. The webtorrent protocol is used to scale to platforms such as ios and web where no torrent client is available as of yet.

join me at starpy dot me
legendary
Activity: 1708
Merit: 1020
February 01, 2013, 10:46:06 AM
#30
combine with this: https://bitcointalksearch.org/topic/m.1495784  and you have a decentralized facebook kind of thing
legendary
Activity: 1078
Merit: 1005
February 01, 2013, 04:48:50 AM
#29
Each Nym could have however many links fit into allowed data size (and historic linkages using name_history), and Nyms get reputation rating with upvoting via namecoin sendtoname function. Any user could command control if as many reputable Nyms they like.
Right, that's the approach I've been suggesting. I think it should work.
legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
February 01, 2013, 02:10:24 AM
#28

Code:
namecoind name_new fs/somecoolmovie

Code:
namecoind name_firstupdate fs/somecoolmovie ''
The problem with using the filename/title as the namecoin key is people will squat them, or set them to fake values.

Hmm, yeah you're right about that ... so maybe have the user put there PseudoNym in the name field so it can gain trusted-rep for posting authentic links and have one of the fields in value describe the file content in human-recognizable, searchable form?

Code:
namecoind name_new fs/filesharedude

Code:
namecoind name_firstupdate fs/filesharedude '{.... "vd": "some_cool_video" ... "ad":"some_cool_audio" ...}'

(plus map to hash value/link)

Each Nym could have however many links fit into allowed data size (and historic linkages using name_history), and Nyms get reputation rating with upvoting via namecoin sendtoname function. Any user could command control if as many reputable Nyms they like.
legendary
Activity: 1078
Merit: 1005
February 01, 2013, 01:16:43 AM
#27

Code:
namecoind name_new fs/somecoolmovie

Code:
namecoind name_firstupdate fs/somecoolmovie ''
The problem with using the filename/title as the namecoin key is people will squat them, or set them to fake values.
legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
February 01, 2013, 12:53:33 AM
#26
Quote
This does seem to indicate however that namecoin isn't needed for storing information since the DHT already has it. Maybe the namecoin provides the "unique identity that can be followed to provide files I'm interested in" aspect.

Namecoin can provide the unique ID look-up to the DHT and the sendtoname facilities that are the most crucial and subject to censhorship ...

this is a great idea and application for namecoin btw.

Edit: also suggest use general namespace id "fs" (fileshare)
e.g.
Code:
namecoind name_new fs/somecoolmovie

Code:
namecoind name_firstupdate fs/somecoolmovie ''

and etc.
legendary
Activity: 1078
Merit: 1005
January 30, 2013, 06:04:39 PM
#25
a website? I thought the whole point was doing it without a website. what about a beautiful command line tool? or a simple gui app?
Yeah, command line tool/gui would be good. A website with a read only view would be good for initial uptake though for those not wanting to install namecoin just to see what it's all about.
newbie
Activity: 25
Merit: 0
January 30, 2013, 12:12:06 PM
#24
Isn't this the kind of thing namecoin should work well for?

-MarkM-


Given that the blockchain is compatible with btc it is not a question which one could but which one should. Great idea if you ask me but I can see a lot of hate coming from purists vetoing use of btc blockchain for storage - makes sense. With that in mind it'd be really cool to see someone try this with namecoin chain or testnet.
legendary
Activity: 1708
Merit: 1020
January 30, 2013, 09:10:16 AM
#23
I've created a "btm/testing" name for testing. It should show in about block 93985 where you can see it the magnet links it has posted with:
Code:
namecoind name_history btm/testing

You can list the "btm/" namespace with:
Code:
namecoind name_filter "^btm/.+"
hehe I got it.

You have set up something like a youtube channel.

That is quite short- magnet links for example, for movies at popular torrent sites however are many times longer then that. I'd post here an example except for obvious reasons. :-)
As I test I found a long magnet link from a movie site. I took just the hash from that link (the string of hex digits after '?xt=urn:btih:') and searched for that in the DHT network via btdigg.org. This pulled up the correct file information, including a shorter magnet link (without the 'tr' tracker links). This seems to imply that just requiring the hash is fine. I did the same for searching for the archlinux iso (hash e940a7a57294e4c98f62514b32611e38181b6cae) and it came up.

This does seem to indicate however that namecoin isn't needed for storing information since the DHT already has it. Maybe the namecoin provides the "unique identity that can be followed to provide files I'm interested in" aspect.

I didn't know about BTdigg, indeed that sounds like the've already solved the question we were asking. Although perhaps the namecoin blockchain- being merge mined with Bitcoin is more robust?

saw this for the first time, too. also there are other websites that do store plenty of illegal stuff and somehow manage to stay online.

one advantage I see with this besides being totally nerdy is that you can build some reputation for your "channel".


sr. member
Activity: 399
Merit: 250
January 30, 2013, 08:27:35 AM
#22
legendary
Activity: 1204
Merit: 1002
RUM AND CARROTS: A PIRATE LIFE FOR ME
January 30, 2013, 07:49:31 AM
#21
That is quite short- magnet links for example, for movies at popular torrent sites however are many times longer then that. I'd post here an example except for obvious reasons. :-)
As I test I found a long magnet link from a movie site. I took just the hash from that link (the string of hex digits after '?xt=urn:btih:') and searched for that in the DHT network via btdigg.org. This pulled up the correct file information, including a shorter magnet link (without the 'tr' tracker links). This seems to imply that just requiring the hash is fine. I did the same for searching for the archlinux iso (hash e940a7a57294e4c98f62514b32611e38181b6cae) and it came up.

This does seem to indicate however that namecoin isn't needed for storing information since the DHT already has it. Maybe the namecoin provides the "unique identity that can be followed to provide files I'm interested in" aspect.

I didn't know about BTdigg, indeed that sounds like the've already solved the question we were asking. Although perhaps the namecoin blockchain- being merge mined with Bitcoin is more robust?

legendary
Activity: 1078
Merit: 1005
January 30, 2013, 07:27:47 AM
#20
That is quite short- magnet links for example, for movies at popular torrent sites however are many times longer then that. I'd post here an example except for obvious reasons. :-)
As I test I found a long magnet link from a movie site. I took just the hash from that link (the string of hex digits after '?xt=urn:btih:') and searched for that in the DHT network via btdigg.org. This pulled up the correct file information, including a shorter magnet link (without the 'tr' tracker links). This seems to imply that just requiring the hash is fine. I did the same for searching for the archlinux iso (hash e940a7a57294e4c98f62514b32611e38181b6cae) and it came up.

This does seem to indicate however that namecoin isn't needed for storing information since the DHT already has it. Maybe the namecoin provides the "unique identity that can be followed to provide files I'm interested in" aspect.
legendary
Activity: 1204
Merit: 1002
RUM AND CARROTS: A PIRATE LIFE FOR ME
January 30, 2013, 07:08:00 AM
#19
interesting, how would the tracker work in this case? Considering how long magnet links are?
Can you give an example of a long link? Here's an example of the archlinux distro:

Code:
magnet:?xt=urn:btih:e940a7a57294e4c98f62514b32611e38181b6cae&dn=archlinux-2013.01.04-dual.iso&tr=udp://tracker.archlinux.org:6969&tr=http://tracker.archlinux.org:6969/announce

This is 176 characters. Are the "tr" keys actually needed?

Edit: The only mandatory parameter= required is the 'xt' according to BEP 009. So magnet links can be quite short. A website can scan namecoin for the magnet links then retrieve the metadata via the Bittorrent DHT. I still think it might be good to include metadata in namecoind though to make searching faster/easier. Something like:

Code:
{"hash":"btih:e940a7a57294e4c98f62514b32611e38181b6cae","description":"archlinux-2013.01.04 iso","tags":["linux","iso"]}

That is quite short- magnet links for example, for movies at popular torrent sites however are many times longer then that. I'd post here an example except for obvious reasons. :-)
legendary
Activity: 1078
Merit: 1005
January 30, 2013, 06:54:07 AM
#18
interesting, how would the tracker work in this case? Considering how long magnet links are?
Can you give an example of a long link? Here's an example of the archlinux distro:

Code:
magnet:?xt=urn:btih:e940a7a57294e4c98f62514b32611e38181b6cae&dn=archlinux-2013.01.04-dual.iso&tr=udp://tracker.archlinux.org:6969&tr=http://tracker.archlinux.org:6969/announce

This is 176 characters. Are the "tr" keys actually needed?

Edit: The only mandatory parameter= required is the 'xt' according to BEP 009. So magnet links can be quite short. A website can scan namecoin for the magnet links then retrieve the metadata via the Bittorrent DHT. I still think it might be good to include metadata in namecoind though to make searching faster/easier. Something like:

Code:
{"hash":"btih:e940a7a57294e4c98f62514b32611e38181b6cae","description":"archlinux-2013.01.04 iso","tags":["linux","iso"]}
legendary
Activity: 1204
Merit: 1002
RUM AND CARROTS: A PIRATE LIFE FOR ME
January 30, 2013, 06:47:17 AM
#17
I've created a "btm/testing" name for testing. It should show in about block 93985 where you can see it the magnet links it has posted with:
Code:
namecoind name_history btm/testing

You can list the "btm/" namespace with:
Code:
namecoind name_filter "^btm/.+"

Now there needs to be a website that scans that namespace, does a name history on the names, and provides it in a pretty format.

interesting, how would the tracker work in this case? Considering how long magnet links are?
legendary
Activity: 1078
Merit: 1005
January 30, 2013, 06:25:17 AM
#16
I've created a "btm/testing" name for testing. It should show in about block 93985 where you can see it the magnet links it has posted with:
Code:
namecoind name_history btm/testing

You can list the "btm/" namespace with:
Code:
namecoind name_filter "^btm/.+"

Now there needs to be a website that scans that namespace, does a name history on the names, and provides it in a pretty format.
legendary
Activity: 1204
Merit: 1002
RUM AND CARROTS: A PIRATE LIFE FOR ME
January 30, 2013, 06:21:50 AM
#15
not quite sure yet but my gut says the second variant is more likely to succeed

I would keep it simple, though, and start with one protocol per namespace. btm/satoshi : {bit torrent magnet}

>Maybe an option to add an address to the value for users to send namecoins to as a means of voting.
no need for that, you can simply use sendtoname for a tip
Good point about 'sendtoname'. Using a separate protocol per namespace is also a good idea. Given magnet url's have a "dn" key for giving the full name I'm wondering if it's even worth having JSON as the value. Just having the magnet link gives all that's needed.

aaaand we're done. with namecoin everything is a peace of cake.  Cheesy

If it were not for hen and egg...


edit: I guess the length limit of 520 characters might be an issue with magnet links. maybe we should finally fix this bug to at least have a 1000 characters available.

What about base128 encoding?

Or splitting the tracker over multiple payments?
legendary
Activity: 1708
Merit: 1020
January 30, 2013, 04:18:58 AM
#14
not quite sure yet but my gut says the second variant is more likely to succeed

I would keep it simple, though, and start with one protocol per namespace. btm/satoshi : {bit torrent magnet}

>Maybe an option to add an address to the value for users to send namecoins to as a means of voting.
no need for that, you can simply use sendtoname for a tip
Good point about 'sendtoname'. Using a separate protocol per namespace is also a good idea. Given magnet url's have a "dn" key for giving the full name I'm wondering if it's even worth having JSON as the value. Just having the magnet link gives all that's needed.

aaaand we're done. with namecoin everything is a peace of cake.  Cheesy

If it were not for hen and egg...


edit: I guess the length limit of 520 characters might be an issue with magnet links. maybe we should finally fix this bug to at least have a 1000 characters available.
legendary
Activity: 1078
Merit: 1005
January 30, 2013, 04:13:39 AM
#13
not quite sure yet but my gut says the second variant is more likely to succeed

I would keep it simple, though, and start with one protocol per namespace. btm/satoshi : {bit torrent magnet}

>Maybe an option to add an address to the value for users to send namecoins to as a means of voting.
no need for that, you can simply use sendtoname for a tip
Good point about 'sendtoname'. Using a separate protocol per namespace is also a good idea. Given magnet url's have a "dn" key for giving the full name I'm wondering if it's even worth having JSON as the value. Just having the magnet link gives all that's needed.
legendary
Activity: 1708
Merit: 1020
January 30, 2013, 04:01:00 AM
#12
not quite sure yet but my gut says the second variant is more likely to succeed

I would keep it simple, though, and start with one protocol per namespace. btm/satoshi : {bit torrent magnet}

>Maybe an option to add an address to the value for users to send namecoins to as a means of voting.
no need for that, you can simply use sendtoname for a tip


length of the value field is currently limited to 520 characters because of a bug in name_update. It is planned to increase the possible value length to 9000bytes or so.





Pages:
Jump to: