Skip to main content
QUICK REVIEW

[Paper Review] Revisiting hBFT: Speculative Byzantine Fault Tolerance with Minimum Cost

Nibesh Shrestha, Mohan Kumar|arXiv (Cornell University)|Feb 25, 2019
Distributed systems and fault toleranceComputer Science5 references5 citations
TL;DR

This paper identifies a critical safety violation in hBFT, a Byzantine fault-tolerant consensus protocol claiming to achieve two-step consensus with only 3f + 1 replicas. The authors demonstrate via a formal scenario that a single Byzantine primary can cause conflicting commitments by equivocating PREPARE messages, violating the 5f + 1 replica lower bound established by FaB Paxos and undermining consensus safety.

ABSTRACT

FaB Paxos sets a lower bound of 5f + 1 replicas for any two-step consensus protocols tolerating f byzantine failures. Yet, hBFT promises a two-step consensus protocol with only 3f + 1 replicas. As a result, it violates safety property of a consensus protocol. In this note, we review the lower bound set by FaB Paxos and present a simple execution scenario that produces a safety violation in hBFT. To demonstrate the scenario, we require a relatively simple setup with only 4 replicas and one view-change.

Motivation & Objective

  • To analyze the safety guarantees of hBFT, a two-step Byzantine fault-tolerant consensus protocol claiming 3f+1 replica efficiency.
  • To challenge the claim that two-step consensus is possible with only 3f+1 replicas under Byzantine faults.
  • To demonstrate a concrete execution scenario where hBFT violates consensus safety due to a Byzantine primary.
  • To show that hBFT's view-change protocol fails to preserve committed values when replicas send conflicting values and no commit certificate exists.
  • To reinforce the theoretical lower bound of 5f + 1 replicas for two-step Byzantine consensus protocols.

Proposed method

  • Constructs a minimal 4-replica system with one Byzantine primary (f=1) to test hBFT's safety.
  • Designs a two-view execution: View 1 with equivocating primary i1 sending conflicting PREPAREs for values a and b.
  • In View 1, replicas i2 and i3 commit value a after receiving 2f+1 (3) COMMIT messages; i4 commits value b.
  • Triggers view-change in View 2, where primary i2 collects 2f+1 (3) VIEW-CHANGE messages: i2 (value a), i4 (value b), i1 (equivocating b).
  • Uses hBFT’s view-change logic: selects value b due to f+1 (2) votes for b and no commit certificate.
  • Shows that in View 2, all correct replicas (i2, i3, i4) commit value b, contradicting the earlier commitment of value a.

Experimental results

Research questions

  • RQ1Can hBFT safely achieve two-step consensus with only 3f + 1 replicas under Byzantine faults?
  • RQ2Does hBFT’s view-change protocol correctly preserve previously committed values when no commit certificate exists?
  • RQ3What is the impact of a Byzantine primary equivocating PREPARE messages on consensus safety?
  • RQ4Does hBFT violate the theoretical lower bound of 5f + 1 replicas established by FaB Paxos for two-step Byzantine consensus?
  • RQ5Can a safety violation be demonstrated with only four replicas and a single view-change?

Key findings

  • A single Byzantine primary in hBFT can cause two different values (a and b) to be committed at the same sequence number due to message equivocation.
  • In a 4-replica system with f=1, hBFT’s view-change protocol selects value b based on f+1 votes (2 votes) despite value a being committed by 2f+1 replicas (3 replicas).
  • The absence of a commit certificate in the view-change messages allows the new primary to select a conflicting value, violating consensus safety.
  • hBFT fails to preserve the commitment of value a, which was already accepted by 3 correct replicas (i2, i3, and i1), leading to a safety violation.
  • The protocol violates the 5f + 1 replica lower bound established by FaB Paxos, proving that two-step consensus with 3f + 1 replicas is unsafe under Byzantine faults.
  • The safety violation occurs not during normal execution but during view-change, due to incorrect value selection based on vote counts without certificate validation.

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.