Skip to main content
QUICK REVIEW

[Paper Review] YAC: BFT Consensus Algorithm for Blockchain

Fedor Muratov, Andrei Lebedev|arXiv (Cornell University)|Sep 3, 2018
Distributed systems and fault toleranceComputer Science19 references19 citations
TL;DR

YAC is a novel Byzantine fault-tolerant (BFT) consensus algorithm designed for blockchain systems that improves scalability and efficiency over classical BFT protocols like PBFT by using a modular, voting-based approach on block proposals. It ensures safety and liveness with up to f faulty peers in a 3f+1 peer network and achieves high throughput and low latency in experiments scaling to 64 peers when vote step delay is tuned per network size.

ABSTRACT

Consensus in decentralized systems that asynchronously receive events and which are subject to Byzantine faults is a common problem with many real-life applications. Advances in decentralized systems, such as distributed ledger (i.e., blockchain) technology, has only increased the importance of finding performant and secure solutions to consensus of state machine replication in decentralized systems. YAC is a practical decentralized consensus algorithm, that solves the problems of inefficient message passing and strong leaders that occur in classical Byzantine fault tolerant consensus algorithms. The algorithm is open source and currently is used to provide Byzantine fault tolerant consensus for the Hyperledger Iroha blockchain project. We provide proofs of safety and liveness, as well as empirical results showing that our algorithm can scale to dozens of validating peers.

Motivation & Objective

  • To address the inefficiencies in message passing and strong leader dependency found in classical BFT consensus algorithms like PBFT.
  • To design a practical, modular BFT consensus algorithm suitable for blockchain systems with censorship and political resistance.
  • To provide formal proofs of safety and liveness under Byzantine fault assumptions.
  • To empirically evaluate scalability and performance in a real-world deployment using Hyperledger Iroha.
  • To identify optimal vote step delay configurations that balance throughput and consensus stability across varying network sizes.

Proposed method

  • YAC uses a voting mechanism on block proposals, where peers vote to commit a proposal after receiving a sufficient number of matching votes.
  • The algorithm operates in a modular architecture with distinct phases: proposal, vote, and commit, ensuring deterministic finality.
  • It employs a configurable vote step delay to allow peers time to receive and validate proposals before voting, reducing network inconsistency.
  • The system guarantees safety if fewer than f peers are faulty and liveness if the network remains connected and peers follow the protocol.
  • Consensus is reached when a peer receives 2f+1 matching votes for a proposal, ensuring agreement across honest peers.
  • The implementation is open source and integrated into Hyperledger Iroha, using Docker and PostgreSQL for state persistence.

Experimental results

Research questions

  • RQ1Can a BFT consensus algorithm be designed to reduce message overhead and eliminate strong leader dependency in blockchain systems?
  • RQ2How does vote step delay affect consensus stability and system throughput in geographically distributed peer networks?
  • RQ3What is the optimal vote step delay configuration for different network sizes to maximize throughput while maintaining consensus?
  • RQ4To what extent can YAC scale to dozens of validating peers while maintaining safety and liveness?
  • RQ5How does YAC compare to PBFT and Zyzzyva in terms of latency, throughput, and fault tolerance in real-world deployments?

Key findings

  • For 4-node networks, a 1ms vote step delay achieved the highest median throughput, but with minimal fault tolerance due to timing constraints.
  • For 16-node networks, a 1ms delay still provided optimal throughput, but consensus stability decreased slightly with higher peer count.
  • At 28 and 64 peers, a 20ms vote step delay was found to be optimal, reducing peer faults from 15 to 3 and 10 to 3 respectively, compared to 1ms.
  • A 500ms delay eliminated all peer faults across all network sizes, but throughput degraded significantly.
  • The algorithm achieved stable consensus and high throughput across 64 peers when the vote step delay was tuned to 20ms, demonstrating scalability.
  • Empirical results show that YAC can scale to dozens of validating peers with low latency and high throughput when delay parameters are properly configured.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.