Ebb-and-Flow Protocols: A Resolution of the Availability-Finality Dilemma

by   Joachim Neu, et al.

The CAP theorem says that no blockchain can be live under dynamic participation and safe under temporary network partitions. To resolve this availability-finality dilemma, we formulate a new class of flexible consensus protocols, ebb-and-flow protocols, which support a full dynamically available ledger in conjunction with a finalized prefix ledger. The finalized ledger falls behind the full ledger when the network partitions but catches up when the network heals. Gasper, the current candidate protocol for Ethereum 2.0's beacon chain, combines the finality gadget Casper FFG with the LMD GHOST fork choice rule and aims to achieve this property. However, we discovered an attack in the standard synchronous network model, highlighting a general difficulty with existing finality-gadget-based designs. We present a construction of provably secure ebb-and-flow protocols with optimal resilience. Nodes run an off-the-shelf dynamically available protocol, take snapshots of the growing available ledger, and input them into a separate off-the-shelf BFT protocol to finalize a prefix. We explore connections with flexible BFT and improve upon the state-of-the-art for that problem.


page 1

page 2

page 3

page 4


Snap-and-Chat Protocols: System Aspects

The availability-finality dilemma says that blockchain protocols cannot ...

On decentralized oracles for data availability

Nakamoto consensus, the protocol underlying Bitcoin, has the potential t...

The Availability-Accountability Dilemma and its Resolution via Accountability Gadgets

Byzantine fault tolerant (BFT) consensus protocols are traditionally dev...

TaiJi: Longest Chain Availability with BFT Fast Confirmation

Most state machine replication protocols are either based on the 40-year...

Deterministic Blockchain BFT Protocol XP for Complete Asynchronous Networks

Ethereum Research team has proposed a family of Casper blockchain consen...

Highway: Efficient Consensus with Flexible Finality

There has been recently a lot of progress in designing efficient partial...