13

What exactly is being stored in the Tangle if I send a set of data to someone? Is the whole data stored in the Tangle or does the data just pass through the Tangle. Is it just like putting a bag in an empty train and someone at the next station opens the door and gets the bags out?

  • 1
    Do you ask if the data is stored permanently in the Tangle or just temporary? Sorry, it's difficult to fully understand your question. – Marcel M. Nov 30 '17 at 17:48
  • Yes that was may question – Vrom Nov 30 '17 at 17:49
  • Is the question better now? – Vrom Nov 30 '17 at 17:52
  • If you think your question is properly answered remember to accept an answer. This way other people know there is already answer to it. – Marcel M. Nov 30 '17 at 18:05
  • If that is what happens, the bags never leave the train, how could millions of people store massive amounts of data like videos on the tangle? It would soon reach exabyte levels. Permanodes would be like what, data centers? – Marcellvs Feb 24 '18 at 17:56
11

Your metaphor

putting luggage in an empty train and someone in the next station opens the door and gets the bags out

is actually quite accurate because that's basically whats happening. Except that nobody gets the bags out. Somebody just takes a look at the content of the bags. The bags stay in the train forever. Until a snapshot. Where everything in the train gets thrown out to make room for new luggage.

Sending via Tangle / Storing data in the Tangle

If you want to send data via the Tangle you are really storing data in the Tangle and somebody else is reading that data from the Tangle.

The Tangle only contains transactions.

Since there are only transactions within the Tangle you can only store your data inside of these transactions. (For more information about the structure of transactions take a look at this)
You put the data inside the signatureMessageFragment of a 0-value-tx (=transaction that sends 0 IOTAs). This is the same place where you would put the signature of a value-tx.

Example for storing data in the Tangle

For more information and a practical example you should definitely take a look at this question which was already asked in the IOTA StackExchange before. It was specifically about storing images within the Tangle

4

All the data will remain in the Tangle. If one could take out the dataset one could change the data and you will never know. By leaving it in the Tangle and distributing it you can always be sure you recieved the original data.

In an older blog post David Sønstebø stated:

Tangle — the permissionless distributed ledger of IOTA — solves this issue through guaranteeing data integrity by storing the data in a distributed and trustless fashion among the nodes in the network.

By leaving it in the Tangle and not removing it, it is also available to everyone. This way it can never get lost.

1

Addresses make up the composition of the tangle. When you send a transaction, whether its 0 IOTAs, 1000 IOTAs, has a tag, has data attached to it, everything you send gets stored at the address you send it to, and can be accessed there. Provided that the address has not been pruned in a snapshot, it is now permanently stored there in the tangle.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.