Understanding Directed Acyclic Graphs in the Blockchain Landscape

Published at: Aug. 13, 2020

The more time you spend in the blockchain and cryptocurrency industry, the more you encounter some fairly arcane technologies and their accompanying terminologies. Blockchain technology, which started out as a simple immutable record composed of blocks of data, is constantly evolving. Although the broader tech world operates similarly, the blockchain and crypto sector moves at a much more rapid pace.

We are all racing to create the fastest, most efficient protocol or scalable and resilient app, and must build and improvise along the way. In such a competitive atmosphere, these races force innovation. When scalability is limited, alternative technologies must be developed. With things moving so quickly in this space, it’s easy to get lost in a sea of acronyms and abbreviations. As a result, I thought it might be helpful to offer an explainer regarding DLTs, DAGs and more.

Firstly, let’s distinguish between “blockchain” and “distributed ledger technology.” A common misconception is that blockchain technology and distributed ledger technology are the same. For the purposes of this article, we’ll keep it simple and establish that blockchain and distributed ledger technology, or DLT, are not interchangeable terms. Distributed ledger technology is defined as a digital system for recording the transaction of assets in which the transactions and their details are recorded in multiple places at the same time. Blockchain stands for a shared, immutable ledger for recording transactions, tracking assets and building trust.

Both blockchains and DLTs share similar characteristics and refer to a record of information that’s distributed across a network, but each come with their own defining features:

“Put simply, the public aspect of blockchains generally implies three interrelated things: 1) Anyone can use the blockchain, 2) anyone can serve as a validating node of the blockchain, and 3) anyone who becomes a node can, in turn, act as part of that blockchain's governance mechanism. In theory, this makes blockchains decentralized and democratic structures resistant to undue control or influence from any single party.

By contrast, a distributed ledger generally doesn't enable any or most of these public features.”

Let’s talk about directed acyclic graphs, or DAGs. A DAG protocol is an alternative to the traditional blockchain and can be categorized as a distributed ledger technology. A number of protocols like Conflux, Hedera Hashgraph, IOTA and Nano, along with smaller startup projects like IoT Chain and Obyte use DAG-based structures. Many see DAG technology as the next evolution of blockchain as it can help resolve speed and scalability issues and offer lower transaction costs.

DAG-based protocols mainly differ in how transactions are added to a network. Unlike blockchain technology, individual DAG transactions are linked to one another directly rather than joined together in blocks and processed. Since this structure can reference many “blocks” at one time, the transactions per second, or TPS, rate is much higher than that of a standard blockchain. Bitcoin’s TPS varies somewhere between four to seven, Ethereum sits at 30, and centralized legacy services like Visa support throughput rates of about 1,000 TPS. Today, some DAG-based protocols can handle a TPS rate into the several thousands.

DAG-based structures also provide a more energy-efficient block sequencing algorithm for proof-of-work that eliminates the discarding of forked blocks — a key differentiator from traditional blockchain technology. When no blocks are discarded, it means there is no wasted computing power, resulting in lower transaction costs. All of this can be achieved using a DAG-based structure without changing core storage or consensus mechanisms and compromising security.

Every network has its own valid reasons to run a particular consensus mechanism. Some networks use proof-of-stake or new transactions to validate previous ones without the use of miners. PoS consumes significantly less energy than PoW, but still has many unknowns surrounding security and game theoretics that will take time to fully uncover and address.

DAG protocols are built as novel structures that could potentially support immensely scalable ecosystems. IOTA runs the Tangle, Hedera’s is called Hashgraph, Conflux has its Tree Graph, and so on. There are slight differences between each project’s protocol and design choices.

A similarity between Conflux’s Tree Graph and IOTA’s Tangle is the use of two previous blocks or transactions on the graph as the parents of a new one. However, the Tree Graph is run in a decentralized manner on each node, while Tangle currently uses a centralized “coordinator” to provide finality for transactions. Hedera’s Hashgraph orders blocks based on the median propagation time of a gossip network. A difference between all three is that Hedera and IOTA use PoS or something similar in block generation, while Conflux uses PoW.

Clearly, there is no standard approach or official guideline when it comes to blockchain development. It’s up to each team behind a protocol to determine what particular consensus mechanism should be used for the specific application.

