Quentin Kniep, Maxime Laval, Jakub Sliwinski, Roger Wattenhofer
{"title":"Quantifying Liveness and Safety of Avalanche's Snowball","authors":"Quentin Kniep, Maxime Laval, Jakub Sliwinski, Roger Wattenhofer","doi":"arxiv-2409.02217","DOIUrl":null,"url":null,"abstract":"This work examines the resilience properties of the Snowball and Avalanche\nprotocols that underlie the popular Avalanche blockchain. We experimentally\nquantify the resilience of Snowball using a simulation implemented in Rust,\nwhere 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\nto break liveness when controlling $\\Omega(\\sqrt{n})$ nodes. Specifically, for\n$n = 2000$, a simple adversary controlling $5.2\\%$ of stake can successfully\nattack liveness. When the adversary is given additional information about the\nstate of the network (without any communication or other advantages), the stake\nneeded for a successful attack is as little as $2.8\\%$. We show that the\nadversary can break safety in time exponentially dependent on their stake, and\ninversely linearly related to the size of the network, e.g. in 265 rounds in\nexpectation when the adversary controls $25\\%$ of a network of 3000. We conclude that Snowball and Avalanche are akin to Byzantine reliable\nbroadcast protocols as opposed to consensus.","PeriodicalId":501422,"journal":{"name":"arXiv - CS - Distributed, Parallel, and Cluster Computing","volume":"25 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Distributed, Parallel, and Cluster Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.02217","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
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 $\Omega(\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.