ASBK (named after the authors' initials) is a recent blockchain protocol tackling data availability attacks against light nodes, employing two-dimensional Reed-Solomon codes to encode the list of transactions and a random sampling phase where adversaries are forced to reveal information. In its original formulation, only codes with rate $1/4$ are considered, and a theoretical analysis requiring computationally demanding formulas is provided. This makes ASBK difficult to optimize in situations of practical interest. In this paper, we introduce a much simpler model for such a protocol, which additionally supports the use of codes with arbitrary rate. This makes blockchains implementing ASBK much easier to design and optimize. Furthermore, disposing of a clearer view of the protocol, some general features and considerations can be derived (e.g., nodes behaviour in largely participated networks). As a concrete application of our analysis, we consider relevant blockchain parameters and find network settings that minimize the amount of data downloaded by light nodes. Our results show that the protocol benefits from the use of codes defined over large finite fields, with code rates that may be even significantly different from the originally proposed ones.
翻译:ASBK(以作者的首字母命名)是针对光节点进行数据提供攻击的最近一项链条协议(以作者的首字母命名),它使用二维Reed-Solomon编码来编码交易清单和随机抽样阶段,对手被迫披露信息。在最初的拟订中,只考虑费率为1/4美元的编码,并提供需要计算要求公式的理论分析。这使得ASBK在实际感兴趣的情况下难以优化。在本文中,我们为这种协议引入了一个简单得多的模式,进一步支持使用任意率的代码。这使得实施ASBK的链条更容易设计和优化。此外,处理对协议的更清楚的视角,可以得出一些一般性特征和考虑(例如,大部分参与的网络中的节点行为),作为我们分析的具体应用,我们考虑到相关的链条参数和网络设置,以最大限度地减少光节点下载的数据数量。我们的结果显示,协议从使用大型有限域界定的代码中受益,代码率可能与最初提出的代码相差甚远。