Probabilistic vs deterministic blockchain consensus in finance
The Monetary Authority of Singapore has recently launched a report titled
" Project Guardian - Enabling Open and Interoperable Networks"
In it, and rightly so, the authors speak about probabilistic vs deterministic consensus. So I thought time for another explainer post, created with a little LLM help:
Probabilistic
In the world around us, many things are uncertain and unpredictable. Probabilistic refers to situations or events that involve uncertainty and can be described using probabilities. A probability is a way of measuring how likely something is to happen. It's like a way of predicting the chances of something occurring.
Let's take an example to understand it better. Imagine you have a bag of different coloured marbles—red, blue, and green. Suppose you close your eyes and pick a marble without looking. In that case, the probability of getting a red marble depends on the number of red marbles in the bag compared to the total number of marbles. If there are five red marbles out of 15, the probability of picking a red marble is 5/15.
In a probabilistic situation, we use probabilities to describe the chances of different outcomes happening. It helps us understand the likelihood of events occurring based on our information. However, it's important to remember that probabilities do not guarantee what will happen. They are just estimates based on the available information.
Probabilistic thinking is widely used in various fields like science, statistics, economics, and everyday life. It helps us make predictions, analyze risks, and make informed decisions. By understanding probabilities, we can assess the likelihood of different outcomes and make better choices.
Deterministic
Some things are predictable and follow a clear cause-and-effect pattern. Deterministic refers to situations or events that are entirely predictable and can be explained by known rules or laws. It means that we can accurately determine the outcome if we know the starting conditions and the rules governing the system.
Let's take a simple example to understand it better. Imagine you have a ball and roll it down a straight track. If you know the angle at which the track is tilted and the ball's initial speed, you can accurately predict where the ball will end up. The laws of physics determine the ball's path, and the outcome is certain.
In a deterministic situation, there is no randomness or uncertainty involved. Everything happens in a predictable and calculable manner. This concept is often used in fields like physics, engineering, and mathematics, where precise calculations and predictions are important. (for example, the settlement of financial / securities transactions?!)
However, it's important to note that not everything is deterministic. External factors or complex interactions can sometimes introduce unpredictability, and the outcome may no longer be entirely deterministic. For example, weather forecasting involves deterministic models based on known atmospheric physics and probabilistic models due to the inherent uncertainty of weather patterns.
Blockchain Consensus
When we discuss blockchains, consensus refers to the process of reaching an agreement among multiple participants or computers, called nodes, on the state of the blockchain. Since blockchains are decentralized systems, consensus is essential to ensure that all nodes have a duplicate copy of the blockchain and agree on the validity of transactions.
Imagine a group of friends playing a game together. They must agree on the rules and the game's outcome to make it fair. Consensus in blockchain works similarly. When a transaction is made on the blockchain, it needs to be validated and added to a block. However, instead of relying on a single person or authority to validate the transaction, blockchain achieves consensus by having multiple nodes verify and agree on its validity.
To reach a consensus, different consensus algorithms are used. They can include Proof of Work (PoW) or Proof of Stake (PoS).?
Consensus is crucial for maintaining the integrity and security of the blockchain. It ensures that no single entity can tamper with the data or control the system. Having multiple nodes agree on the state of the blockchain makes it a trustworthy and transparent record of transactions.
领英推荐
Probabilistic vs deterministic consensus
Probabilistic Consensus Algorithm:
Advantages of Probabilistic Consensus:
Disadvantages of Probabilistic Consensus:
Deterministic Consensus Algorithm:
Advantages of Deterministic Consensus:
Disadvantages of Deterministic Consensus:
Probabilistic consensus algorithms like Proof of Stake (PoS) use probabilistic mechanisms and economic incentives. In contrast, deterministic consensus algorithms like Tendermint rely on fixed rules and protocols to achieve agreement. Tendermint in the Cosmos network is an example of a deterministic consensus algorithm.
Finality in Finance
The concept of finality holds significance in various financial transactions and processes, ensuring certainty, security, and the completion of obligations. Here are a few instances where finality plays a crucial role in finance:
Finality is a crucial aspect of finance as it ensures the completion, security, and certainty of financial transactions. It underpins settlement processes, legal compliance, investor protection, and overall trust within financial systems. Finality in finance helps to minimize risks, establish clear rights and obligations, and enable the efficient functioning of financial markets.
Founder | Blockchain | Trading
1 年Nice post…. Deterministic finality is key to any financial transactions.
If finality is such an important aspect, why is there no real finality in the current financial system?
CTO | Exchange Architect | Derivatives | Digital Assets | Investor | Fixed-Income | DLT | FIX | Analyst | Developer | "get stuff done" | Strategy | Technology | Product
1 年Probabilistic settlement === nearly pregnant
Ali Pasha Foroughi
Public Policy @ TRM Labs | Blockchain Intelligence & Crypto Compliance | Former MAS Regulator | INSEAD MBA | Money20/20 RiseUp ‘24
1 年A great plain language explanation that was educational for me, Daniel LIEBAU ! I did have to google Sybil attack though. ??