Cointime

Download App
iOS & Android

What Is the Blockchain Trilemma?

TL;DR

Blockchains can only handle a limited number of transactions per second. The Bitcoin network, for example, can process around seven transactions per second. If blockchain technology is to be adopted globally, it should be able to handle much more data, and at faster speeds, so that more people can use the network without it becoming too slow or expensive to use. However, the fundamental design of many decentralized networks means that increasing scalability tends to weaken decentralization or security. This is what’s known as the blockchain trilemma. Developers looking to solve this problem are experimenting with different consensus mechanisms and scalability solutions, such as sharding, sidechains, and state channels.

Introduction

In basic terms, a blockchain is a distributed digital database. Blocks of data are organized in chronological order. The blocks are linked and secured by cryptographic proofs. The implementation of this technology across different industries is already changing how we work and live. 

The idea is that decentralized and secure blockchains allow for a world where we don’t need to rely on third parties for networks or markets to function. However, experts generally agree that if this tech is to be more widely adopted there’s a core problem that needs solving. The problem in question is known as the “blockchain trilemma”.

This term was popularized by Ethereum co-founder Vitalik Buterin. For it to make sense, you need to be aware of three different elements that are desirable in a blockchain: decentralization, security, and scalability. The blockchain trilemma refers to the idea that it’s hard for blockchains to achieve optimal levels of all three properties simultaneously. Increasing one usually leads to a weakening of another.

This article will examine all three elements in the trilemma and explain what each one is in more detail. Discussing each in more depth, and how they fit together, will result in a better understanding of how and why the blockchain trilemma exists. This article will also highlight some of the solutions that have been suggested by developers.

What is decentralization?

Bitcoin and similar blockchain networks are decentralized by design. The whole structure is such that there is no one person or organization in charge. Rather, it is decentralized. The network layer is open to anyone who wants to participate. As a result, control is fully distributed rather than held by one single entity. Everyone has access to the same data. If anyone tries to cheat the system by changing the records in their favor, then the rest of the participants will reject the faulty data.

This can get quite technical, but let’s take the Bitcoin network as an example. There is no third party in control. Compare this with the need for banks in the financial system. The banks enforce trust between people transacting, and ensure all records are kept correctly. The Bitcoin blockchain, however, shares all that data with everyone on the network, so that it can be checked and confirmed, before being added to the digital database. The result is a system that can exist without the need for third parties.

Decentralization offers the possibility of what is known as Web3. Right now we have Web2 — the internet of today. It’s full of sites and apps controlled by companies, but featuring content made by the users. Web3 is the next step. An internet where decentralized blockchain tech lets people control their own data and online lives. 

One thing to note, however, is that because of how these distributed systems work — with a need for a wide range of participants to agree on the validity of any data — transaction times can be slow due to the way information needs to be shared and processed. And so, blockchains need to scale, which is to say be capable of handling more data at faster speeds. We’ll come back to this point when discussing scalability.

Additionally, the decentralized dream only holds if the underlying blockchains are secure. If a blockchain lacks security, then a bad actor can take control and change the data in their favor. This leads to the second part of the trilemma: security.

What is blockchain security?

It doesn’t matter how decentralized a blockchain is if it lacks security. A good blockchain network should be resistant to attacks from malicious entities. Centralized systems derive their security from the fact that the system is closed. Whoever is in control can guarantee the data is free from interference. But how is this achieved in a decentralized system where anyone can take part?

It’s a complicated topic, but we can return to Bitcoin as an example of decentralized blockchain security. The Bitcoin blockchain uses a combination of cryptography and a network consensus mechanism called Proof of Work (PoW). In terms of cryptography, each block has a kind of digital signature (or hash). Each block of data is connected in a way that can’t be tampered with because any changes would alter a block’s hash. Any attempt to change the data would be quickly identified by the rest of the network.

The PoW consensus mechanism is another part of the puzzle. It helps secure the cryptocurrency’s ledger. Understanding Proof of Work is a whole article in itself, but for our purposes, note that members of the network can only verify new transactions and add them to the ledger through an activity known as mining. This involves using computational power to solve a mathematical puzzle. Part of the process requires these computers to perform numerous hashing functions. This plays into the issue of scalability, as the PoW mechanism is secure but relatively slow.

Also note that the more participants (nodes) there are in the network, the more secure it is. The greater the number of parties, the harder it becomes for one bad actor to take control of the system. This relates to what is known as the 51% attack. As an overview: if a single entity (or group of bad actors) can control more than 50% of a blockchain’s total network hashing rate, then they would be able to override consensus and change the chain’s data to benefit themselves, such as double spending tokens. 

