IOTA Tutorial 14 | Message and Tag

IOTA Tutorial

Message and Tag

In this video series different topics will be explained which will help you to understand IOTA. It is recommended to watch each video sequentially as I may refer to certain IOTA topics explained earlier.

The transaction object tag field is used to search transactions for a specific tag value. The tag is used in all transactions within the transaction bundle. If a transaction is reattached, the new created transaction will have the same tag. Use the Tangle explorer https://thetangle.org and search for a tag. Not all Tangle explorers can search old tags. The above mentioned Tangle explorer stores the full Tangle history.

The transaction object tag field always contains 27 trytes (A-Z9). Spaces in the tag are now allowed. You can not use a Tangle explorer to search transactions for a specific message. You can only search for a specific tag.

In case of a value transaction:

In the transaction that spend IOTA where the value is negative, the signature is stored in the signatureMessageFragment field. Subsequent transactions where the value == 0, the signatureMessageFragment fields are part of the signature. Value transaction example, the signature is fragmented and stored in two transactions.

In case of a data transaction:

A zero value transaction is created and the message is stored in the signatureMessageFragment field. Subsequent transactions where the value == 0, the signatureMessageFragment fields are part of the message.

In case of a value + data transaction:

In the transaction that sends IOTA to a recipient where the value is greater than 0, the message is stored in the signatureMessageFragment field. Subsequent transactions where the value == 0, the signatureMessageFragment fields are part of the message.

In the transaction that spend IOTA where the value is negative, the signature is stored in the signatureMessageFragment field. Subsequent transactions where the value == 0, the signatureMessageFragment fields are part of the signature.

If the signatureMessageFragment is empty the field contains all 9’s. If the signature or message is longer than 2187 trytes, the signature or message are fragmented and stored over multiple transactions in the transaction bundle.

The signatureMessageFragment field can only store tryte values. The message stored in the signatureMessageFragment field is not encrypted. Just like a value transaction, a data transaction can be confirmed by the Tangle network. If you create a data transaction and you want to prove that this data exists on the Tangle or that there are no other conflicting data, than make sure this transaction is confirmed.

A snapshot is designed to reduce the size of the Tangle to reduce memory burden on nodes. When full nodes applies snapshots they only store the final account balances. Meta data such as tags and messages are deleted. A permanode is a node that stores the entire Tangle history permanently and securely. Permanodes don’t apply snapshots. The Tangle explorer https://thetangle.org is a “permanode” but the transactions are only searchable thru their website. In the future permanodes will be available and probably they be incentivised by pay per query.

 

You might also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More

Did you know?

Buy in without the stress of trying to time the market

when you setup a savings plan. If you haven’t started a plan yet, head to your Bitpanda account to get started!

Purchasing cryptocurrencies comes with a number of risks.
Never invest money that you can't afford to lose.

You can automatically invest

in IOTA with Bitpanda Savings!