Durabit: Incentivizing Torrent Seeding With Bitcoin

2023-11-15 20:32

BitTorrent has been around for 22 years as of this year. In many ways it is a technology protocol almost as big as Bitcoin in the scope of how it changed the game of moving data around the internet. If Bitcoin is the money for sending money around when people don’t you doing so, BitTorrent is the mechanism for moving data around when they don’t want you to. It’s always had a big problem though, one I’m sure anyone who has ever used it is quite familiar with. The seeding problem.

How many of you, upon completing the download of a file, have immediately closed out your torrent client and didn’t leave it seeding after you had the complete file? Everyone has done it. BitTorrent doesn’t function without users staying online and seeding a file for others to download, which most users do not do for very long after attaining the complete file. This works whenever a file is in very high demand, people seed the sections of the file they have as they download, they disappear when they’re finished, but in the meantime other people come online and start downloading, and they also seed as they download. It works as long as the group going through that churn is large, but if it isn’t torrents tend to fade away and become unavailable as people stop seeding.

This presents a problem for the longevity of individual torrents. It is a great protocol for getting a piece of data circulating while it is in high demand, but after that demand fades that data tends to become unavailable as people stop seeding it. Durabit is a recent proposal to attempt to address this issue. The scheme is relatively simple, but seems like it would provide a solid incentive mechanism for people to keep seeding a file.

The system depends on a chaumian ecash mint to facilitate the incentive mechanism for file seeders. A third party who wishes to ensure a file stays available enters into a contractual arrangement with the ecash mint, taking the form of a series of timelocked pre-signed transactions. Each transaction is timelocked in intervals of two weeks, and pays out a small amount each time to the chaumian ecash mint. Each payout is a timelocked UTXO that cannot be spent until the next transaction becomes valid, with the remainder of the funds always going back to an address controlled by whoever issued these transactions, with the next transaction in the chain spending this change output.

The first transaction in the series commits to a specific torrent magnet link in an OP_RETURN output to associate the contract with the file the issuer wants to incentivize seeding. After the mint has these pre-signed transactions in its possession, it submits the first transaction to the chain and begins monitoring the torrent swarm for the specified magnet link. From here the mint listens for any torrent clients that also run a Durabit client to reach out to it. If any Durabit client pings the mint from the same IP address as someone it sees seeding in the torrent swarm, it maintains that connection out of band.

From here the mint watches and tracks seeders that have registered with it. During the course of the two week period before its most recent payout becomes spendable, the mint issues chaumian ecash tokens to each registered seeder for keeping the data available. A mint can do this proportionally to the amount of data seeded, or can randomize token issuances in a lottery amongst the seeders it has registered. Once its payout output becomes spendable, it can announce this and open a redemption window to payout the actual bitcoin in exchange for chaumian tokens it has issued during that seeding epoch. This cycle continues for as long as the series of pre-signed transactions lasts. The overall total amount of bitcoin contributed to the contract, and the amounts paid out each period, are entirely up to the issuer of the contract.

I’m sure most of you are thinking “what stops the chaumian mint from simply just collecting these payouts and not distributing a portion of them to the people seeding the torrent?” This is the beauty of the proposal: purely incentives. Each transaction pays out a small amount of funds to the chaumian mint in a timelocked output, and spends the rest back to the issuer of the contract. At any time the party that issued this contract can effectively revoke it by double-spending that output, invalidating the rest of the pre-signed transactions from that point forward. The mint, being aware of this, has to weigh the potential loss of all future income derived from any individual contract by collecting the agreed upon percentage of each payout for itself against the potential gain of keeping an entire payout while losing that percentage fee for all future payouts.

The issuer on the other hand was initially motivated to issue the contract in the first place because of a desire to keep a specific file available by incentivizing people to seed it. If they truly want that file to stay available, it is in their best interest to not revoke any contract they have issued unless the mint fulfilling it is acting dishonestly. This arrangement aligns the incentives properly so that it should be in the best interest of the mint to monitor the torrent swarm and distribute funds honestly to seeders, and it is in the best interest of the issuer of the contract to not double-spend it and revoke it so long as the mint continues operating honestly.

The proposal looks at the problem of actually auditing honesty, both in terms of the mint auditing seeders it is distributing tokens and payouts to, and the issuer of the contract auditing the mint. In the case of a mint auditing a seeder, they can select random chunks of the torrent file to download periodically. This should provide a decent assurance that any individual seeder is actually in possession of and serving the file to other users. In the case of the issuer auditing the mint, indirectly monitoring the torrent swarm should provide a good enough basis to assess the mint's honesty. Once a contract has begun, and the mint has started issuing payouts, the swarm should establish a baseline of traffic proportional to the economic incentive the contract provides. If at any time the issuer notices a large decrease in swarm traffic, that is a pretty good indicator that the mint is not processing distributions honestly and the contract should be revoked.

Neither of these are foolproof, especially in the case of the mint auditing the torrent seeders, but they should be good enough. At the end of the day if a seeder is essentially just grabbing data from other seeders to respond to challenges from the mint, in order for them to do that the data does need to be available enough for them to grab any random chunk the mint challenges them to produce. So in such an instance, while actors may be able to dishonestly collect payouts from the mint without hosting and serving the file, if the file is not actually available they would be incapable of gaming the system in that way. I don’t believe this is a fatal flaw, as the overall goal of ensuring the files availability is still met.

Overall Durabit is a very simple system facilitated by a trusted party in the form of the chaumian mint, but I think that simplicity is its strength. The amount of funds ever available for a mint to abscond with maliciously is minimal, and if such an event were to occur the issuer of the contract can simply revoke the existing one and re-issue it with another mint. I think it provides a very simple and elegant solution to the incentive problem of keeping files seeded using BitTorrent even during huge drops in demand from users. 

Similar to Notcoin - Blum - Airdrops In 2024

origin »

Bitcoin (BTC) на Currencies.ru

$ 95406.79 (-0.07%)
Объем 24H $68.453b
Изменеия 24h: 0.17 %, 7d: 1.65 %
Cегодня L: $93967.9 - H: $96238.42
Капитализация $1888.154b Rank 1
Цена в час новости $ 37015.45 (157.75%)

bitcoin ecash create economic mints seed users

bitcoin ecash → Результатов: 24


Фото:

Crypto Pioneer David Chaum Says His New Blockchain Beats Bitcoin

eCash creator and pioneering cryptographer David Chaum unveiled his Elixxir cryptocurrency September 19 following two years of behind-the-scenes development. Targeting Consumer Scale Speaking at the Consensus Singapore conference, Chaum said his latest project addressed the shortcomings in speed which currently prevent bonafide blockchain-based assets such as Bitcoin scaling quickly.

2018-9-20 20:00


Фото:

The Genesis Files: With Bit Gold, Szabo Was Inches Away From Inventing Bitcoin

As his Hungarian parents had fled post-war Soviet regime to settle in the United States, Nick Szabo came to call the Californian Bay area of the 1990s his home. Here, he was among the first to frequent the in-person “Cypherpunk” meetings organized by Timothy May, Eric Hughes and other founding members of the collective of cryptographers, programmers and privacy activists centered around the ’90s mailing list of the same name.

2018-7-13 17:16