In short, security is a fundamental requirement for a blockchain to be successful because, without it, attackers can take control of the chain, rendering it useless.

What is scalability?

Scalability refers to the goal of building a blockchain that can support more and more transactions per second. Scale is required if blockchain tech is to serve wider society and possibly billions of users. But this is where a lot of blockchains still struggle. 

This is because decentralization and security are so fundamental to blockchain that they tend to be focused on first. Decentralization is so central to the ethos and goals of blockchain that it lies at the very heart of most recognized blockchains. Security, as we’ve discussed, is a core requirement for a blockchain to be successful and useful.

However, by prioritizing decentralization and security, scalability becomes a challenge. The number of transactions a chain can handle can be severely limited. A centralized payment system such as Visa states that it’s able to support 24,000 transactions per second. This is because the network is closed, and free from considerations such as public nodes and consensus. Compare this with some of the best-known blockchains. 

According to Bloomberg in 2022: “As of September, Bitcoin was unable to handle more than seven transactions per second and Ethereum, the second-most popular network, was limited to about 15 per second — a lifetime compared to conventional exchanges.”

As mentioned, these blockchain transaction speeds are limited due to the way the information needs to be processed by the different participants that make up the decentralized network, and the nature of the PoW consensus mechanism itself. If more and more people in society begin to use blockchain technology, the networks will become jammed due to the limited number of transactions they can handle.

Why the blockchain trilemma exists

The most obvious and basic solution to the problem outlined above is to reduce the number of participants confirming and adding to the network data in exchange for greater scale and speed. But doing so would lead to a weakening of decentralization with control handed to a smaller number of participants. And it would also lead to a weakening of security as fewer players means a higher chance of attacks.

So here lies the trilemma: given the connection between the desired properties of decentralization and security, the fundamental design of how blockchain works makes it hard to scale. Increase one, and you weaken another. How do you push scalability without damaging decentralization, security, or both? 

Solving the blockchain trilemma

There is no one golden solution to the trilemma. But given the importance of solving this problem, there have been a number of different approaches within the community with interesting results. Let’s run through an overview of some of the most popular developments to give you an understanding of what’s happening in the space:

1. Sharding

This is a method of splitting blockchains (or other types of databases) into smaller, partitioned blockchains that manage specific data segments. This setup takes the stress off a single chain dealing with all transactions and interactions on a network. Each partitioned blockchain is known as a shard and has its specific ledger. These shards can then process their own transactions, but a beacon blockchain or main chain manages interactions between shards. This makes sharding a Layer 1 network scalability upgrade, as it’s a change to the mainnet of a blockchain.

2. Different consensus mechanism

One of the reasons the trilemma exists in the Bitcoin network is because of the way PoW works to ensure security. The need for miners, crypto algorithms, and huge amounts of decentralized computing power leads to a secure system, but a slow one. Finding a different way to secure consensus is one approach to solving the trilemma. This was one of the reasons behind Ethereum's move from PoW to Proof of Stake (PoS).

In PoS blockchains, participants involved in validating transactions must stake (lock) their tokens. There’s no need for highly specialized mining machines. Adding more validators to the network is simpler and more accessible. PoS is just one of many different approaches to consensus mechanisms with scalability in mind. 

3. Layer-2 solutions

Both sharding and different consensus mechanisms are what are known as Layer-1 solutions. They look to change the fundamental design of the underlying network. But other developers seeking to solve the trilemma have been working on solutions that build on top of an existing network structure. In other words, they think the answer lies in a second layer, or Layer 2. Examples of this include sidechains and state channels.

A sidechain is basically a separate blockchain connected to the main chain. It’s set up in a way that assets can flow freely between the two. Importantly, the sidechain can operate under different rules, allowing for greater speed and scale. Similarly, state channels are another way of taking transactions off the main chain and easing pressure on Layer 1. A state channel uses a smart contract, rather than a separate chain, to enable users to interact with each other without publishing their transactions to the blockchain. The blockchain only records the start and end of the channel.

Closing thoughts

The scalability trilemma stands in the way of blockchain fulfilling its potential as a technology to change the world. If blockchain networks can only handle a small number of transactions per second in order to maintain decentralization and security, then it will be difficult to reach mass adoption. However, the solutions currently put forward by developers seeking to solve this problem suggest that the technological advances already made by blockchain will only continue, and these networks may well be able to handle much more data in the future.

https://www.binance.com/en-AU/feed/post/43090

Comments

All Comments

Recommended for you

  • Trump: Details of US-Iran Agreement to Be Released After Signing on 19th

    On June 16, during the G7 summit in Évian-les-Bains, France, U.S. President Trump stated that the details of the US-Iran agreement will be made public after its official signing on the 19th. (Xinhua News Agency)

  • Iranian Foreign Minister Announces Memorandum Signing on June 19

    On June 15, Iranian Foreign Minister Amir-Abdollahian stated that a meeting between the heads of the Iranian and American negotiating delegations is expected to take place in Switzerland on June 19, during which a memorandum of understanding between Iran and the United States will be signed, followed by the first round of subsequent negotiations. (CCTV International News)

  • U.S. Senior Officials: U.S. and Iran Sign Memorandum of Understanding

    On June 16, a senior U.S. official stated that the United States has signed a memorandum of understanding with Iran. U.S. President Trump and Vice President Pence signed the memorandum, and the Speaker of the Iranian Islamic Consultative Assembly also signed the document. The official also mentioned that the agreement stipulates the immediate opening of the Strait of Hormuz and the lifting of U.S. sanctions on Iran. Traffic in the strait will significantly increase starting immediately.

  • BTC Surpasses $67,000

    Market data shows that BTC has surpassed $67,000, currently priced at $67,197.47, with a 24-hour increase of 4.94%. The market is highly volatile, so please ensure proper risk management.

  • Musk's Wealth Reaches $1.2 Trillion as SpaceX Surpasses TSMC in Valuation

    On June 15, according to the latest global billionaire rankings released by Forbes, Elon Musk, the head of Tesla and SpaceX, has seen his personal wealth soar to an astonishing $1.2 trillion, setting a historical record. He became the world's first 'trillionaire' in the previous trading day. This wealth phenomenon is primarily attributed to the strong performance of his two flagship companies. Recent market data shows that SpaceX (SPCX) has reached a total valuation of $2.28 trillion (approximately $2.28 trillion), surging 8% in a single day, officially surpassing semiconductor giant TSMC (TSM), which has a market value of $2.26 trillion, and entering the top tier of U.S. stock market valuations, ranking sixth. Currently, the top three in the U.S. stock market by total market value are Nvidia ($5.05 trillion), Google, and Apple. SpaceX, with its absolute dominance in the commercial space and Starlink sectors, continues to see its valuation skyrocket, becoming the core pillar of Musk's trillion-dollar fortune.

  • Philadelphia Semiconductor Index Soars 4.7% in Early Trading

    On June 15, the Philadelphia Semiconductor Index opened high, rising by 4.7%. Nvidia's stock price increased by 2.67%, TSMC's stock price rose by 3.76%, Broadcom's stock price went up by 3.37%, Micron Technology's stock price surged by 9.31%, Advanced Micro Devices' stock price climbed by 6.61%, and ASML's stock price gained 1.47%.

  • SpaceX Raises Approximately $85.7 Billion in Initial Public Offering

    On June 15, SpaceX announced that underwriters have fully exercised their over-allotment option in the IPO, purchasing an additional 83.33 million shares. SpaceX has raised approximately $85.7 billion through the IPO.

  • Nasdaq Golden Dragon China Index Rises Over 1%

    On June 15, the Nasdaq Golden Dragon China Index rose over 1%. Canaan Inc. increased by 13.84%, EHang soared by 10.86%, Zai Lab gained 5.59%, Xunlei rose by 5.16%, and Kingsoft Cloud climbed by 5.31%.

  • Anthropic Sued by User for Allegedly Inflating Subscription Usage Limits

    On June 15, according to The Wall Street Journal, a consumer is seeking compensation from Anthropic for its highest-tier subscription plan and has accused the company of exaggerating the usage limits provided. The lawsuit claims that Anthropic misled consumers regarding the usage restrictions of its Max 5x and Max 20x subscription plans. The cheapest Pro subscription for individual users costs between $17 and $20 per month, while the Max 5x costs $100 per month and the Max 20x costs $200 per month. The lawsuit alleges that Anthropic advertised the Max 5x and Max 20x plans as having 5 times and 20 times the usage limits of the Pro plan, respectively, but the actual limits are difficult to determine and appear to be far below the advertised levels. The lawsuit seeks to qualify for a class action on behalf of users who purchased these packages since April of last year.

  • ETH Surpasses $1800

    Market data shows that ETH has surpassed $1800, currently priced at $1804.82, with a 24-hour increase of 8.2%. The market is experiencing significant fluctuations, so please ensure proper risk management.