Quantifying Liveness and Safety of Avalanche's Snowball

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Kniep, Quentin, Laval, Maxime, Sliwinski, Jakub, Wattenhofer, Roger
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912013664387072
author Kniep, Quentin
Laval, Maxime
Sliwinski, Jakub
Wattenhofer, Roger
author_facet Kniep, Quentin
Laval, Maxime
Sliwinski, Jakub
Wattenhofer, Roger
contents This work examines the resilience properties of the Snowball and Avalanche protocols that underlie the popular Avalanche blockchain. We experimentally quantify the resilience of Snowball using a simulation implemented in Rust, where the adversary strategically rebalances the network to delay termination. We show that in a network of $n$ nodes of equal stake, the adversary is able to break liveness when controlling $Ω(\sqrt{n})$ nodes. Specifically, for $n = 2000$, a simple adversary controlling $5.2\%$ of stake can successfully attack liveness. When the adversary is given additional information about the state of the network (without any communication or other advantages), the stake needed for a successful attack is as little as $2.8\%$. We show that the adversary can break safety in time exponentially dependent on their stake, and inversely linearly related to the size of the network, e.g. in 265 rounds in expectation when the adversary controls $25\%$ of a network of 3000. We conclude that Snowball and Avalanche are akin to Byzantine reliable broadcast protocols as opposed to consensus.
format Preprint
id arxiv_https___arxiv_org_abs_2409_02217
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Quantifying Liveness and Safety of Avalanche's Snowball
Kniep, Quentin
Laval, Maxime
Sliwinski, Jakub
Wattenhofer, Roger
Distributed, Parallel, and Cluster Computing
This work examines the resilience properties of the Snowball and Avalanche protocols that underlie the popular Avalanche blockchain. We experimentally quantify the resilience of Snowball using a simulation implemented in Rust, where the adversary strategically rebalances the network to delay termination. We show that in a network of $n$ nodes of equal stake, the adversary is able to break liveness when controlling $Ω(\sqrt{n})$ nodes. Specifically, for $n = 2000$, a simple adversary controlling $5.2\%$ of stake can successfully attack liveness. When the adversary is given additional information about the state of the network (without any communication or other advantages), the stake needed for a successful attack is as little as $2.8\%$. We show that the adversary can break safety in time exponentially dependent on their stake, and inversely linearly related to the size of the network, e.g. in 265 rounds in expectation when the adversary controls $25\%$ of a network of 3000. We conclude that Snowball and Avalanche are akin to Byzantine reliable broadcast protocols as opposed to consensus.
title Quantifying Liveness and Safety of Avalanche's Snowball
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2409.02217