Facebook releases new version of LibraBFT protocol to reduce network complexity

The LibraBFT protocol is at the heart of the Facebook Libra blockchain and is responsible for ensuring secure state machine replication.

Today, its development team Calibra has released an important update to the LibraBFT core protocol.

It is reported that the new version of the LibraBFT v2 protocol includes optimizations designed to reduce network connectivity and improve the commit latency of the Libra blockchain.

In addition, Calibra also provides Rust simulator code for reference, which can be found in the Github repository of the Calibra research team.

Reduce network complexity in practice

LibraBFT is an improved version of the HotStuff protocol that clarifies the mechanisms used to implement round synchronization between nodes. Informally, during a round of voting, a particular leader will be trusted to drive progress (usually by proposing a block (B), collecting votes (V), and broadcasting a quorum certificate ( C)) (see picture below). The purpose of loop synchronization is to have the node finally execute the same loop with a sufficiently long overlap so that the leader of the loop can succeed.

libraBFT2 (1)

In an optimistic situation, the LibraBFT v2 protocol reduces the overhead of loop synchronization to one message per node per round (see the green arrow in the figure).

The "v1" version of LibraBFT relies on the probabilistic gossip protocol to ensure uniform dissemination of the arbitration certificate (C). This unified communication requires loop synchronization and ensures that the system's liveness is maintained in the presence of malicious leaders.

While the probabilistic gossip protocol is a popular technique for many applications, it typically requires a non-linear number of messages and an increase in latency due to intermediate hops. From an engineering perspective, network overhead and the probabilities of gossiping can also complicate debugging.

In contrast, the LibraBFT v2 protocol implements loop synchronization in different ways without probabilistic gossip. First, the new protocol introduces a new type of fault protection mechanism that periodically pulls out lost data without progress. Second, LibraBFTv2 simplifies the constraints of block proposals. The new constraint ensures that an honest leader always proposes a block and forces loop synchronization immediately after the first honest node enters its loop.

The activity of LibraBFT v2 proves that the new protocol can still perform satisfactorily in a Byzantine (worst case) scenario, and in the best case, the number of messages will be linear.

For a complete technical paper on LibraBFT v2, readers can visit here: https://developers.libra.org/docs/assets/papers/libra-consensus-state-machine-replication-in-the-libra-blockchain.pdf

We will continue to update Blocking; if you have any questions or suggestions, please contact us!

Share:

Was this article helpful?

93 out of 132 found this helpful

Discover more

Market

BlackRock and VanEck have submitted revised S-1 forms for a bitcoin ETF to address the SEC's recent comments.

The applicants have promptly addressed the SEC's comments on their S-1 forms in order to prepare for a potential appr...

Market

The Future of Swiss Banking: St. Galler Kantonalbank and SEBA Bank Join Forces in the Crypto Universe

St. Galler Kantonalbank (SGKB), Switzerland's fifth-largest cantonal bank, has entered the digital assets market thro...

Web3

Ninety Eight Unveils Arche Fund: Giving Back to the Web3 Community in Style!

Exciting news for fashion lovers Coin98 Finance is now Ninety Eight ($C98) Arche Fund and is offering a whopping $25 ...

Market

The Philippines Unveils Plans for Wholesale CBDC, Taking a Different Path

The Philippines is embarking on a unique CBDC journey that distinguishes it from other countries, offering new opport...

Market

The Possibility of XRP and Ethereum ETFs: Insights from Valkyrie Executive

The likelihood of an ETH or XRP spot ETF being approved is significantly higher, especially considering the potential...

Market

Breaking News: Aurory Hack Rocks Solana-based Gaming Ecosystem!

Fashionista, you may be interested to know that Aurory, a fashion-forward gaming platform on Solana, has experienced ...