Lifefin: Escaping Mempool Explosions in DAG-based BFT
Jianting Zhang, Sen Yang, Alberto Sonnino, Sebastián Loza, Aniket Kate
TL;DR
This paper identifies a practical liveness vulnerability in DAG-based BFT protocols: mempool explosions under bounded-resource constraints can stall progress during asynchrony. It introduces Lifefin, a generic self-stabilizing fallback that leverages a bounded Agreement on Common Subset (ACS) plus Proof-of-STuck (PoST) blocks to commit a bounded set of backlog vertices, ensuring progress with minimal overhead in normal operation. The solution is instantiated on two representative DAG-based protocols, Sailfish and Mysticeti, yielding Sailfish-Lifefin and Mysticeti-Lifefin, and is validated through extensive evaluation showing comparable throughput and bounded latency increases under attacks. The work offers a practical, broadly applicable safeguard for high-throughput DAG-based BFT systems operating under realistic bounded-resource conditions, significantly improving resilience to inflation-style attacks.
Abstract
Directed Acyclic Graph (DAG)-based Byzantine Fault-Tolerant (BFT) protocols have emerged as promising solutions for high-throughput blockchains. By decoupling data dissemination from transaction ordering and constructing a well-connected DAG in the mempool, these protocols enable zero-message ordering and implicit view changes. However, we identify a fundamental liveness vulnerability: an adversary can trigger mempool explosions to prevent transaction commitment, ultimately compromising the protocol's liveness. In response, this work presents Lifefin, a generic and self-stabilizing protocol designed to integrate seamlessly with existing DAG-based BFT protocols and circumvent such vulnerabilities. Lifefin leverages the Agreement on Common Subset (ACS) mechanism, allowing nodes to escape mempool explosions by committing transactions with bounded resource usage even in adverse conditions. As a result, Lifefin imposes (almost) zero overhead in typical cases while effectively eliminating liveness vulnerabilities. To demonstrate the effectiveness of Lifefin, we integrate it into two state-of-the-art DAG-based BFT protocols, Sailfish and Mysticeti, resulting in two enhanced variants: Sailfish-Lifefin and Mysticeti-Lifefin. We implement these variants and compare them with the original Sailfish and Mysticeti systems. Our evaluation demonstrates that Lifefin achieves comparable transaction throughput while introducing only minimal additional latency to resist similar attacks.
