BitStream: A Protocol For Atomic Data Exchange

BitStream: A Protocol For Atomic Data Exchange
фото показано с : bitcoinmagazine.com

2023-11-16 23:46

Atomically purchasing digital files with digital currency is an idea that has a long history in this space. Digital goods, digital money, the two seem like a perfect pairing together. Digital goods, i.e. information, are also massive markets. Think about all the video, audio, text, games, and other forms of digital content that people purchase and consume on a regular basis. These are markets worth billions and billions of dollars that people interact with on a daily basis.

Most of the serious attempts at implementing paid file sharing have gone down bad roads. Filecoin was an attempt to do this on top of IPFS, but ultimately the project is absurdly over engineered. BitTorrent (the company, not the protocol) was bought by Justin Sun and integrated its own cryptocurrency and blockchain. Both of these projects have effectively gone nowhere productive, with extremely overengineered systems on the technical side, and very dubious incentives on the economic side.

BitStream is a proposal by Robin Linus (ever consider slowing down and taking a break Robin?) to attempt to address the requirements of atomicly purchasing data without the pointless addition of altcoins and over engineered technical protocols for the exchange.

All files can be uniquely identified by a single hash, this is a very important detail in this scheme. Selling a file atomically requires encrypting the file using a function that allows the user to verify what is encrypted, and after having done so the user atomically purchases the encryption key for the file. The problem is the verification process, and more importantly proving if you were cheated and the file decrypts to incorrect data, is expensive. Naively done, you would need to produce the entire encrypted file and the decryption key so others could decrypt it and verify the decrypted data did not match the expected hash value when hashed.

File-sharing systems like BitTorrent frequently break files up into standard sized chunks and build a merkle tree out of them, which allows the root hash to function as a file identifier in a magnet link and to verify each individual chunk of a file you download is a valid piece of that file. This is a property that can be taken advantage of to drastically improve the efficiency of fraud proofs showing a file distributor cheated you.

The seller of the file can generate a random value and use this to encrypt each file chunk using a XOR operation against that random value. They can then sign an attestation of the encrypted file root hash and the hash of the encryption value. The encrypted file tree is set up in a special way to facilitate simple fraud proofs.

Instead of building the merkle tree out of just the normal file chunks, but encrypted, the tree creates pairs of leaves that consist of one encrypted file chunk and the hash of the unencrypted file chunk next to it. Now at this point the buyer can download the encrypted file, and after verifying by taking all of the hashes of the unencrypted chunks and creating a merkle tree from them to ensure they match the root hash of the unencrypted file, can atomically purchase the decryption value. This is accomplished by the seller using it as the preimage to an HTLC over the Lightning network or a chaumian ecash mint like Cashu which supports HTLCs.

If the file does not decrypt correctly, either because the encrypted data is a different file or the preimage is not the actual encryption key, the merkle path in the encrypted file tree to any two leaves can show the seller cheated the buyer. Providing just the path to any encrypted file chunk and its corresponding unencrypted chunk hash with the preimage the buyer purchased will prove definitively the seller did not provide the buyer with the file they claimed they were.

Any file seller using the BitStream protocol can deposit a bond that can be slashed with a fraud proof as designed above if they cheat a customer. This can be enforced by simply depositing a bond at a chaumian mint in the simplest case. Platforms like Liquid offer alternative methods of building a bond that can actually be enforced trustlessly with functionality like OP_CAT. Scripts could be constructed that actually take the BitStream fraud proof and validate it on the stack, allowing the creation of a UTXO that would be spendable by anyone who had a valid fraud proof. If OP_CAT ever became available on the mainchain, this could even be done completely trustlessly without needing a federated execution environment. 

BitStream is an incredibly promising protocol for atomically selling digital information with a very efficient scheme for proving fraud, no shitcoins required. 

origin »

Bitcoin price in Telegram @btc_price_every_hour

BlockMason Credit Protocol (BCPT) на Currencies.ru

$ 0 (+0.00%)
Объем 24H $0
Изменеия 24h: 0.00 %, 7d: 0.04 %
Cегодня L: $0 - H: $0
Капитализация $0 Rank 99999
Цена в час новости $ 0.0195725 (-100%)

protocol your sats exchanging atomically digital bitcoin

protocol your → Результатов: 126


Фото:

Huobi Token, Ravencoin and Snowfall Protocol (SNW) Are the Highest ROI Tokens – Market Experts Explains Why

Coinspeaker Huobi Token, Ravencoin and Snowfall Protocol (SNW) Are the Highest ROI Tokens – Market Experts Explains Why Do you want to make the most out of your investment? If so, Huobi Token (HT), Ravencoin (RVN), and Snowfall Protocol (SNW) are the tokens you should be looking at! Huobi Token, Ravencoin and Snowfall Protocol (SNW) Are the Highest ROI Tokens – Market Experts Explains Why

2022-10-27 15:42


Фото:

$STYLE Protocol, An Evolving Blockchain Deep Tech Startup Is Making 3D NFT Usage Feasible For A Low Price

Summary: The decentralized blockchain company $STYLE Protocol is bringing a new wave of utilization to your NFTs. Metaverse usability in 3D. Berlin, Germany / JULY 25, 2022 / $STYLE Protocol has reached its Q3 2022 stage, in which the developers of this open protocol will be preparing for a public launch of the protocol through […]

2022-7-27 01:47


Careful with Your Discord Server – It May Not Be as Secure as You Think

Origin Protocol’s co-founder Josh Fraser pointed out some of the popular platform’s vulnerabilities Ever since its founding in 2015 as a tool for connecting and communicating with other gamers, Discord has very quickly established itself as the de facto community communications platform of choice for blockchain- and crypto-based projects and businesses of every conceivable type.

2022-5-17 07:10


Apple will limit VoIP background data collection from WhatsApp, Snapchat et al in iOS 13

Apple is reportedly planning a new feature in iOS that will restrict apps from runing voice over Internet protocol (VoIP) processes in the background when the programs are not actively in use. The “small but significant change” — according to The Information — strikes at the heart of Facebook and other messaging apps, and could result in a fundamental rewiring of the applications on the platform.

2019-8-7 09:31


Фото:

How to Create and Airdrop Your Own Token to Your Friends

Roughly a year ago, the Simple Ledger Protocol (SLP) debuted on the Bitcoin Cash (BCH) network, giving anyone the ability to mint, store, receive, and send SLP tokens. Since then there’s been a ton of tokens created on the BCH network as the simplicity of the system outpaces tokens built on alternative chains like ERC20s […] The post How to Create and Airdrop Your Own Token to Your Friends appeared first on Bitcoin News.

2019-7-17 21:45


Ocean Protocol, Singapore’s sgCarMart to Introduce ‘Know Your Car’ Blockchain Data Marketplace

The vehicle industry is slowly adopting blockchain technology as more partnership crop in between the two industries. The latest partnership announced on Friday, July 5th, 2019 introduces the used car industry player sgCarMart to data protection and verification through a partnership with Ocean Protocol, a data exchange protocol built on a blockchain. Singapore reports 9,000 […]

2019-7-8 21:08


Фото:

Out of Testnet and Into Alpha: Lightning Labs’ Desktop Application Is Live

Lightning Labs just released an alpha version of its Lightning Network wallet. The desktop application is now compatible with Bitcoin’s mainnet and it leverages Neutrino (the protocol, not the analytics company acquired by Coinbase) to give users a lightweight option to “control their own funds,” as opposed to running a full node or trusting a third party to play custodian.

2019-4-24 01:38