Crypto Education - Federated Byzantine Agreement Explained | Animation | Cryptomatics - YouTube

Channel: Cryptomatics

[0]
Hello and welcome to a new Cryptomatics episode!
[3]
In this video, we will explain what the Federated聽 Byzantine Agreement is and how it works.
[8]
We will also briefly cover its pros and cons.
[11]
If you are interested in being the first聽 to find out when we publish a new video,聽聽
[15]
don鈥檛 forget to subscribe聽 and turn on notifications.
[18]
For the latest news and聽 reviews of the crypto space,聽聽
[20]
you can also find us on our other聽 YouTube channel, CryptoRobin.
[24]
Understanding Byzantine Agreement
[27]
To understand the Federated Byzantine Agreement聽聽
[30]
(FBA), we must first take a look聽 at Byzantine Fault Tolerance (BFT).
[35]
Fault Tolerance is the feature that allows聽 a system to continue to function correctly聽聽
[40]
in the event of one or more failures聽 occurring, within some of its components.
[44]
The quality of the way the system聽 operates may not decrease at all,聽聽
[48]
or the decrease may be proportional聽 to the severity of the failure.
[52]
In comparison, in a system聽 designed without this feature,聽聽
[55]
even a minor failure can cause a total collapse.
[58]
When it comes to Blockchain, this聽 refers to a network鈥檚 ability to聽聽
[62]
protect itself from failures聽 that derive from the Byzantine聽聽
[65]
General鈥檚 problem and make it more聽 challenging to achieve a consensus.
[69]
For example, such failures聽 could be network congestion聽聽
[72]
or disconnection, malicious attacks,聽 or incorrect request processing.
[76]
A Byzantine Fault Tolerant system is聽 able to continue operating even if some聽聽
[81]
of the nodes fail to communicate聽 or engage in malicious behavior.
[85]
There are several ways to build聽 a Byzantine-tolerant blockchain,聽聽
[88]
and they are related to the different聽 types of consensus algorithms,聽聽
[92]
that is, the mechanisms through聽 which a blockchain reaches consensus.
[96]
For example, Bitcoin鈥檚 solution聽 for Byzantine fault tolerance聽聽
[99]
includes atomic broadcasting聽 and public-key cryptography.
[103]
Many blockchains have聽 implemented some sort of BFT.聽聽
[106]
The traditional Byzantine聽 agreement is a good example.
[109]
In this case, the agreement is reached聽 when a certain minimum number of nodes,聽聽
[114]
known as a quorum, agree on the聽 solution to a given problem.
[117]
While such a consensus is fast and efficient,聽 it sacrifices decentralization to achieve聽聽
[123]
these characteristics as membership in Byzantine聽 agreement systems is set by a central authority.
[129]
Here is where the Federated聽 Byzantine Agreement (FBA) comes in,聽聽
[132]
which is a decentralized alternative to BFT.
[135]
So let鈥檚 dive deeper into what FBA entails.
[139]
What Is FBA and How Does It Work?
[142]
In a BFT system, there must be a聽 list of recommended validators,聽聽
[146]
which is defined by a central authority,聽 typically the company behind the protocol.
[150]
Even if anyone can spin up a validator,聽聽
[153]
only those the authority adds to that聽 list can participate in consensus.
[157]
So, such a system features a聽 centralized, closed membership.
[161]
In FBA, there is no such list聽 chosen by a central authority.
[166]
Instead, the nodes (validators) choose聽 the other validators they trust,聽聽
[171]
and their list of trusted nodes聽 is known as their quorum slice.
[174]
In a system of this type, several quorum聽 slices will overlap and thus form a quorum,聽聽
[180]
which is the number of nodes required聽 to reach an agreement within the system.
[184]
The system-wide agreement聽 is reached when overlapping聽聽
[187]
quorum slices communicate the transactions.
[189]
Without a central authority to decide聽 on the recommended validator list,聽聽
[194]
FBA creates an open membership network.
[196]
This means anyone can run a validator and聽 participate in the network鈥檚 consensus聽聽
[201]
as long as any other participating聽 validator adds them to their quorum slice.
[206]
This further allows for decentralization聽 as more and more nodes can be added to聽聽
[210]
the network, promoting organic network growth.
[213]
The Ripple blockchain pioneered the FBA consensus聽 mechanism, but the Stellar blockchain refined it聽聽
[219]
and successfully implemented聽 the first safe and secure FBA.
[222]
Pros and Cons of FBA
[225]
Some of the advantages of聽 FBA include the following:
[229]
FBA ensures an open membership.
[231]
Since there is no central authority,聽聽
[233]
individual nodes choose the validators they聽 trust, and they can have several quorum slices. 聽
[238]
Anyone can join and leave at any time,聽 so there is a low barrier to entry.
[243]
Robustness in the face of failure聽 - even if a node goes down,聽聽
[247]
the rest of the system will keep聽 operating and will stay intact.
[250]
Low latency as transactions can聽 be closed in just a few seconds,聽聽
[254]
which leads to high throughput聽 and network scalability.
[257]
However, a disadvantage is that聽 trust among participants is required.
[262]
Then, some experts consider that quorum聽 slices can actually lead to centralization,聽聽
[266]
which is the opposite of what聽 an FBA system tries to achieve.
[270]
Conclusions
[271]
To sum up, the Federated Byzantine Agreement聽聽
[274]
is a decentralized alternative to聽 the traditional Byzantine agreement.
[278]
An FBA ledger can be accurate as well as聽 up-to-date even if not all nodes agree.
[283]
The quorum formed from the choices of聽聽
[285]
each node is the one that convinces聽 the entire system of agreement.
[289]
Given that there is no central authority,聽 anyone is free to join the network.
[293]
Examples of well-known cryptocurrencies聽 that use the FBA include Stellar and Ripple.
[298]
I hope you enjoyed today鈥檚 video, and if聽 you have other questions about Federated聽聽
[302]
Byzantine Agreement, don't hesitate聽 to tell us in the comment section.
[306]
So much for today, don't forget to聽 subscribe to the Cryptomatics channel,聽聽
[310]
if you want to stay up to date with the聽 latest concepts in the crypto sector.