As blockchain and cryptocurrency developers work toward creating technologies that address the existing speed, scalability and cost issues, DAGs present an encouraging approach. When you look toward the future, it’s important to keep this in mind: At the moment, Bitcoin (BTC) processes about five transactions per second. DAG-based systems can process tens of thousands of transactions per second. As we continue moving toward mass adoption, directed acyclic graphs certainly show some promise in addressing the nagging issue of scalability.

The views, thoughts and opinions expressed here are the author’s alone and do not necessarily reflect or represent the views and opinions of Cointelegraph.

Eden Dhaliwal, the global managing director at Conflux Network, is spearheading Conflux Network’s global expansion. With 14 years of experience in emerging tech, Eden is an industry leader in discovering, incubating and investing in the next generation of the internet. Eden holds an MBA from the Rotman School of Management at the University of Toronto, and received a bachelor of science in mathematics from University of Manitoba.

Tags
Dlt
Related Posts
Crypto project brings apps and smart contracts to Bitcoin
A blockchain project says it makes Bitcoin programmable in a way that it hasn’t been before — enabling apps and smart contracts to be brought to the network. Stacks (formerly known as Blockstack) aims to position BTC as the foundation for a better internet that’s owned by users. Those behind this ecosystem argue that the internet is broken, with tech giants dominating the landscape. Stacks is a Layer 1 blockchain that uses Bitcoin’s infrastructure as a secure base layer. Smart contracts and apps can be enabled with little modification, with “minimal transaction load” on the network. Underpinning how scalable Stacks …
Blockchain / Jan. 14, 2021
Gaming Industry Use of Blockchain May Lead to Mass Adoption
Blockchain technology has recently become a phenomenon in various areas of the economy, driving innovation, fostering growth and bringing added value. Among the most noteworthy of these sectors is the gaming industry. Gaming is a use case that drives true adoption of blockchain technology by taking the incentive for the user from pure speculation to transactions on a blockchain platform. This drives innovation in development as well as consumer adoption. The first true blockchain gaming application was Cryptokitties. While the platform itself is a technology demonstrator for collectible items, it quickly rose to prominence as the application representing the majority …
Adoption / July 26, 2020
Proof-of-Stake or Proof-of-Work, That Is the Question
Bitcoin (BTC) is the largest decentralized digital currency in the world, with an estimated market capitalization of around $169 billion. In the nearly 12 years since the publication of Satoshi Nakamoto’s famous white paper in 2008, Bitcoin has become the most well-known example of a cryptocurrency, and it is responsible for sparking the blockchain revolution. More than half a million peer-to-peer transactions have been recorded on the Bitcoin blockchain, a public and verifiable distributed ledger. The network’s proof-of-work consensus algorithm confirms transactions and produces new blocks without needing a third party. Bitcoin is a revolutionary technology, but the network's massive …
Blockchain / May 8, 2020
The Steem Takeover and the Coming Proof-of-Stake Crisis
The Steem blockchain reportedly experienced a troubling episode recently, whereby the blockchain’s entire governance system was disturbed. Tron founder Justin Sun, new owner of the Steemit social network based on the Steem token, appears to have successfully executed a takeover of Steem by leveraging not only tokens directly controlled, but also tokens held on several major exchanges, in order to vote out the previous delegates (Steem uses a delegated proof-of-stake system) and install new ones. This means that customers of these exchanges likely had their funds used without their consent in this blockchain power struggle. While it was an unfortunate …
Blockchain / March 6, 2020
Inside the blockchain developer’s mind: Proof-of-stake blockchain consensus
Cointelegraph is following the development of an entirely new blockchain from inception to mainnet and beyond through its series Inside the Blockchain Developer’s Mind. In previous parts, Andrew Levine of Koinos Group discussed some of the challenges the team has faced since identifying the key issues they intend to solve and outlined three of the “crises” that are holding back blockchain adoption: upgradeability, scalability and governance. This series is focused on the consensus algorithm: Part 1 is about proof-of-work, Part 2 is about proof-of-stake and Part 3 is about proof-of-burn. This article is the second in my series about consensus …
Technology / Dec. 12, 2021