How DAG is different from blockchain and why is it better?

Paymon
Paymon
Sep 1, 2018 · 2 min read

As you must know, Paymon’s main products — Paymon Platform and Hive — will be based on DAG, or Directed Acyclic Graph. However, not everybody has an idea about how it differs from blockchain, or even what DAG is.

Let’s try to make it clear. First of all, we need to refresh our knowledge and make sure we understand the definitions.

What’s blockchain?

Blockchain (a chain of blocks) is a distributed database, in which storage devices are not connected to a shared server. This database maintains an ever-growing list of ordered records called blocks. Each block contains a timestamp and a link to the previous block.

Simply put, blockchain is a continuous chain of blocks, containing information built according to certain rules. Blockchain is like a perpetual digital journal of economic transactions, which can be programmed to record not only financial transactions, but also almost everything that has value.

And what is DAG?

DAG (directed acyclic graph) is a directed graph with no directed cycles, that uses a topological ordering. The sequence can only go from earlier to later. DAG is often used in scheduling, data processing, finding the best route in navigation, and data compression.

So what’s the difference?

Blockchain implies the presence of a distributed database, containing information about all transactions in the form of chain of blocks, protected from revision and tampering. In the case of DAG, a different mechanism is used: each new transaction confirms one or several previous transactions, resulting in a structure that is inherently a directed graph without cycles. In DAG, each transaction refers to the previous (parent), signing their hashes and including them in its composition. Thus, a “tree” of transactions is formed, where each of them is confirmed and unchanged.

The advantages of DAG technology and DAG-based cryptocurrency

Increased speed

The main problem with blockchain today is slow transaction speed: sometimes it takes hours or even days to be completed. The reason for this is that the block of transactions is a large data structure, the processing of which takes quite a long time.

On the contrary, cryptocurrencies without blockchain benefit in speed, since the primary element of their functioning is a separate transaction.

For instance, the bitcoin transaction speed reaches approximately 4-7 transactions per second. Even though there are blockchain-based altcoins, which speed is up to 1000 transactions per second, DAG-based cryptocurrency is capable of hundreds of thousands of transactions per second. This is certainly more promising, for example, for e-commerce and other niches.

Increased reliability

The mechanism of multiple transaction confirmation in cryptocurrencies based on DAG allows to increase the reliability of payments and reduce the likelihood of “double spending”. In cryptocurrencies without blockchain, it is achieved through direct and indirect confirmations.

That’s why we prefer DAG to blockchain: Paymon needs to be as up to date as possible. For today, there are few cryptocurrencies that exist and work efficiently on DAG, and we want to become better then them in the nearest future.

Written by

Paymon

Great changes are coming, and you are a part of it 😉 Download Paymon! https://paymon.org/

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade