What is Ouroboros? Cardano’s consensus mechanism

What is Ouroboros? Cardano’s consensus mechanism

What is Cardano's Ouroboros?

Ouroboros is the consensus mechanism used by the blockchain of Cardano to validate transactions and add new blocks to the blockchain. Within the blockchain, Ouroboros determines which participants receive the right to produce a new block and how participants in the network agree on the validity of transactions and the latest state of the distributed ledger.

Ouroboros functions as a Proof-of-Stake (PoS) mechanism, but aims to distinguish itself with a system based on academic research with formally proven mathematical security properties.

The mechanism was developed under the leadership of Charles Hoskinson together with his team of cryptographers and computer scientists, as well as researchers from institutions such as the University of Edinburgh and IOHK (Input Output Hong Kong). What makes Ouroboros unique is that it was one of the first Proof-of-Stake protocols whose security was peer reviewed in academic publications.


Key Takeaways

  • Ouroboros is the consensus mechanism of the Cardano blockchain and determines how transactions are validated and how new blocks are added to the blockchain.
  • The protocol works with a time structure of epochs and slots, where for each slot it is determined which participant receives the right to produce a new block.
  • Instead of energy intensive mining, as used in Proof of Work, blocks are produced by participants who have staked ADA or delegated their ADA to staking pools.
  • Ouroboros was developed based on academic research and is among the first Proof-of-Stake protocols whose security has been mathematically studied and peer reviewed.

What does Ouroboros mean?

The name Ouroboros sounds quite complicated. Just hearing the name might make you wonder: why would you choose such a difficult name? However, Charles Hoskinson (the founder of Cardano) and his team did not choose it randomly. The name Ouroboros is an ancient symbol of a snake or dragon biting its own tail and forming a circle. This symbolizes infinity, cyclicity, and continuous renewal. Because the creature constantly consumes and recreates itself, it is often interpreted as a representation of the eternal cycle of life, death, and rebirth.

The symbol appears in several ancient cultures, including Egyptian, Greek, and alchemical traditions.

In the context of blockchains, this symbolism aligns well with the idea of a system that continuously produces new blocks and constantly renews itself. The blockchain continuously grows as new blocks are added, while the network maintains itself through consensus mechanisms.

With this context, it is not surprising that the name is given to the consensus mechanism of a blockchain. That is exactly why Cardano chose the name Ouroboros.

The idea behind Ouroboros

The developers of Ouroboros and Cardano wanted to build a blockchain that is secure, scalable, and energy efficient and perhaps most importantly a consensus mechanism that is mathematically proven to be secure. With Ouroboros, they attempted to develop an alternative to energy intensive blockchains such as Bitcoin and Litecoin, which use Proof of Work (PoW).

These blockchains rely on miners who use large amounts of computational power to validate transactions and add new blocks. This model is secure but consumes a significant amount of energy.

Ouroboros attempts to achieve the same level of security without this energy intensive competition. Instead, the protocol uses economic participation in the network as the basis for consensus. The probability that a participant may produce a new block depends on the amount of ADA they stake. This is known as staking.

The model is scientifically supported. Researchers have created mathematical proofs demonstrating that the network remains secure as long as a majority of the stake behaves honestly.

Ouroboros works as a consensus mechanism that uses so called epochs and slots. The system uses a fixed time structure to determine who may add a block to the blockchain. Instead of miners competing with computational power as in Proof of Work, Ouroboros selects participants who may produce blocks based on the amount of ADA that has been staked.

An epoch is a longer period within the network. Such an epoch consists of a large number of slots. A slot is a short time window during which, in principle, one block can be produced.

Within an epoch, new blocks are distributed across slots. Within such a slot it is determined who may validate and add the new block containing transactions to the distributed ledger.

Ouroboros looks at the share of a staking pool. The larger the share of staked ADA within a staking pool, the greater the chance that the pool receives the right to produce a block in a specific slot. As a result, block production is tied to economic interest in the network rather than computational power.

Because the block producer is chosen based on staked ADA, many staking pools have been created in practice. A staking pool manages the technical infrastructure required to process transactions and produce new blocks. Users can delegate ADA to such a pool, which increases the probability that blocks can be produced using their staked ADA tokens. The delegated ADA remains the property of the user but counts toward the total stake of that pool. The more stake a pool represents, the greater the chance that the pool will be selected as the producer in multiple slots.

When a staking pool is selected for a specific slot, that pool may create a new block within that time window. This block contains valid transactions that have not yet been added to the blockchain. The pool then broadcasts the block to the rest of the network. Other nodes subsequently verify whether the block is valid. For example, they check whether the transactions are correct, whether no double spending (double spending) occurs, and whether the block was produced according to the protocol rules. If the new block is valid, they add it to their own version of the blockchain.

An important aspect of Ouroboros is that the security of the network depends on an honest majority of the stake. As long as the majority of the staked ADA is controlled by honest participants, the network remains reliable and it becomes extremely difficult for malicious actors to manipulate the blockchain. This is a fundamental difference from Proof of Work, where security mainly depends on the majority of computational power.

What is the difference between Ouroboros and traditional Proof of Stake?

Ouroboros is a form of Proof of Stake (PoS), but it differs in several ways from other PoS models, such as the one used by Ethereum.

One key difference is that Ouroboros was developed based on scientific research. The protocol was designed by researchers and later reviewed by other scientists. Many older Proof-of-Stake systems were primarily built by developers without extensive academic research into their security beforehand.

In addition, Ouroboros uniquely introduced a clear time structure with epochs and slots, which makes block production more predictable and organized. In some traditional PoS systems, block production is assigned in a less structured way, for example through a random selection of validators based on their stake. These validators then receive the opportunity to produce a block when the protocol selects them.

Another difference is the use of stake pools. Ouroboros encourages decentralization through staking pools, allowing users to delegate their ADA without having to run a node themselves.

Updates of Ouroboros

Since the development of Ouroboros and Cardano, Ouroboros has been improved several times. Each update has contributed to better security, scalability, and stability. Below are the most important updates.

Ouroboros Classic

Ouroboros Classic is the original version of the protocol and was presented in 2017 in an academic publication. It was one of the first Proof-of-Stake systems whose security was mathematically proven. This version formed the basis of the original Cardano network.

The protocol introduced the concept of epochs and slots and uses the amount of staked ADA to determine which node may produce a block.

Ouroboros BFT

Ouroboros BFT (Byzantine Fault Tolerance) was a temporary upgrade used during the transition from the first Cardano version to a fully decentralized network.

This version made it possible to safely transition between different protocols without restarting the blockchain or losing its history. It was mainly used during the Byron and Shelley phases of Cardano.

Ouroboros Praos

Ouroboros Praos is the version of the protocol that currently forms the foundation of the Cardano network. This upgrade primarily improved security and the way block producers are selected.

Praos also made it more difficult for attackers to know in advance which node will produce a block, because the selection of a slot remains partially secret. The randomness in the selection process was also improved, which helps protect the network against manipulation.

Ouroboros Genesis

Ouroboros Genesis is a further improvement of Praos and focuses mainly on nodes that are new to the network or reconnect after a long period of time.

Normally, a new node must synchronize the entire blockchain. Genesis introduces mechanisms that prevent such a node from being misled by a malicious party attempting to present an alternative, false blockchain (a so called long range attack). This makes it safer for new nodes to join the network.

Advantages of Ouroboros

Ouroboros has several advantages:

  • Low energy consumption
    Ouroboros uses Proof of Stake instead of energy intensive mining. As a result, the network consumes far less electricity than blockchains that use Proof of Work.
  • High level of decentralization
    Users can delegate their ADA to different staking pools, which strengthens the decentralization of the network. This allows many participants to contribute to the network without having to run a node themselves.
  • Scientifically supported design
    The protocol was developed based on academic research and reviewed by scientists. This helps improve the security and reliability of the network.
  • Scalability
    By using epochs and slots, block production can be organized efficiently.

Disadvantages of Ouroboros

In addition to its advantages, Ouroboros also has disadvantages and risks:

  • Complexity of the protocol
    Ouroboros is technically quite complex and based on advanced cryptography. This can make it more difficult to fully understand the system.
  • Risk of centralization
    If large staking pools receive many delegations, a relatively small number of pools could produce a large portion of new blocks, which may put pressure on decentralization.
  • Dependence on economic incentives
    The system works best when participants behave honestly because they have a financial interest in the network. If large amounts of stake are controlled by malicious actors, this may introduce risks.
  • Slower development
    Because Cardano strongly focuses on academic research and peer review, new features may sometimes be introduced more slowly than in some other blockchain projects.

Final thoughts

Ouroboros is the consensus mechanism that forms the foundation of the Cardano blockchain and determines how transactions are validated and new blocks are added. Unlike energy intensive systems such as Proof of Work, Ouroboros uses Proof of Stake, where participants have the opportunity to produce blocks based on the amount of ADA they have staked. By using epochs and slots, the network can organize block production in a structured and efficient way.

What distinguishes Ouroboros from many other consensus mechanisms is its strong focus on academic research and formal security proofs. The protocol was designed by researchers and published in peer reviewed studies, meaning the security of the system is mathematically supported. In addition, staking pools make it possible for users to easily participate in the network without having to manage a node themselves.

At the same time, Ouroboros also comes with challenges. The technical complexity of the protocol can make it harder to fully understand the system, and a strong concentration of stake in large staking pools may put pressure on decentralization. Despite these considerations, Ouroboros is widely seen as an important example of how scientific research and blockchain technology can be combined to develop a secure and energy efficient consensus mechanism.

About Finst

Finst is a leading cryptocurrency platform in the Netherlands, providing ultra-low trading fees, institutional-grade security, and a comprehensive suite of crypto services such as trading, custody, staking, and fiat on/off-ramp. Finst, founded by DEGIRO's ex-core team, is authorized as a crypto-asset service provider under MiCAR by the Dutch Authority for Financial Markets (AFM) and serves both retail and institutional clients in 30 European countries.

The crypto platform you'll love

We are here to give you the tools, inspiration, and support you need to become a better investor.

Sign up